Common Server Script/Binary Locations

Which is a Unix command used to identify the location of executables. The command takes one or more arguments; for each of these arguments, it prints the full path of the executable to stdout that would have been executed if this argument had been entered into the shell.

Which helps to locate a command, it prints the absolute command path as below:

which php

Below we will provide with a list of the most common server script/binary locations:

  • PHP
  • MySQL
  • CURL
  • WGET
  • Bash Script
  • PERL

Was this helpful?

0 / 0