appendix A Command reference
This appendix provides a comprehensive reference for all commands used throughout this book. Bookmark this section for quick lookup as you work through projects.
A.1 Terminal (macOS/Linux) commands
Tables A.1 through A.5 list the fundamental shell commands you need for navigating your filesystem and managing files.
Table A.1 Navigation and filesystem commands
| Command |
Description |
Example |
Notes |
|---|---|---|---|
|
|
Print current working directory |
|
Shows your current location |
|
|
List files in directory |
|
Basic file listing |
|
|
List all files with details |
|
Includes hidden files and permissions |
|
|
List files with human-readable sizes |
|
Shows KB, MB, GB instead of bytes |
|
|
Change directory |
|
Navigate to a folder |
|
|
Go up one directory |
|
Move to parent folder |
|
|
Go to home directory |
|
Shortcut to /Users/yourname |
|
|
Go to previous directory |
|
Toggle between two directories |