Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Jan 182009

How to find where a command is stored in Linux


To find out where a command is stored in Linux, you can use the which command to locate the command

# which wget

or use whereis command to locate the binary/source/manual

# whereis wget
wget: /usr/bin/wget /usr/share/man/man1/wget.1.gz

 Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>