Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 407 Bytes

linux.md

File metadata and controls

19 lines (10 loc) · 407 Bytes

Linux Cheat Sheet

User Management

cut -d: -f1 /etc/passwd - List all local users

sudo useradd username - Add a user

sudo userdel username - Remove a user

sudo grpadd groupname - Add a user

sudo grpdel groupname - Remove a group

Package Management with Apt

apt list --installed - Shows the installed packages

apt list --manual-installed - Shows the manually installed packages