< Previous | Contents | Next >
5 – Working With Commands
Up to this point, we have seen a series of mysterious commands, each with its own mys- terious options and arguments. In this chapter, we will attempt to remove some of that mystery and even create some of our own commands. The commands introduced in this chapter are:
● type – Indicate how a command name is interpreted
● which – Display which executable program will be executed
● help – Get help for shell builtins
● man – Display a command's manual page
● apropos – Display a list of appropriate commands
● info – Display a command's info entry
● whatis – Display a very brief description of a command
● alias – Create an alias for a command
What Exactly Are Commands?Identifying Commandstype – Display A Command's Typewhich – Display An Executable's LocationGetting A Command's Documentationhelp – Get Help For Shell Builtins--help – Display Usage Informationman – Display A Program's Manual Pageapropos – Display Appropriate Commandswhatis – Display A Very Brief Description Of A Commandinfo – Display A Program's Info EntryREADME And Other Program Documentation FilesCreating Your Own Commands With aliasSumming UpFurther Reading