Where Online Learning is simpler!



$ whatis whereis

whereis - locate the binary, source, and manual page files for a command

Examples:

The binary file whereis is installed in /usr/bin/whereis directory.

-rwxr-xr-x 1 root root 31576 Sep 15 17:08 /usr/bin/whereis

To find the location of another binary or Linux command, you pass the command as argument to

the /usr/bin/whereis command and it will display the locaation of that command as shown in

the examples below:

which: /usr/bin/which /usr/man/man1/which.1

wget: /usr/bin/wget /usr/man/man1/wget.1

In Solaris UNIX platform the where is installed in /usr/ucb/whereis so here is a few examples

in Solaris SunOS X86 VM

zfs: /etc/zfs /sbin/zfs /usr/lib/zfs /usr/sbin/zfs /usr/man/man1m/zfs.1m

whereis: /usr/ucb/whereis /usr/man/man1b/whereis.1b

prtconf: /etc/prtconf /usr/sbin/prtconf /usr/man/man1m/prtconf.1m

prtvtoc: /etc/prtvtoc /usr/sbin/prtvtoc /usr/man/man1m/prtvtoc.1m


Please click on " whereis in PDF " format.

Please click on " whereis in HTML " format.


Previous Home Page Next



Contact us     |      About us     |      Term of use      |      Copyright © 2000-2025 MyWebUniversity.com ™