11.11. Built-In Commands

Rather than residing on disk like Linux executable commands, built-in commands are part of the TC shell's internal code and are executed from within the shell. If a built-in command occurs as any component of a pipeline except the last, it is executed in a subshell. The tcsh command aptly called, builtins, lists all the built-in commands (see Example 11.48 below). For a description of each built-in, see Table 10.24 on page 591.

Example 11.48.
1  > builtins
					:          @          alias      alloc     bg         bindkey    break
					breaksw    builtins   case       cd        chdir      complete   continue
					default    dirs       echo       echotc    else       end        endif
					endsw      eval       exec       exit      fg         filetest   foreach
					glob       goto       hashstat   history   hup        if         jobs
					kill       limit      log        login     logout     ls-F       nice
					nohup notify onintr popd ...

Get Linux Shells by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.