A survey of what shell commands are available from /bin/sh on different platforms.

Official POSIX Commands

This list of POSIX commands comes from the Shell Hater's Handbook.

Built-in

centos-7 freebsd-10 msys openwrt-12 osx-10 solaris-11 ubuntu-14.04
. built-in built-in built-in built-in built-in built-in built-in
: built-in built-in built-in built-in built-in built-in built-in
break built-in built-in built-in built-in built-in built-in built-in
continue built-in built-in built-in built-in built-in built-in built-in
eval built-in built-in built-in built-in built-in built-in built-in
exec built-in built-in built-in built-in built-in built-in built-in
exit built-in built-in built-in built-in built-in built-in built-in
export built-in built-in built-in built-in built-in built-in built-in
readonly built-in built-in built-in built-in built-in built-in built-in
return built-in built-in built-in built-in built-in built-in built-in
set built-in built-in built-in built-in built-in built-in built-in
shift built-in built-in built-in built-in built-in built-in built-in
times built-in built-in built-in built-in built-in yes built-in
trap built-in built-in built-in built-in built-in built-in built-in
unset built-in built-in built-in built-in built-in built-in built-in

Programming

centos-7 freebsd-10 msys openwrt-12 osx-10 solaris-11 ubuntu-14.04
alias built-in built-in built-in built-in built-in built-in built-in
bc no command no no command command command
command built-in built-in built-in built-in built-in yes built-in
date command command command command command command command
env command command command command command command command
expr command command command command command command command
false built-in built-in built-in built-in built-in built-in built-in
getopts built-in built-in built-in built-in built-in built-in built-in
hash built-in built-in built-in built-in built-in yes built-in
fc built-in built-in built-in no built-in yes no
id command command command command command command command
locale command command no no command command command
localedef command no no no command command command
logger command command no command command command command
logname command command no no command command command
newgrp command command no no command built-in command
pathchk command command no no command command command
pwd built-in built-in built-in built-in built-in built-in built-in
read built-in built-in built-in built-in built-in built-in built-in
sh command command command command command command command
sleep command command command command command command command
test built-in built-in built-in built-in built-in built-in built-in
time built-in command built-in command built-in built-in command
tput command command no no command command command
true built-in built-in built-in built-in built-in built-in built-in
type built-in built-in built-in built-in built-in yes built-in
unalias built-in built-in built-in built-in built-in built-in built-in
uname command command command command command command command
write command command no no command command command
xargs command command command command command command command

Text

centos-7 freebsd-10 msys openwrt-12 osx-10 solaris-11 ubuntu-14.04
awk command command command command command command command
cat command command command command command command command
cksum command command no no command command command
cmp command command command command command command command
comm command command no no command command command
csplit command command no no command command command
cut command command command command command command command
echo built-in built-in built-in built-in built-in built-in built-in
ed no command no no command command command
ex command command no no command command command
expand command command no no command command command
fold command command no no command command command
grep command command command command command command command
head command command command command command command command
join command command no no command command command
more command command no no command command command
nl command command no no command command command
od command command no no command command command
paste command command no no command command command
printf built-in built-in built-in built-in built-in built-in built-in
sed command command command command command command command
sort command command command command command command command
split command command command no command command command
tail command command command command command command command
tr command command command command command command command
tsort command command no no command command command
unexpand command command no no command command command
uniq command command command command command command command
wc command command command command command command command

Files

centos-7 freebsd-10 msys openwrt-12 osx-10 solaris-11 ubuntu-14.04
basename command command command command command command command
cal command command no no command command command
cd built-in built-in built-in built-in built-in built-in built-in
chgrp command command no command command command command
chmod command command command command command command command
chown command command no command command command command
cp command command command command command command command
dd command command no command command command command
df command command no command command command command
dirname command command command command command command command
du command command command command command command command
file command command no no command command command
find command command command command command command command
fuser no command no no command no command
link command command no no command no command
ln command command command command command command command
ls command command command command command command command
mkdir command command command command command command command
mkfifo command command no command command command command
mv command command command command command command command
rm command command command command command command command
rmdir command command command command command command command
tee command command command command command command command
touch command command command command command command command
unlink command command no no command no command

Processes

centos-7 freebsd-10 msys openwrt-12 osx-10 solaris-11 ubuntu-14.04
bg built-in built-in built-in built-in built-in built-in built-in
fg built-in built-in built-in built-in built-in built-in built-in
kill built-in built-in built-in built-in built-in built-in built-in
nice command command no command command command command
nohup command command no no command yes command
ps command command command command command command command
renice command command no no command command command
wait built-in built-in built-in built-in built-in built-in built-in

Job Control

centos-7 freebsd-10 msys openwrt-12 osx-10 solaris-11 ubuntu-14.04
at no command no no command command command
batch no command no no command command command
jobs built-in built-in built-in built-in built-in built-in built-in

Development

