shell_builtins — Shell Command Interpreter Built-in Functions

Description

The sh(1), csh(1), and ksh(1) shell command interpreters have special built-in functions that are interpreted by the shell as commands. Many of these built-in commands are implemented by more than one of the shells, and some are unique to a particular shell. The commands are listed in the following table.

Command Bourne Shell Korn Shell C Shell
alias  x x
bg x x x
break x x x
case x x x
cd x x x
chdir x  x
continue x x x
dirs  x
echo x x x
eval x x x
exec x x x
exit x x x
export x x 
fc  x 
fg x x x
for x x 
foreach   x
function  x 
getopts x x 
glob   x
goto   x
hash x x 
hashstat   x
history   x
if x x x
jobs x x x
kill x x x
let  x 
limit   x
login x x x
logout

Get Solaris™ 7 Reference 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.