UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: cdChapter 4
The Bourne Shell and Korn Shell
Next: Reference: continue
 

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: cdUNIX in a Nutshell: System V EditionNext: Reference: continue
Reference: cdBook IndexReference: 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