50 Linux commands
50 Linux commands
cd Changes directory
cd [directory]
pwd
mkdir [directory_name]
rmdir [directory_name]
rm [options] [file/directory]
mv [source] [destination]
touch [file_name]
cat [file_name]
nano [file_name]
vim [file_name]
echo [text]
whoami
id [options] [username]
ps [options]
top
htop
kill [PID]
pkill [process_name]
locate [file_name]
df -h
du -sh [directory]
free -h
uname -a
uptime
history
clear
unzip [archive.zip]
curl [URL]
ssh [user@host]
ping [host]
traceroute [host]
netstat -tulnp
ip a
hostname
sudo [command]
useradd [username]
passwd [username]
groupadd [groupname]
reboot