If you are a hard core systems administrator or Linux engineer
you’ll probably recognize most of these Linux command line
tricks. The following Linux command line tips are not typically
used by your everyday Linux user. Quickly Find a PID with pgrep
pgrep looks through the currently running processes and lists
the process IDs which matches the selection criteria to stdout.
This will list all PIDs associated with the ssh process. Execute
The Last Executed Command The heading sounds a bit confusing but
it’s exactly what it does. This will execute the last command
you used on the command line. Execute The Last Command Starting
With.. If you want to execute a command a command from history
starting with the letter S you can use the following: This will
execute the last command used on the command line that started
with s. Run a Command Repeatedly and Display the Output watch
runs command repeatedly, displaying its output (the first
screenfull). This allows you to watch the program output change
over time. By defa