where

Report all known instances of command in path.

Syntax
       where command

Report all known instances of command, including aliases, builtins and executables in path.

Use the type command to be sure the file is the type of program you are expecting.

"Work like you don't need the money, love like you've never been hurt, and dance like nobodys watching" ~ Satchel 'Satchmo' Paige

Related:

type - Describe a command.
find - Search for files that meet a desired criteria
grep - Search file(s) for lines that match a given pattern
ln - Make links between files (hard links, symbolic links)
ls - List information about file(s)
locate - Find files
which - Locate a program file in the user's path


© Copyright SS64.com 1999-2014
Some rights reserved