Find out where Unix/Linux executable binary is located

There are two commands that may help you to find where executable binary is located regardless it’s Unix or Linux system. They are whereis and type. First locates source/binary and manuals sections for specified files and second tells what exactly shell executes when you type a certain command.

The next picture shows examples of these commands work.

Find out where Unix/Linux executable binary is located

 
 
» You might also be interested in the following articles:
Manage gzip files on-the-fly (zcommands)
Can’t find usable shell script encryption solution…
Make linux shell scripts encrypted
FAQ: How to disable directory browsing in apache/httpd?
Configure Sudo: no password for certain commands (nopasswd)



» Want to stay up to date? Subscribe to our E-MAIL or RSS feed!

1 Response to “Find out where Unix/Linux executable binary is located”


  1. 1 Said

    Hey, thanks..
    the “type” command works wonders.

Leave a Reply




Friendly Sites:Who is behind Linux Screw?
GeekyBits³ | Bash Cures Cancer | OMG! Ubuntu!
My SysAd Blog | Web Upd8
ZEPY | Linux config Wiki | Planet Sysadmin
a non-geek's linux notes | Linux Today
Linux HOWTOs, Tutorials & Projects with Adam Palmer | LinuxAlt.Com
My name is Artem N. (artiomix AT gmail DOT com) and I'm Linux/Unix, Cisco systems engineer. The main idea of Linux Screw is to share relevant knowledge, skills and observations over The Web. Here you can find a lot of information related to different Linux distributions, FreeBSD, IOS as well as a other Open Source around staff. Read more ››