MacOS (MacBook) TERMINAL COMMANDS

1. REHAN 27.01.2026 / 14:57
🍎 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

URL: https://pakwap.com/topics/205