|
bash
bash - Launches the Bourne-Again SHell, an sh-compatible shell
that incorporates useful features from the Korn and C shells (ksh and csh).
This gives access to the same commands as a linux
bash shell.
To Exit bash (and return to tcsh) type exit
SYNTAX bash [options] OPTIONS -c string Commands are read from string. If there are arguments after the string, they are assigned to the positional parameters, starting with $0. -D A list of all double-quoted strings preceded by $ is printed to standard output. These are the strings that are subject to language translation when the current locale is not C or POSIX. This implies the -n option; no commands will be executed. -PO- = output in the GNU gettext (portable object) file format. -i Interactive shell. -l Make bash act as if it had been invoked as a login shell. -r RESTRICTED SHELL -s If the -s option is present, or if no arguments remain after option processing, then commands are read from the standard input. This option allows the positional parameters to be set when invoking an interactive shell. -v Verbose output. -- A -- signals the end of options and disables further option processing. Any arguments after the -- are treated as file- names and arguments. An argument of - is equivalent to --.
The Bash shell is available in OS X 10.3 (Jaguar)
Default shell
Your default shell is stored in NetInfo, and can be set by editing the User
in:
/System/Administration/NetworkManager.app
Click Users, select a user, and edit the shell field to the complete path of the desired default shell.
Of course you can always switch shells on the fly by just typing the name of new shell - bash, csh, tcsh or zsh.
"What distinguishes the majority of men from the few is their inability
to act according to their beliefs." - Henry
Miller