
Navigate directories with the Mac terminal using cd, relative and absolute paths, and learn to move, list contents, and reference folders like home, library, and preferences.
Learn to copy, move, rename, and remove files and directories in Mac Terminal using cp, mv, and rm, with prompts and recursive options.
Create directories and files, set and review permissions with chmod using numeric and recursive options, and manage ownership and group with chown and chgrp.
Master the Linux top command to monitor all running processes, CPU and memory usage, load averages, and tasks, while customizing the display, filtering by user, and adjusting the refresh rate.
Explore the Mac terminal to list processes by name, user, or group, and learn the five states—running, sleeping, waiting, stopped, zombie—and what drives transitions.
Explore practical sed and awk techniques to view specific line ranges, perform case-insensitive replacements, normalize spaces, and insert blank lines, using pipelines and file comparisons.
Learn to view and print current aliases with the alias command, create session aliases like la='ls -la', and persist them by adding definitions to ~/.bashrc.
Learn to open two files at once and move between them by enabling the mouse option in vim; use keyboard navigation or ctrl-w to switch between windows.
This 3-hours course introduces you to the macOS command line environment, teaching you how to use the Terminal utility to accomplish useful, interesting tasks that are either difficult or impossible to perform in the graphical interface. Most of the examples work with 10.6 Snow Leopard and later, although a few techniques require more recent versions of macOS.
The course is targeted to help to automate and script daily tasks. There are lots of live demonstrations how to use commands. I hope it will help to do your job more efficiently.