Follow eight practical lessons from the first shell prompt to a program installed in the home directory.
- A first shell session
Recognize a login prompt, enter a shell command, find the home directory, and regain the prompt after starting a program.
- Files, paths, and directories
Build a practice directory in an ordinary account, navigate by path, and copy, rename, and remove a file safely.
- Read, edit, and find text
Create and edit a field note in vi, read it a page at a time, and find a file by its contents or its name.
- Users, groups, and permissions
Read the access bits on a file and its directory, reproduce a permission error, and restore access as the owner.
- Streams, redirection, and filters
Count repeated bird observations with sort and uniq, save the report, and distinguish ordinary output from error messages.
- Processes, jobs, and signals
Start a background process, find its process ID, and suspend, resume, and interrupt the job from an interactive shell.
- Turn a pipeline into a shell script
Write a shell script that reports observations from named files, preserves spaces in filenames, and reports missing input through its exit status.
- Build and install a small program
Compile a C program, rebuild it with make, and install a personal command that counts nonempty observation lines.