Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What are common commands you have studied, and why?

user-image
Question added by Vinod Nawal , Global System & VoIP Administrator , Move One Relocations
Date Posted: 2016/05/01
Firstname Confidentiel
by Firstname Confidentiel , Linux RHEL Engineer , IST GROUP

you can use top to show the state of your system and all running process 

and also the command free -m to show the state of your memory

Joseph Antony
by Joseph Antony , Technical Manager , Identiv Technologies India Pvt. Ltd.

ps -ef | grep <process-name>  - To check whether the process / app is running or not

df -hcs - To check the total memory used by the current directory (and all its sub directory) and print in human readable format

chmod XXX <filename> - to change the read/write/execute permissions of a file. 

lsmod - to list all loaded kernel modules

clear - to clear the command line window. Alternately, you can use CTRL+L to achieve the same.

To retrieve a long / complex command from history, press CTRL+R and then start typing the command. The login will retrieve the last matching command. keep pressing CTRL+R after this to match the previous commands till you reach the one you need, then press ENTER.

Zelalem Fanta
by Zelalem Fanta , Senior System and Presale Engineer , Tence Professional Service Ltd

"df -h" - to check disk usage of the application and the system.

"systemctl status service.name"  - to check the most important services the system is using.

More Questions Like This