File Operations:

  1. How to list files and directories in Mac Terminal
  2. How to change directory in Mac Terminal
  3. How to create a new file in Mac Terminal
  4. How to create a new directory in Mac Terminal
  5. How to copy files and directories (cp)
  6. How to move or rename files (mv)
  7. How to delete files (rm)
  8. How to delete directories (rm -r)
  9. How to display file contents (catlessmore)
  10. How to find large files (du -sh)
  11. How to open files or apps from Terminal (open)
  12. How to change file permissions (chmod)
  13. How to change file ownership (chown)
  14. How to create a symbolic link (ln -s)

Network Operations:

  1. How to check your IP address in Mac Terminal
  2. How to ping a server (ping)
  3. How to check network connections in Mac Terminal
  4. How to traceroute a network (traceroute)
  5. How to test internet speed using curl in Mac Terminal
  6. How to SSH into a remote server (ssh)
  7. How to download a file from a URL (curl or wget)
  8. How to check active network interfaces (ifconfig)
  9. How to flush DNS cache (sudo killall -HUP mDNSResponder)
  10. How to see open ports (lsof -i or netstat -an)
  11. How to stop/start Wi-Fi from Mac Terminal
  12. How to test internet connection using ping in Mac Terminal

Searching and File Management:

  1. How to find a file by name (find)
  2. How to search for text in files (grep)
  3. How to search recursively for text in files (grep -r)
  4. How to find files by size in Mac Terminal
  5. How to search for a specific pattern in files (grep "pattern")
  6. How to locate files on your system (locate)
  7. How to view recently modified files (find . -mtime)

System Operations:

  1. How to view system information (system_profiler)
  2. How to view CPU usage in Mac Terminal
  3. How to view memory usage (vm_stat)
  4. How to list running processes (ps aux)
  5. How to kill a running process (kill or killall)
  6. How to clear Terminal history in Mac Terminal
  7. How to update Homebrew (brew update)
  8. How to install a package using Homebrew (brew install)
  9. How to open a file with a specific application (open -a [AppName])

Conversions and Encoding:

  1. How to convert a file from one format to another (e.g., ffmpeg)
  2. How to convert text file line endings (dos2unixunix2dos)
  3. How to encode/decode Base64 strings (base64)
  4. How to convert an image format (e.g., sips for image conversion)
  5. How to change file encoding (iconv)

Package Management:

  1. How to install Homebrew on Mac (/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)")
  2. How to install a package using Homebrew (brew install [package])
  3. How to uninstall a Homebrew package (brew uninstall [package])
  4. How to search for Homebrew packages (brew search [name])

File Compression and Extraction:

  1. How to compress files to a .zip archive in Mac Terminal
  2. How to extract .zip files in Mac Terminal
  3. How to create a .tar.gz file (tar -czf)
  4. How to extract a .tar.gz file (tar -xzf)
  5. How to create a .rar archive (rar)
  6. How to extract .rar files (unrar)

Disk and System Management:

  1. How to check disk space in Mac Terminal
  2. How to check directory size in Mac Terminal
  3. How to format a USB drive in Mac Terminal
  4. How to mount and unmount drives (diskutil mount/unmount)
  5. How to repair disk permissions (diskutil repairPermissions)
  6. How to create a bootable USB drive (dd or diskutil)
  7. How to show hidden files
  8. How to hide files using Mac Terminal
  9. How to enable or disable SIP (System Integrity Protection) on macOS

Shell and Scripting:

  1. How to create and run a bash script
  2. How to set environment variables (export VAR=value)
  3. How to view environment variables (printenv)
  4. How to create an alias (alias)
  5. How to make a script executable (chmod +x script.sh)
  6. How to run Python scripts from Terminal (python3 script.py)
  7. How to schedule tasks with cron
  8. How to use the echo command to display text
  9. How to redirect output to a file (>>>)

Terminal Customization:

  1. How to change the Terminal prompt (PS1)
  2. How to change the default shell (e.g., from bash to zsh)
  3. How to customize .bash_profile or .zshrc
  4. How to add custom colors to Terminal
  5. How to change Terminal themes

Network Troubleshooting:

  1. How to flush DNS cache (sudo dscacheutil -flushcache)
  2. How to view network interfaces (ifconfig)
  3. How to view current Wi-Fi connection info (networksetup -getairportnetwork en0)
  4. How to reset network settings using Terminal
  5. How to scan for available Wi-Fi networks (/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -s)

Miscellaneous Operations:

  1. How to find the macOS version (sw_vers)
  2. How to list installed applications (ls /Applications/)
  3. How to change the system time and date (date)
  4. How to force quit an application using Terminal
  5. How to show all active network connections (lsof -i)
  6. How to start a Python web server (python3 -m http.server)
  7. How to run background processes using nohup
  8. How to empty the trash from Terminal in Mac
  9. How to create a new user from Terminal
  10. How to restart or shut down your Mac from Terminal
  11. How to take a screenshot using Terminal (screencapture)
  12. How to use the Terminal as a calculator (bc)