grep
grep Search the input for lines containing the given pattern.
Stands for Global Regular Expression Print. An absolutely essential utility.
Examples
See if a process is running
$ ps -ef | grep nautilus garry 8190 8082 0 22:03 ? 00:00:03 nautilus
grep Search the input for lines containing the given pattern.
Stands for Global Regular Expression Print. An absolutely essential utility.
See if a process is running
$ ps -ef | grep nautilus garry 8190 8082 0 22:03 ? 00:00:03 nautilus