<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Command Line on Work You Can Explain</title>
		<link>https://workyoucanexplain.com/tags/command-line/</link>
		<description>Recent content in Command Line on Work You Can Explain</description>
		<generator>Hugo</generator>
		<language>en-US</language>
		
		
		
			<copyright>Copyright © Work You Can Explain</copyright>
		
		
			<lastBuildDate>Thu, 30 Jul 2026 00:00:00 -0500</lastBuildDate>
		
			<atom:link href="https://workyoucanexplain.com/tags/command-line/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Install and Verify Xcode Command Line Tools</title>
				<link>https://workyoucanexplain.com/posts/install-and-verify-xcode-command-line-tools/</link>
				<pubDate>Thu, 30 Jul 2026 00:00:00 -0500</pubDate>
				<guid>https://workyoucanexplain.com/posts/install-and-verify-xcode-command-line-tools/</guid>
				<description>&lt;p&gt;Install the smallest Apple developer environment that satisfies the course. The&#xA;standalone Command Line Tools package is usually enough when a course needs&#xA;UNIX tools, Git, Clang, or a Homebrew prerequisite but does not require the&#xA;Xcode application, Apple-platform SDK workflows, simulators, or an Xcode&#xA;project. Verify what is active instead of treating a successful installer&#xA;dialog as the result.&lt;/p&gt;&#xA;&lt;p&gt;If you arrived here because Homebrew requested developer tools, preserve the&#xA;installer message and first review the &lt;a href=&#34;https://workyoucanexplain.com/posts/install-mac-apps-with-the-app-store-and-homebrew/&#34;&gt;App Store and Homebrew responsibility&#xA;boundary&lt;/a&gt;. This&#xA;article installs only Apple&amp;rsquo;s developer base; it does not install Homebrew.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Linux Terminal and Shell Fundamentals</title>
				<link>https://workyoucanexplain.com/posts/linux-terminal-and-shell-fundamentals/</link>
				<pubDate>Thu, 30 Jul 2026 00:00:00 -0500</pubDate>
				<guid>https://workyoucanexplain.com/posts/linux-terminal-and-shell-fundamentals/</guid>
				<description>&lt;p&gt;A Linux terminal is the text interface; the shell interprets command lines; and&#xA;commands perform work. Begin by identifying the actual terminal, shell, current&#xA;directory, user, and command implementation. Then practice paths, quoting, help,&#xA;and exit status as a normal user in a disposable folder.&lt;/p&gt;&#xA;&lt;p&gt;This article uses commands commonly available on Linux and demonstrates Bash&#xA;quoting. Your distribution or course may use Bash, Zsh, Fish, or another shell.&#xA;Do not assume their startup files and syntax are identical.&lt;/p&gt;</description>
			</item>
			<item>
				<title>macOS Terminal and zsh for Complete Beginners</title>
				<link>https://workyoucanexplain.com/posts/macos-terminal-and-zsh-for-complete-beginners/</link>
				<pubDate>Thu, 30 Jul 2026 00:00:00 -0500</pubDate>
				<guid>https://workyoucanexplain.com/posts/macos-terminal-and-zsh-for-complete-beginners/</guid>
				<description>&lt;p&gt;Terminal is a macOS application. zsh is the default shell that normally runs&#xA;inside each Terminal window. The shell reads a command line, finds a command,&#xA;and displays its result through Terminal. Keeping those layers separate makes&#xA;setup and error messages easier to explain.&lt;/p&gt;&#xA;&lt;p&gt;This article uses inspection commands and one disposable practice folder. Use a&#xA;normal account, not a root shell, and do not add shell configuration. If the&#xA;Mac&amp;rsquo;s owner, administrator, management, or recovery status is unclear, first&#xA;&lt;a href=&#34;https://workyoucanexplain.com/posts/set-up-a-safe-mac-for-college/&#34;&gt;establish a safe Mac starting&#xA;state&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Editor, Language, Runtime, Compiler, and Package Manager Explained</title>
				<link>https://workyoucanexplain.com/posts/editor-language-runtime-compiler-and-package-manager-explained/</link>
				<pubDate>Fri, 24 Jul 2026 00:00:00 -0500</pubDate>
				<guid>https://workyoucanexplain.com/posts/editor-language-runtime-compiler-and-package-manager-explained/</guid>
				<description>&lt;p&gt;A programming environment is a collection of parts, not one application. The&#xA;editor changes source files. The language defines how source is written. A&#xA;compiler or interpreter processes it. A runtime supports execution. A package&#xA;manager handles external code. Linters, formatters, debuggers, and test runners&#xA;check or inspect different aspects of the work.&lt;/p&gt;&#xA;&lt;p&gt;When you name the parts, an error becomes easier to locate.&lt;/p&gt;&#xA;&lt;h2 id=&#34;the-editor-changes-files&#34;&gt;The editor changes files&lt;/h2&gt;&#xA;&lt;p&gt;An editor lets you create and modify source code. It may also show project&#xA;files, open a terminal, run extensions, and call other tools.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Files, Folders, Paths, and Extensions Without the Mystery</title>
				<link>https://workyoucanexplain.com/posts/files-folders-paths-and-extensions-without-the-mystery/</link>
				<pubDate>Fri, 24 Jul 2026 00:00:00 -0500</pubDate>
				<guid>https://workyoucanexplain.com/posts/files-folders-paths-and-extensions-without-the-mystery/</guid>
				<description>&lt;p&gt;A recent-file list can open a document without showing where it lives. That&#xA;convenience becomes a problem when a terminal, programming tool, or error message&#xA;asks for a path.&lt;/p&gt;&#xA;&lt;p&gt;You need four connected ideas: &lt;strong&gt;a file stores an item, a folder organizes&#xA;items, a path describes a location, and an extension is part of a filename.&lt;/strong&gt;&#xA;Once you connect those ideas to the home and current directories, file&#xA;operations become more predictable.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Inspect Before You Change</title>
				<link>https://workyoucanexplain.com/posts/inspect-before-you-change/</link>
				<pubDate>Fri, 24 Jul 2026 00:00:00 -0500</pubDate>
				<guid>https://workyoucanexplain.com/posts/inspect-before-you-change/</guid>
				<description>&lt;p&gt;Before a command changes files, configuration, or project state, use read-only&#xA;operations to establish what exists. State the expected result, make one small&#xA;change, and inspect again.&lt;/p&gt;&#xA;&lt;p&gt;This inspect–change–verify sequence turns command-line work into an observable&#xA;experiment. It complements rollback planning: inspection tells you what changed;&#xA;a checkpoint gives you a path back.&lt;/p&gt;&#xA;&lt;h2 id=&#34;ask-a-state-question-first&#34;&gt;Ask a state question first&lt;/h2&gt;&#xA;&lt;p&gt;Do not begin with “Which command fixes this?” Begin with a question:&lt;/p&gt;</description>
			</item>
			<item>
				<title>Learn to Ask a Command for Help</title>
				<link>https://workyoucanexplain.com/posts/learn-to-ask-a-command-for-help/</link>
				<pubDate>Fri, 24 Jul 2026 00:00:00 -0500</pubDate>
				<guid>https://workyoucanexplain.com/posts/learn-to-ask-a-command-for-help/</guid>
				<description>&lt;p&gt;You do not need to memorize every command. You need a reliable way to discover&#xA;what a command does, which inputs it accepts, and how to verify a safe first&#xA;use. Start with the command&amp;rsquo;s local help, identify the exact implementation,&#xA;then consult its official documentation when needed.&lt;/p&gt;&#xA;&lt;h2 id=&#34;use-a-command-discovery-checklist&#34;&gt;Use a command-discovery checklist&lt;/h2&gt;&#xA;&lt;p&gt;For an unfamiliar command:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Identify the command and the shell that will run it.&lt;/li&gt;&#xA;&lt;li&gt;Confirm where the command comes from.&lt;/li&gt;&#xA;&lt;li&gt;Open local help.&lt;/li&gt;&#xA;&lt;li&gt;Read the synopsis or syntax line before the examples.&lt;/li&gt;&#xA;&lt;li&gt;Separate required inputs from optional ones.&lt;/li&gt;&#xA;&lt;li&gt;Look up each unfamiliar option or parameter.&lt;/li&gt;&#xA;&lt;li&gt;Find a read-only example with a small scope.&lt;/li&gt;&#xA;&lt;li&gt;Predict the output and possible side effects.&lt;/li&gt;&#xA;&lt;li&gt;Run it on a harmless target.&lt;/li&gt;&#xA;&lt;li&gt;Check output, exit status, and resulting state.&lt;/li&gt;&#xA;&lt;li&gt;Use the official online documentation when local help is incomplete.&lt;/li&gt;&#xA;&lt;li&gt;Record the confirmed form in your working log.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;This process is slower than blind copying once and faster than recovering from&#xA;an unexplained command.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Never Blindly Paste a Command from the Internet or an AI</title>
				<link>https://workyoucanexplain.com/posts/never-blindly-paste-a-command-from-the-internet-or-an-ai/</link>
				<pubDate>Fri, 24 Jul 2026 00:00:00 -0500</pubDate>
				<guid>https://workyoucanexplain.com/posts/never-blindly-paste-a-command-from-the-internet-or-an-ai/</guid>
				<description>&lt;p&gt;Never run an unfamiliar command merely because a webpage, classmate, or AI&#xA;assistant presents it confidently. Before execution, identify every segment,&#xA;input, target, privilege, network action, and possible secret exposure. Verify&#xA;the behavior in official documentation and define how you will inspect the&#xA;result.&lt;/p&gt;&#xA;&lt;p&gt;If you cannot explain a segment, do not run the command yet. Ask for an&#xA;explanation, not reassurance.&lt;/p&gt;&#xA;&lt;h2 id=&#34;treat-a-command-line-as-a-small-program&#34;&gt;Treat a command line as a small program&lt;/h2&gt;&#xA;&lt;p&gt;A line can contain more than one operation. Shell operators may:&lt;/p&gt;</description>
			</item>
			<item>
				<title>Pipes and Redirection: The Composable Power of the CLI</title>
				<link>https://workyoucanexplain.com/posts/pipes-and-redirection-the-composable-power-of-the-cli/</link>
				<pubDate>Fri, 24 Jul 2026 00:00:00 -0500</pubDate>
				<guid>https://workyoucanexplain.com/posts/pipes-and-redirection-the-composable-power-of-the-cli/</guid>
				<description>&lt;p&gt;Command-line tools become composable when they can receive input and produce&#xA;output through standard interfaces. A pipe connects one command&amp;rsquo;s normal output&#xA;to another command&amp;rsquo;s input. Redirection sends a stream to a file or another&#xA;destination.&lt;/p&gt;&#xA;&lt;p&gt;Learn the data flow before memorizing operators. Exact syntax differs among&#xA;shells, and PowerShell pipelines can pass structured objects rather than only&#xA;text.&lt;/p&gt;&#xA;&lt;h2 id=&#34;a-command-can-use-three-standard-streams&#34;&gt;A command can use three standard streams&lt;/h2&gt;&#xA;&lt;p&gt;A process commonly begins with three channels:&lt;/p&gt;</description>
			</item>
			<item>
				<title>Seven Terminal Concepts Every Beginning Programmer Needs</title>
				<link>https://workyoucanexplain.com/posts/seven-terminal-concepts-every-beginning-programmer-needs/</link>
				<pubDate>Fri, 24 Jul 2026 00:00:00 -0500</pubDate>
				<guid>https://workyoucanexplain.com/posts/seven-terminal-concepts-every-beginning-programmer-needs/</guid>
				<description>&lt;p&gt;Beginning programmers do not need to memorize a large command catalog. They&#xA;need a small mental model: current directory, path, history, completion, help,&#xA;environment, and exit status. These seven concepts transfer across shells even&#xA;when the exact commands differ.&lt;/p&gt;&#xA;&lt;p&gt;Use your operating-system module for the commands in the scavenger hunt. This&#xA;article explains what to look for.&lt;/p&gt;&#xA;&lt;h2 id=&#34;1-the-current-directory-supplies-context&#34;&gt;1. The current directory supplies context&lt;/h2&gt;&#xA;&lt;p&gt;The shell maintains a current working directory. A relative file reference is&#xA;interpreted from that location.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Ten PowerShell Operations Every Student Should Practice</title>
				<link>https://workyoucanexplain.com/posts/ten-powershell-operations-every-student-should-practice/</link>
				<pubDate>Fri, 24 Jul 2026 00:00:00 -0500</pubDate>
				<guid>https://workyoucanexplain.com/posts/ten-powershell-operations-every-student-should-practice/</guid>
				<description>&lt;p&gt;Practice PowerShell in a disposable folder as a standard user. The objective is&#xA;not memorizing aliases. It is learning to inspect location, predict effects, run&#xA;one operation, and verify the result.&lt;/p&gt;&#xA;&lt;p&gt;Create &lt;code&gt;PowerShell-Practice&lt;/code&gt; in your Documents folder and add two non-sensitive&#xA;text files. Confirm the path before every change.&lt;/p&gt;&#xA;&lt;h2 id=&#34;1-navigate&#34;&gt;1. Navigate&lt;/h2&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Get-Location&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Set-Location -Path &amp;#34;$HOME\Documents\PowerShell-Practice&amp;#34;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Verify with &lt;code&gt;Get-Location&lt;/code&gt;. A relative path depends on the current location.&lt;/p&gt;&#xA;&lt;h2 id=&#34;2-list&#34;&gt;2. List&lt;/h2&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Get-ChildItem&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Get-ChildItem -File&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Inspect names and item types before copying or moving anything.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Terminal, Shell, and Command: Three Different Things</title>
				<link>https://workyoucanexplain.com/posts/terminal-shell-and-command-three-different-things/</link>
				<pubDate>Fri, 24 Jul 2026 00:00:00 -0500</pubDate>
				<guid>https://workyoucanexplain.com/posts/terminal-shell-and-command-three-different-things/</guid>
				<description>&lt;p&gt;A terminal, a shell, and a command are different parts of one interaction. The&#xA;terminal provides the text interface. The shell reads and interprets what you&#xA;enter. A command performs a specific operation. This model helps you diagnose&#xA;problems across Windows, macOS, and Linux.&lt;/p&gt;&#xA;&lt;h2 id=&#34;the-three-part-model&#34;&gt;The three-part model&lt;/h2&gt;&#xA;&lt;p&gt;Imagine entering this in a terminal:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;python --version&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Three components participate:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Terminal application:&lt;/strong&gt; displays the prompt, accepts keyboard input, and&#xA;shows text output.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Shell:&lt;/strong&gt; reads the command line, identifies what should run, and connects&#xA;input and output.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Command:&lt;/strong&gt; &lt;code&gt;python&lt;/code&gt; performs the requested operation; &lt;code&gt;--version&lt;/code&gt; asks it&#xA;to report version information.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Closing a terminal window, changing the shell, and installing a command are&#xA;therefore different actions.&lt;/p&gt;</description>
			</item>
			<item>
				<title>The Small CLI Toolkit Worth Learning</title>
				<link>https://workyoucanexplain.com/posts/the-small-cli-toolkit-worth-learning/</link>
				<pubDate>Fri, 24 Jul 2026 00:00:00 -0500</pubDate>
				<guid>https://workyoucanexplain.com/posts/the-small-cli-toolkit-worth-learning/</guid>
				<description>&lt;p&gt;You do not need dozens of command-line tools. Recognize a small set, then learn&#xA;each one when a real course or project creates the need.&lt;/p&gt;&#xA;&lt;p&gt;Git, SSH, curl, ripgrep, &lt;code&gt;find&lt;/code&gt;, jq, and GitHub CLI cover seven useful roles:&#xA;version history, remote access, data transfer, content search, file search, JSON&#xA;processing, and GitHub workflows. They are a learning queue, not an installation&#xA;checklist.&lt;/p&gt;&#xA;&lt;h2 id=&#34;choose-a-problem-before-a-tool&#34;&gt;Choose a problem before a tool&lt;/h2&gt;&#xA;&lt;p&gt;For each proposed tool, answer:&lt;/p&gt;</description>
			</item>
			<item>
				<title>Why Plain Text Works So Well with Git, CLI Tools, and AI</title>
				<link>https://workyoucanexplain.com/posts/why-plain-text-works-so-well-with-git-cli-tools-and-ai/</link>
				<pubDate>Fri, 24 Jul 2026 00:00:00 -0500</pubDate>
				<guid>https://workyoucanexplain.com/posts/why-plain-text-works-so-well-with-git-cli-tools-and-ai/</guid>
				<description>&lt;p&gt;Git, command-line tools, and AI systems perform different jobs, but plain text&#xA;gives them a common interface. Visible characters and lines can be searched,&#xA;compared, transformed, copied into a prompt, and reviewed after an edit.&lt;/p&gt;&#xA;&lt;p&gt;This is a practical advantage, not a claim that text is always best. Text works&#xA;well when the important information can be represented clearly without hiding&#xA;its structure inside one application.&lt;/p&gt;&#xA;&lt;h2 id=&#34;text-exposes-the-content&#34;&gt;Text exposes the content&lt;/h2&gt;&#xA;&lt;p&gt;In a Markdown file, the stored content is readable:&lt;/p&gt;</description>
			</item>
			<item>
				<title>Windows Paths, File Extensions, and Hidden Files</title>
				<link>https://workyoucanexplain.com/posts/windows-paths-file-extensions-and-hidden-files/</link>
				<pubDate>Fri, 24 Jul 2026 00:00:00 -0500</pubDate>
				<guid>https://workyoucanexplain.com/posts/windows-paths-file-extensions-and-hidden-files/</guid>
				<description>&lt;p&gt;A Windows path is the exact route to a file or folder. Learn to read drive&#xA;letters and backslash-separated components, distinguish full from relative&#xA;paths, show file extensions, and reveal hidden items only when needed.&lt;/p&gt;&#xA;&lt;p&gt;File Explorer&amp;rsquo;s friendly labels are useful, but a compiler, terminal, script,&#xA;or submission system uses an exact location and filename.&lt;/p&gt;&#xA;&lt;h2 id=&#34;read-a-windows-path-component-by-component&#34;&gt;Read a Windows path component by component&lt;/h2&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;C:\Users\Amina\College\2026-Fall\CS101\project\README.md&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;C:&lt;/code&gt; identifies a drive.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;\&lt;/code&gt; separates path components.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Users\Amina&lt;/code&gt; identifies a user profile folder.&lt;/li&gt;&#xA;&lt;li&gt;the remaining folders narrow the location;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;README.md&lt;/code&gt; is the filename; and&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;.md&lt;/code&gt; is its extension.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Microsoft&amp;rsquo;s &lt;a href=&#34;https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file&#34;&gt;Windows path&#xA;documentation&lt;/a&gt;&#xA;defines backslashes as component separators and explains drive and UNC path&#xA;forms.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
