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


#!shell

#! shell [option ]

Used as the first line of a script to invoke the named shell . Anything given on the rest of the line is passed as a single argument to the named shell . This feature is typically implemented by the kernel, but may not be supported on some older systems. Some systems have a limit of around 32 characters on the maximum length of shell . For example:

#!/bin/sh


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

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