NEW VPS Plans

ServerTune provides -- managed and un-managed -- VPS hosting solutions at affordable prices to accommodate your personal and/or businesses needs.

Click here for more info ...

NEW VPS Plans

Click to hideClick to view
ServerTune

Browse by category

Search    |    Advanced search

How can I find the local path to a command line binary?

The command which shows the full local path of (shell) commands. If you have more than one binary in separate locations the command which will report the one bash would execute first.

which bash
/bin/bash

which php
/usr/bin/php

Printer Friendly
 
email to a friend
Email to friend
 
Add comment
Add comment
 
Views: 2025
 
Votes: 0
 
Comments: 0
 
Posted: 09 Jul, 2007 by: Customer Service S.
Updated: 08 Mar, 2011 by: Customer Service S.

Other articles in this Category

Article
Article
Article
Article
Article
Article
Article
Article
Article
Article
Article
Article
Article
RSS