BUILTIN(1)

NAME
builtin, keybinds - index of FreeBSD shell built-in commands

SYNOPSIS
See the manual for your shell for operation details.

DESCRIPTION
This page provides an index of builtin commands, keywords, and keyboard bindings provided by csh(1) and sh(1), the command line interpreters which comprise the BSD user environment.

  Commands
Below is a table which lists builtin commands and keywords, whether they exist as standalone utilities, and the standard shells that provide them.
Command | Standalone | csh(1) | sh(1)
! | | | Yes
% | | Yes |
. | | | Yes
: | | Yes | Yes
@ | | Yes |
[| Yes | | Yes
{ | | | Yes
} | | | Yes
alias | No* | Yes | Yes
alloc | | Yes |
bg | No* | Yes | Yes
bind | | | Yes
bindkey | | Yes |
break | | Yes | Yes
breaksw | | Yes |
builtin | | | Yes
builtins | | Yes |
case | | Yes | Yes
cd | No* | Yes | Yes
chdir | | Yes | Yes
command | No* | | Yes
complete | | Yes |
continue | | Yes | Yes
default | | Yes |
dirs | | Yes |
do | | | Yes
done | | | Yes
echo | Yes | Yes | Yes
echotc | | Yes |
elif | | | Yes
else | | Yes | Yes
end | | Yes |
endif | | Yes |
endsw | | Yes |
esac | | | Yes
eval | | Yes | Yes
exec | | Yes | Yes
exit | | Yes | Yes
export | | | Yes
false | Yes | | Yes
fc | No* | | Yes
fg | No* | Yes | Yes
filetest | | Yes |
fi | | | Yes
for | | | Yes
foreach | | Yes |
getopts | No* | | Yes
glob | | Yes |
goto | | Yes |
hash | No* | | Yes
hashstat | | Yes |
history | | Yes |
hup | | Yes |
if | | Yes | Yes
jobid | | | Yes
jobs | No* | Yes | Yes
kill | Yes | Yes | Yes
limit | | Yes |
local | | | Yes
log | | Yes |
login | Yes | Yes |
logout | | Yes |
ls-F | | Yes |
nice | Yes | Yes |
nohup | Yes | Yes |
notify | | Yes |
onintr | | Yes |
popd | | Yes |
printenv | Yes | Yes |
printf | Yes | | Yes
pushd | | Yes |
pwd | Yes | | Yes
read | No* | | Yes
readonly | | | Yes
rehash | | Yes |
repeat | | Yes |
return | | | Yes
sched | | Yes |
set | | Yes | Yes
setenv | | Yes |
settc | | Yes |
setty | | Yes |
setvar | | | Yes
shift | | Yes | Yes
source | | Yes |
stop | | Yes |
suspend | | Yes |
switch | | Yes |
telltc | | Yes |
test | Yes | | Yes
then | | | Yes
time | Yes | Yes |
times | | | Yes
trap | | | Yes
true | Yes | | Yes
type | No* | | Yes
ulimit | No* | | Yes
umask | No* | Yes | Yes
unalias | No* | Yes | Yes
uncomplete | | Yes |
unhash | | Yes |
unlimit | | Yes |
unset | | Yes | Yes
unsetenv | | Yes |
until | | | Yes
wait | No* | Yes | Yes
where | | Yes |
which | Yes | Yes |
while | | Yes | Yes

No*: Commands marked ‘No*’ exist externally, but are implemented as scripts using a builtin command of the same name.

  Keybinds
The command line environment also provides the following default keyboard bindings:
Signal | csh(1) | sh(1)
Backspace | ^H | ^H
Carriage Return | ^M | ^J | ^M | ^J
Tab | ^I | ^I
Beginning of Line | ^A | ^A
End of Line | ^E | ^E
Cursor Forward | ^F | ^F
Cursor Backward | ^B | ^B
Clear Screen | ^L | ^L
Cut Line | ^U | ^U
Cut Word Backwards | ^W | ^W
Cut Rest of Line | ^K | ^K
Paste Last Cut | ^Y | ^Y
Typo | ^T | ^T
End of File (EOF) | ^D | ^D
Interupt (SIGINT) | ^C | ^C
Process info (SIGINFO) | ^T | ^T
Search History | | ^R
Exit Search History | | ^G
Previous Command | ^P | ^P
Next Command | ^N | ^N
Print Next Character | ^V | ^V
Pause Job | ^S | ^S
Resume Job | ^Q | ^Q
Suspend Job (SIGTSTP) | ^Z | ^Z
Scrollback Mode | ScrLk* | ScrLk*

*: Bindings marked ‘*’ are provided by vt(4), the console driver.

SEE ALSO
csh(1), echo(1), false(1), kill(1), login(1), nice(1), nohup(1), printenv(1), printf(1), pwd(1), sh(1), test(1), time(1), true(1), which(1)

HISTORY
The builtin manual page first appeared in FreeBSD 3.4.

AUTHORS
-nosplit This manual page was written by Alexander Ziaee <ziaee@FreeBSD.org> from an earlier version by Sheldon Hearn <sheldonh@FreeBSD.org>.

CAVEATS
While builtin commands may exist in more than one shell or standalone, each may be implemented differently.

Standalone utilities and their manuals must be called by their path from a shell with a builtin command of the same name.