- To: George Vieira <georgev@xxxxxxxxxxxxxxxxxxxxxx>
- Subject: determing program availability was: [SLUG] CONFIGURING SLACKWARE TO RECEIVE (RAS)
- From: Anand Kumria <wildfire@xxxxxxxxxxxxxxxxxx>
- Date: Tue Aug 22 17:20:33 2000
- Cc: slug@xxxxxxxxxxx
- Reply-to: slug@xxxxxxxxxxx
- User-agent: Mutt/1.2i
On Tue, Aug 22, 2000 at 04:49:14PM +1000, George Vieira wrote:
> OK.. I have spoken to Katrina and she requires an actual login prompt. She
> doesn't know if she has mgetty installed and I told her to login as root and
> just type mgetty and see if there is any errors like "No such file or
> Directory" or if it errors with a parameter message required and so on.
Another way to do it is using which.
$ which which
/usr/bin/which
If for some reason you don't have `which', and are using bash (csh has
it built in) you can also do:
$ type which # or type -p which for just the path
which is hashed (/usr/bin/which)
Anand