Find out where Unix/Linux executable binary is located

Welcome to Linux Screw! If you're new here, you may want to subscribe our RSS feed.

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

Share This
 
 
» 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?
Debian/Ubuntu Linux apt-get vs. aptitude



» 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

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word




Friendly Sites:Who is behind Linux Screw?
Aspiring Sysadmin | GeekyBits³ | Bash Cures Cancer | TOTMS
Linux Operating System | Small Linux Deployments | My SysAd Blog
The Danesh Project | ZEPY | LinuxHaxor.net | Planet Sysadmin
The Sys Admin | {buhay sysad} | a non-geek's linux notes
CyberCapital.Org | G-LOADED! | The Linux Alternative Project
My name is Artem Nosulchik (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 ››