13.12. Built-In Commands

Rather than residing on disk like UNIX 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:

Example 13.86.
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      printenv   pushd      rehash
					repeat     sched      set        setenv    settc      setty      shift
					source stop suspend switch telltc ...

Get UNIX® Shells by Example, Third Edition 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.