Linux Administration

Shell, Permissions, and Processes

File Permissions

The chmod command is used to change file modes.

# Give execute permission to a script
chmod +x deploy.sh

# Recursive ownership change
chown -R user:group /var/www/html

System Monitoring

Use htop for an interactive process viewer.

sudo apt install htop
htop