shells(5)

shells5

Shell database

Overview

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.

Files

/etc/shells

The shells file resides in /etc.

Releases

Unchanged in 163 releases since Mac OS X 10.0.

  1. 10.0–26.5

History

The shells file format appeared in 4.3BSD-tahoe.

From files 974.120.2 in macOS 26.5. Parsed by carta from the page's mdoc source.