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


type program ...

Print a description of program , i.e., whether it is a shell built in, a function, or an external command. type is built-in to the Bourne and Korn shells. See Chapter 4 and also see which .


Describe cd and ls :

$ type cd ls

cd is a shell builtin
ls is /usr/bin/ls

Previous: Reference: tty UNIX in a Nutshell: System V Edition Next: Reference: umask
Reference: tty Book Index Reference: umask

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