You are on page 1of 2

Command sudo sucat/etc/issue uname -a man uname free -m w TOP TOP + Shift M TOP + Shift P df df -hT du Folders bin

boot dev useradd username passwd username permissions: 3-3-3 rwx ifconfig netstat grep command

Example

Meaning / Description Root privilege to get the flavor of Linux to get the all details of the Linux help for uname to see the memory details -m: in MB, -g: in GB to see the logged in user to see the process sort by memory usage sort by CPU usage disk free disk free in human readable form with file system type disk usage system commands system boot files devices attached to the machine, cd, usb create user command create a password for the user 3- group, 3- owner, 3-user read, write, execute to get the ipaddress details established network connections monitoring to filter to specific values, pattern matching

ex: netstat | grep ssh

Kill PID kill -9 PID ps vi filename Shift+G :1 i Esc : w Esc : wq Esc : q!

to kill a process to kill forcefully process status to edit an existing file or create a new file end of the file go to first line insert mode save and be there save and quit exit without saving

Esc 4 yy p u dd mv mv filename1 filename2 rm rm filename cp filename1 filename2

copy the next 4 lines from the cursor paste the copied lines undo the paste to delete one line from the cursor move command to rename a file remove

cp

copy

You might also like