Basic Linux Commands Intervewer may Ask
1)Give me 15 commands which you use frequently Depends on the environment you work. Some examples are mkdir — For creating folders( use -p option to create multiple folders at a time) ls –List folders/files( check what ls -1 do) top — To monitor system activities lsof –To check whats happening on the server and which process open which file. netstat -tcp –Gives you complete picture about network connection details. vnstat –Gives you Network band width statics sh –For running shell scripts history –For monitoring the commands executed by users cd –For changing directories vi - -For editing configuration files. chmod –To change permissions of folders and files. mount –For mounting formated partitions. service –For start/restart/stop a service. chkconfig –For permanent on/off a service. fdisk -l –To list all the partitions This is my own list, you can have your list. 2)Give me some commands for user management. last, chage, chsh, lsof, chown, chmod, userad...