Handy commands will always help you to do your daily tasks on a LINUX system or server. You just need to remember and use them on time and you will perfectly get best results. Few Commands are given as under which can save your lot of time.
1. pgrep
pgrep will give you the currently running processes and lists the process IDs which matches the selection criteria.
pgrep ssh
2. Execute The Last Executed Command
If you like to reissue a command again you need to type the whole path and command again to get the results, you can just enter the under given command;
!!
3. Execute The Last Command Starting With some letter
If you want to execute a command a command from history starting with the letter S you can use the following command: This will execute the last command used on the command line that started with s.
!s