VPS
Main PagecPanel and DirectAdmin LicensingServer Management PlansVirtual Private ServersDedicated Servers
Control Panel Licensing
ServerTune ResellersResellersSpecial PromotionsServerTune SpecialsHomeAbout ServerTuneContact usTechnical SupportKB
ServerTune Main Page
Space
Space
Our most popular products:

SPECIAL PROMOTION: cPanel License $36 /month. more info

Issues, Tips, and Solutions

Protect your server with Mod Security rules written specifically for your system. more info ...

Space
Search:    Advanced search
Browse by category:
How can I find the local path to a command line binary?
Printer Friendly
email to a friend
Add comment Add comment
Views: 515
Votes: 0
Comments: 0
Posted: 09 Jul, 2007
by: Support T.
* * * * *
Updated: 19 Feb, 2008
by: Support T.

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

Other articles in this Category
document How can I tranfser my data from one server to another?
document How can I block IP addresses?
document Linux Text Editors :: pico, vi, and emacs
document What ports do I need to open in my firewall?
document HTML Codes
document How to get rpm command to show the files an RPM file has installed?
document I added more RAM Memory, yet the system shows the wrong amount
document perl: warning: Setting locale failed.
document HowTo :: manage Linux partitions
document HowTo :: check on the current version of CentOS installed on your server
document HowTo clone, image, and re-size your Hard Drive(s) and/or partition(s)
document HowTo :: remove the Pass Phrase set on an SSL key
document Is rebooting my Linux/FreeBSD server a useful practice?



RSS