In this tutorial, I have collected some of the useful utility commands which will include various network monitoring, system auditing or some other random command which can help users to enhance their productivity. Hope you all like it.
Linux has a command for almost any tasks and most of them are intuitive and easily interpreted.
Getting Help in Linux
|Read the manual page of .
|man <section> <name>
|Read the manual page of <name>, related to the given section.
|man -k <editor>
|Output all the software whose man pages contain <editor> keyword.
|man -K <keyword>
|Outputs all man pages containing <keyword> within them.
|Output all the applications whose one-line description matches the word editor.
When not able to recall the name of the application, use this command.
|In Bash shell, this will display the list of all available bash commands.
|In the Bash shell, this will display the info about the bash command.
|View all the information about <name>.
|Output a list of all installed packages on a Debian-based system.
|dpkg -L packageName
|Will list out the files installed and path details for a given package on Debian.
|dpkg -l | grep -i <edit>
|Return all .deb installed packages with <edit> irrespective of cases.
|Return descriptions of all available packages.
|List a one-line description of vim.
|Display usage information about the <tool-name>. Sometimes command -h also works, but not for all commands.
User identification and who is who in Linux world
|Display hostname of the system.
|Displays Fully Qualified Domain Name (FQDN) of the system.
|Change password of current user.
|Username of the users logged in at the terminal.
|List of all the users currently logged in as a user.
|Display current system status, time, duration, list of users currently logged in on the system and other
|Who recently used the system.
|When was the last time root logged in as user.
|Shows all bad login attempts into the system.
|Changing permissions – read,write,execute of a file or directory.
Process related information
|List all processes sorted by their current system resource usage. Displays a continually updated display of processes (By default 3 seconds). Use q key to exit top.
|List processes currently running on current shell
|ps -u root
|List all of the processes and commands root is running
|List all the processes by all users on the current system