This command works in systems running apt . With dpkg you can list all packages installed and the output is filtered with grep.
bash |copy code |?
1 2
bash |copy code |?
1 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.
bash |copy code |?
1 2
bash |copy code |?
1 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.
1 ps ax | grep samba
Options to look for several reg exp with grep. -i for case insensitive and -E for reg exp.
bash |copy code |?
1 grep -iE "(jpg|gif)" your-file-with-text.txt