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.

How to find where a command is stored in Linux

Answer:

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

# which wget
/usr/bin/wget

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

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

  1. How to resume a partially-downloaded file using wget
  2. Becareful when using the mtime option in find command
  3. Find out the CPU model in Linux
  4. How to find a Perl Module’s Path
  5. Find out physcial memory size in Linux

Leave a Reply

(required)

(required)

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>