/usr/bin/
directory, but some applications might choose another directory to place the executable in.which
command:which lightdm
lightdm
which is:/usr/sbin/lightdm
Another Command:
whereis
command which is designed to locate the binary/source and manual sections of a given application:whereis gimp
The result of the aforementioned command will be:
gimp: /usr/bin/gimp /etc/gimp /usr/lib/gimp /usr/bin/X11/gimp /usr/share/gimp /usr/share/man/man1/gimp.1.gz
Comments