This command works in systems running apt . With dpkg you can list all packages installed and the output is filtered with grep.
dpkg −l | grep chrome
This command works in systems running apt . With dpkg you can list all packages installed and the output is filtered with grep.
dpkg −l | grep chrome
With ps command we can see all the process running in our system if you have root privileges. We would like to know if samba is running.
ps ax | grep samba
Options to look for several reg exp with grep. -i for case insensitive and -E for reg exp.
grep -iE "(jpg|gif)" your-file-with-text.txt