SHELLS(5) File Formats Manual SHELLS(5)

shellsshell database

The shells file contains a list of the shells on the system. For each shell a single line should be present, consisting of the shell's path, relative to root.

A hash mark (``#'') indicates the beginning of a comment; subsequent characters up to the end of the line are not interpreted by the routines which search the file. Blank lines are also ignored.

/etc/shells
The shells file resides in /etc.

getusershell(3)

The shells file format appeared in 4.3BSD-Tahoe.

June 5, 1993 BSD 4.2