Most Useful Linux Commands
Sraban Pahadasingh April 14, 2020 06:09 PM-
uname command is simple tool which provides information about the kernel, machine, processor, and operating system
uname -m -
check ubuntu linux version
lsb_release -a -
show the amount of free disk space on each mounted disk
df -h -
displays the total amount of free space available along with the amount of memory used and swap memory in the system
free --human -
The grep filter searches a file for a particular pattern of characters, and displays all lines that contain that pattern
grep -iRl "your-text-to-find" ./ -
displays network connections for Transmission Control Protocol
netstat -tlnp -
show all process even the current process is not associated with any TTY (terminal)
ps ax | grep docker -
Watching activity on Linux with watch and tail commands
watch "dmesg | tail -20"