centos-7 freebsd-10 msys openwrt-12 osx-10 solaris-11 ubuntu-14.04
ar command command no no command command command
asa no command no no command command no
c99 no command no no command no command
cflow no no no no no no no
ctags no command no no command command no
cxref no no no no no no no
diff command command command no command command command
fort77 no no no no no no no
gencat command command no no command no command
iconv command command command no command command command
lex no command no no command command no
m4 no command command no command command no
make command command no no command command command
man command command no no command command command
nm command command no no command command command
patch no command command no command command command
strings command command no command command command command
strip command command no no command command command
vi command command command command command command command
yacc no command command no command command no

Admin

centos-7 freebsd-10 msys openwrt-12 osx-10 solaris-11 ubuntu-14.04
crontab command command no command command command command
getconf command command no no command command command
ulimit built-in built-in built-in built-in built-in built-in built-in
umask built-in built-in built-in built-in built-in built-in built-in
who command command no no command command command

Terminal

centos-7 freebsd-10 msys openwrt-12 osx-10 solaris-11 ubuntu-14.04
stty command command no no command command command
tabs command command no no command command command
tty command command no no command command command

Comm

centos-7 freebsd-10 msys openwrt-12 osx-10 solaris-11 ubuntu-14.04
mailx no command no no command command no
mesg command command no no command command command
talk no command no no command command no
uucp no no no no command no no
uudecode no command no no command command no
uuencode no command no no command command no
uustat no no no no command no no
uux no no no no command no no

Compression

centos-7 freebsd-10 msys openwrt-12 osx-10 solaris-11 ubuntu-14.04
compress no command no no command command no
pax no command no no command command no
uncompress no command no no command command command
zcat command command no command command command command

Additional Useful Commands

Built-in

centos-7 freebsd-10 msys openwrt-12 osx-10 solaris-11 ubuntu-14.04
declare built-in no built-in no built-in no no
function built-in no built-in no built-in built-in no
local built-in built-in built-in built-in built-in no built-in
popd built-in no built-in no built-in no no
pushd built-in no built-in no built-in no no
shopt built-in no built-in no built-in no no
typeset built-in no built-in no built-in built-in no

Shell

centos-7 freebsd-10 msys openwrt-12 osx-10 solaris-11 ubuntu-14.04
ash no no no command no no no
bash command no command command command command command
csh no command no no command command no
dash no no no no no no command
ksh no no no no command command no
ksh93 no no no no no command no
tcsh no command no no command command no
zsh no no no no command command no

Scripting Language

centos-7 freebsd-10 msys openwrt-12 osx-10 solaris-11 ubuntu-14.04
perl no command command no command command command
python command no no no command command command
python2 command no no no no no command
python3 no no no no no no command
ruby no no no no command command command

Programming

centos-7 freebsd-10 msys openwrt-12 osx-10 solaris-11 ubuntu-14.04
seq command command no command command command command
units no command no no command command no
yes command command no command command command command

Text

centos-7 freebsd-10 msys openwrt-12 osx-10 solaris-11 ubuntu-14.04
less command command command command command command command

Files

centos-7 freebsd-10 msys openwrt-12 osx-10 solaris-11 ubuntu-14.04
chroot no command no command command no command
cksum command command no no command command command
locate no command no no command command command
lsof no no no no command no command
mktemp command command no command command command command
mount command command no command command no command
stat command command no no command command command
sum command command no no command command command
sync command command no command command command command
tar command command command command command command command
umount command command no command command no command
whereis command command no no command no command
which command command command command command command command

Processes

centos-7 freebsd-10 msys openwrt-12 osx-10 solaris-11 ubuntu-14.04
killall no command no command command no command
pgrep command command no command command command command
pkill command command no no command command command

Development

centos-7 freebsd-10 msys openwrt-12 osx-10 solaris-11 ubuntu-14.04
git no no command no command command no

Admin

centos-7 freebsd-10 msys openwrt-12 osx-10 solaris-11 ubuntu-14.04
dmesg command command no command command command command
free command no no command no no command
reboot no command no command command no command
shutdown no command no command command no command
su command command no no command command command
sudo command command no command command command command
uptime command command no command command command command

Terminal

centos-7 freebsd-10 msys openwrt-12 osx-10 solaris-11 ubuntu-14.04
clear command command command command command command command
screen no no no no command command command
tmux no no no no no no command

Network

centos-7 freebsd-10 msys openwrt-12 osx-10 solaris-11 ubuntu-14.04
curl command no command no command command command
dig no no no no command no command
hostname command command no no command command command
ifconfig no command no command command no command
mtr no no no no no no command
nc no command no command command command command
netstat command command no command command command command
nslookup no no no command command no command
ping command command no command command no command
rsync no command no no command command command
scp command command command command command command command
ssh command command command command command command command
wget command no no command no command command

Compression

centos-7 freebsd-10 msys openwrt-12 osx-10 solaris-11 ubuntu-14.04
bzip2 command command command no command command command
gzip command command command command command command command
zip no no no no command command no

Misc

centos-7 freebsd-10 msys openwrt-12 osx-10 solaris-11 ubuntu-14.04
history built-in no built-in no built-in yes no
logout built-in no built-in no built-in no no
openssl command command command no command command command
watch command command no no no no command
whoami command command no no command command command
xdg-open no no no no no command no