*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> which (1)              


WHICH(1)							      WHICH(1)

NAME    [Toc]    [Back]

     which - locate a program file including aliases and path (csh only)

SYNOPSIS    [Toc]    [Back]

     which [-a]	[-f] [name...]

DESCRIPTION    [Toc]    [Back]

     Which takes a list	of names and looks for the files which would be
     executed had these	names been given as commands.  Each argument is
     expanded if it is aliased,	and searched for along the user's path.
     Aliases are taken from the	user's .cshrc file.  The current value of path
     is	used.  The -a option reports all instances rather than just the	first
     one.  With	the -f (fast) option, which ignores the	.cshrc file.

FILES    [Toc]    [Back]

     ~/.cshrc  source of aliases

DIAGNOSTICS    [Toc]    [Back]

     A diagnostic is given for names that are aliased to one or	more words, or
     if	an executable file with	the argument name was not found	in the path.

BUGS    [Toc]    [Back]

     Must be executed by a csh,	since only csh's know about aliases.  Only
     aliases and paths from ~/.cshrc are used; importing from the current
     environment, .login, or /etc/cshrc	isn't attempted.

									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
which HP-UX locate a program file including aliases and paths
which Tru64 Locates a program file including aliases and paths
which FreeBSD locate a program file in the user's path
which OpenBSD locate a program file (or files) in the path
whereis HP-UX locate source, binary, and/or manual for program
whereis IRIX locate source, binary, and or manual for program
ftpd Tru64 The File Transfer Protocol server daemon, including anonymous service
aliases OpenBSD aliases file for sendmail
aliases HP-UX aliases file for sendmail
aliases FreeBSD aliases file for sendmail
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service