Essential Linux Commands & System Administration Toolkit
Classified in Computers
Written on in English with a size of 7.26 KB
File Operations
ls
— List files and directories (-a for hidden, -l for detailed)cd [directory]
— Change directorymkdir [directory]
— Create directorycp [source] [destination]
— Copy files/directories (-r for recursive)mv [source] [destination]
— Move or rename files/directoriesrm [file]
— Remove files (-r for recursive)chmod [permissions] [file]
— Change file permissionschown [user]:[group] [file]
— Change file ownership
System Monitoring
top
/htop
— Monitor system processesps
— List running processesdf -h
— Display disk space usagefree -m
— Show memory usage
Networking Commands
ifconfig
/ip a
— Display network interfacesping [host]
— Test network connectivitynetstat -tuln
— List network connectionsnmap [IP]
— Scan