Essential Linux Terminal Commands for College Students

Once you finish setting up your system using our Ubuntu and Windows 11 dual-boot guide, lab instructors expect you to navigate filesystems, compile C/C++ code, manage permissions, and SSH into remote servers from Bash. Keep these high-frequency commands bookmarked.

1. File Navigation & Permissions

ls -lah                 # List all files including hidden ones with human sizes
chmod 755 deploy.sh     # Make a lab script executable by owner, readable by all
grep -rn "main(" ./src  # Search recursively with line numbers

2. Networking & Remote Lab Access

ip addr show            # View active Wi-Fi/Ethernet IPv4 interfaces
ssh user@server-ip      # Connect to a remote Linux lab machine
scp file.c user@ip:~/   # Copy assignment files securely over SSH

3. Disk & Process Inspection

lsblk -f                # Inspect partitions, UUIDs, and mountpoints
df -h                   # Check free SSD space across mounted drives
ps aux | grep python    # Locate running background processes