command: which
purpose: locate a command  which returns the path names of the files
              which would be executed in the current environment

syntax: which [-a] filename

           -a  print all matching pathnames of each argument

example:

1. To locate command names of gcc ls gdb grep vlc

    $ which gcc ls gdb grep vlc

2. To displays all paths of executable matching to argument.

    $ which -a echo

regards,
dhanasekar
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines

Reply via email to