MacOS (MacBook) TERMINAL COMMANDS

Print RSS
2

Author
Boss
0
🍎 ESSENTIAL MacOS (MacBook) TERMINAL COMMANDS

Boost your productivity and master the macOS Terminal with these key commands β€” from file management and system checks to networking, permissions, and PowerShell utilities πŸ’»βš‘

πŸ“ FILE & DIRECTORY COMMANDS
Copy code
Bash
ls # List files
ls -la # Detailed + hidden files
pwd # Current directory
cd dir # Change directory
cd .. # Go back
mkdir dir # Create folder
rm file # Delete file
rm -r dir # Delete folder
cp a b # Copy file
mv a b # Move / rename

πŸ–₯️ SYSTEM CHECK COMMANDS
Copy code
Bash
sw_vers # macOS version
system_profiler # Full system info
uname -a # Kernel info
uptime # System running time
top # Running processes

πŸ’Ύ DISK & STORAGE CHECK
Copy code
Bash
df -h # Disk usage
du -sh * # Folder sizes
diskutil list # Disks list
diskutil info disk0 # Disk details

🌐 NETWORK CHECK COMMANDS
Copy code
Bash
ifconfig # Network interfaces
ipconfig getifaddr en0 # Wi-Fi IP
ping google.com
netstat -an
traceroute google.com

πŸ” USER & PERMISSION
Copy code
Bash
whoami
id
chmod 755 file
chmod +x file
chown user file

πŸ“¦ PACKAGE MANAGEMENT (Homebrew)
Copy code
Bash
brew update
brew install package
brew list
brew uninstall package

πŸ”‹ BATTERY & POWER
Copy code
Bash
pmset -g batt # Battery status
pmset -g # Power settings

🧰 USEFUL UTILITIES
Copy code
Bash
clear # Clear screen
history # Command history
man ls # Manual page

🍎 FINDER & MacOS TOOLS
Copy code
Bash
open file # Open file
open . # Open current folder in Finder
say "Hello" # Text to speech πŸ˜„

Follow ANIK Digital and Information Technology for more practical tech guides and cheat sheets.

#macOS #MacBookTips #TerminalCommands #USA #AUSTRALIA
Stickers / Tags / Rules