Complete Linux Administration Notes – Your Go-To Guide!

Listen to this Post

Master Linux Administration with this comprehensive guide covering installation, system management, and advanced troubleshooting. Whether you’re a beginner or an experienced admin, these notes will enhance your Linux expertise.

You Should Know:

1. User & Permission Management

  • Create a new user:
    sudo adduser username 
    
  • Modify user permissions:
    sudo usermod -aG groupname username 
    
  • Change file permissions:
    chmod 755 filename 
    
  • Change ownership:
    sudo chown user:group filename 
    

2. Networking & Security Essentials

  • Check open ports:
    sudo netstat -tuln 
    
  • Configure firewall (UFW):
    sudo ufw enable 
    sudo ufw allow 22/tcp 
    
  • SSH secure login:
    ssh user@remote-server -p 22 
    
  • Scan network for vulnerabilities:
    sudo nmap -sV target-ip 
    

3. Shell Scripting & Automation