Frequently used commands on Ubuntu terminal
1. Checking for free memory and swap space on Ubuntu
$ free -h
2. Checking for free disk space on Ubuntu
df -h
If you want to know disk space up in 1k blocks
df -a
3. To know which all ports are in use and by which process (PID)
sudo lsof -i -P -n...
leeam.hashnode.dev1 min read