-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 02 January 2003 08:34, Michael Walters wrote:
> Hello Dave,
>
> When I originally typed "strings" it was in all lower case. I looked for
> "strings" in the 26 1/4 pages of program files in usr/bin and did not
> find it there, although I did find another program called less, which I
> did not have in /bin.
>
> Now that I know I have 26 1/4 pages of programs in /usr/bin in addition
> to the 2 pages of instructions in /bin , could you please tell me how to
> access the programs in /usr/bin?

echo $PATH

every program that is an a directory that is in that path env var will be 
available to you via the command line, plus any built-ins your shell 
provides.

you can add to your path like you would any env var, preferably in your 
.profile or your shell-specific profile file with something like:

PATH=/another/path:$PATH
export PATH

(bash allows export and the assignment on the same line; not all shells do)

also, if you are looking for an executable, other handy commands are: locate 
(assuming you have slocate installed and have run updatedb recently) and 
which.

- -- 
Aaron J. Seigo
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

"Everything should be made as simple as possible, but not simpler"
    - Albert Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+FF8I1rcusafx20MRAs0+AJ4h9R/RUUkhtJ3DTvnhCOKgxAWPPACdHwkS
NrRir19oJkUwpJVHC0ZjM1Q=
=6vQX
-----END PGP SIGNATURE-----

Reply via email to