home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


command

command [-pvV ] name [arg ...]

ksh93 only. Without -v or -V , execute name with given arguments. This command bypasses any aliases or functions that may be defined for name .

Options

-p

Use a predefined, default search path, not the current value of PATH.

-v

Just like whence .

-V

Just like whence -v .

Example

Create an alias for rm that will get the system's version, and run it with the -i option:

alias 'rm=command -p rm -i'


Previous: Reference: cd UNIX in a Nutshell: System V Edition Next: Reference: continue
Reference: cd Book Index Reference: continue

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System