The POSIX shell comprises the basic shell (POSIX-BC) and the extended shell (POSIX-SH). It contains the POSIX commands found in the following table.
Entries in the Type column describe the command type:
bin blt scr | separate module built-in in the shell script |
The column LFS describes whether the commands can process large POSIX files:
A S | (large file aware): uses large files correctly (large file safe): recognizes large files but rejects processing in a defined manner |
Name | Location | Type | Delivery | Description | LFS |
alias | /usr/bin | blt+scr | SINLIB.POSIX-BC.SHELL | Define or display alias | |
ar | /usr/bin | bin | SINLIB.POSIX-BC.SHELL | Administer libraries | S |
asa | /usr/bin | bin | SINLIB.POSIX-SH | Convert control characters for positioning | |
at | /usr/bin | bin | SINLIB.POSIX-SH | Execute commands at a later date | |
awk | /usr/bin | bin | SINLIB.POSIX-SH | Programmable processing of text files | A |
basename | /usr/bin | scr | SINLIB.POSIX-BC.SHELL | Separate file name from path | |
batch | /usr/bin | scr | SINLIB.POSIX-BC.SHELL | Execute commands at a later date | |
bc | /usr/bin | bin | SINLIB.POSIX-SH | Arithmetic language | |
bg | - | blt | SINLIB.POSIX-BC.SHELL | Process jobs in background | |
bs2cmd | - | blt | SINLIB.POSIX-BC.SHELL | Execute BS2000 command | |
bs2cp | /usr/bin | blt+bin | SINLIB.POSIX-BC.SHELL | Copy BS2000 files | A |
bs2do | /usr/bin | bin | SINLIB.POSIX-BC.SHELL | Calling BS2000 procedures from POSIX | |
bs2file | /usr/bin | blt+bin | SINLIB.POSIX-BC.SHELL | Define file attributes for BS2000 files | |
bs2lp | /usr/bin | bin | SINLIB.POSIX-BC.SHELL | Print files | |
bs2pkey | /usr/bin | bin | SINLIB.POSIX-BC.SHELL | Assign P keys | |
cal | /usr/bin | bin | SINLIB.POSIX-SH | Display calendar | |
cancel | /usr/bin | bin | SINLIB.POSIX-SH | Delete print jobs | |
cat | /usr/bin | blt+bin | SINLIB.POSIX-BC.SHELL | Concatenate and output files | A |
cd | /usr/bin | blt+scr | SINLIB.POSIX-BC.SHELL | Change current directory | A |
chgrp | /usr/bin | blt+bin | SINLIB.POSIX-BC.SHELL | Change group number of file | A |
chmod | /usr/bin | blt+bin | SINLIB.POSIX-BC.SHELL | Change access rights | A |
chown | /usr/bin | blt+bin | SINLIB.POSIX-BC.SHELL | Change owner of file | A |
cksum | /usr/bin | bin | SINLIB.POSIX-SH | Write checksums and file sizes | A |
cmp | /usr/bin | bin | SINLIB.POSIX-SH | Compare files character by character | A |
comm | /usr/bin | bin | SINLIB.POSIX-SH | Search for identical lines in two sorted files | S |
command | /usr/bin | blt+scr | SINLIB.POSIX-BC.SHELL | Execute simple command | |
compress | /usr/bin | bin | SINLIB.POSIX-SH | Compress files | A |
cp | /sbin | blt+bin | SINLIB.POSIX-BC.SHELL | Copy files | A |
cp | /usr/bin | blt+bin | SINLIB.POSIX-BC.SHELL | Copy files | A |
cpio | /usr/bin | bin | SINLIB.POSIX-BC.SHELL | Swap files and directories in and out | A |
crontab | /usr/bin | bin | SINLIB.POSIX-SH | Execute commands at regular intervals | |
csplit | /usr/bin | bin | SINLIB.POSIX-SH | Split file according to specific criteria | S |
cut | /usr/bin | bin | SINLIB.POSIX-SH | Cut bytes, characters or fields from the lines of a file | S |
date | /usr/bin | blt+bin | SINLIB.POSIX-BC.SHELL | Display time and date | |
dd | /sbin | bin | SINLIB.POSIX-SH | Copy and convert files | S |
debug | /usr/bin | bin | SINLIB.POSIX-BC.ROOT | Test POSIX programs | |
df | /sbin | bin | SINLIB.POSIX-BC.SHELL | Display number of free and occupied disk blocks | A |
diff | /usr/bin | bin | SINLIB.POSIX-SH | Compare files line by line | A |
dirname | /usr/bin | scr | SINLIB.POSIX-BC.SHELL | Separate path prefix from file name | |
du | /usr/bin | bin | SINLIB.POSIX-BC.SHELL | Display occupied memory space | A |
dumpfs | /sbin | bin | SINLIB.POSIX-BC.ROOT | Display internal file system information | |
echo | /usr/bin | blt+bin | SINLIB.POSIX-BC.SHELL | Output call arguments | |
ed | /sbin | bin | SINLIB.POSIX-SH | Line editor in interactive mode | |
edt | - | blt | SINLIB.POSIX-BC.SHELL | Call BS2000 file editor EDT | S |
edtu | - | blt | SINLIB.POSIX-BC.SHELL | Call BS2000 file editor EDT | S |
egrep | /usr/bin | bin | SINLIB.POSIX-SH | Find pattern | S |
env | /usr/bin | bin | SINLIB.POSIX-SH | Change environment when executing commands | |
eval | - | blt | SINLIB.POSIX-BC.SHELL | Process call arguments and execute them as commands | |
ex | /usr/bin | bin | SINLIB.POSIX-SH | Line editor | |
exec | - | blt | SINLIB.POSIX-BC.SHELL | Overlay current shell | |
exit | - | blt | SINLIB.POSIX-BC.SHELL | Terminate shell procedure | |
expand | /usr/bin | bin | SINLIB.POSIX-SH | Convert tab character to blanks | S |
export | - | blt | SINLIB.POSIX-BC.SHELL | Export shell variables | |
expr | /sbin | blt+bin | SINLIB.POSIX-BC.SHELL | Evaluate expressions | |
expr | /usr/bin | blt+bin | SINLIB.POSIX-BC.SHELL | Evaluate expressions | |
false | /usr/bin | alias+scr | SINLIB.POSIX-BC.SHELL | Return end status not equal to 0 | |
fc | /usr/bin | blt+scr | SINLIB.POSIX-BC.SHELL | Access to history file | |
fg | - | blt | SINLIB.POSIX-BC.SHELL | Bring jobs into foreground | |
fgrep | /usr/bin | bin | SINLIB.POSIX-SH | Find strings | S |
file | /usr/bin | bin | SINLIB.POSIX-SH | Define file type | A |
find | /usr/bin | bin | SINLIB.POSIX-SH | Search directories | A |
fold | /usr/bin | bin | SINLIB.POSIX-SH | Split up long lines | S |
fsck | /sbin | bin | SINLIB.POSIX-BC.ROOT | Check consistency of file system and correct interactively with user | |
fsexpand | /sbin | bin | SINLIB.POSIX-BC.ROOT | Expand existing file systems | A |
ftyp | /usr/bin | blt+bin | SINLIB.POSIX-BC.SHELL | Define types of file processing (BS2000) | |
fuser | /usr/sbin | bin | SINLIB.POSIX-BC.ROOT | Display file users | |
gencat | /usr/bin | bin | SINLIB.POSIX-SH | Generate binary coded message catalog | |
genso | /usr/bin | bin | SINLIB.POSIX-BC.ROOT | Generate shared object | |
getconf | /usr/bin | bin | SINLIB.POSIX-SH | Call up configuration values | A |
getopts | /usr/bin | blt+scr | SINLIB.POSIX-BC.SHELL | Search procedure arguments for options | |
grep | /sbin | bin | SINLIB.POSIX-BC.SHELL | Get pattern | A |
hash | /usr/bin | alias+scr | SINLIB.POSIX-BC.SHELL | Process shell hash table | |
hd | /usr/bin | bin | SINLIB.POSIX-BC.ROOT | Hex dump | A |
head | /usr/bin | bin | SINLIB.POSIX-SH | Output start of a file | A |
iconv | /usr/bin | bin | SINLIB.POSIX-BC.SHELL | Convert code | A |
id | /usr/bin | blt+bin | SINLIB.POSIX-BC.SHELL | Output user identification | |
inetd | /usr/sbin | bin | SINLIB.POSIX-BC.ROOT | Daemon for internet services | |
info | /sbin | bin | SINLIB.POSIX-BC.ROOT | Online diagnostic tool | |
ipcrm | /usr/bin | bin | SINLIB.POSIX-BC.ROOT | Remove setup for interprocess communications | |
ipcs | /usr/bin | bin | SINLIB.POSIX-BC.ROOT | Output state of interprocess communications setup | |
jobs | - | blt | SINLIB.POSIX-BC.SHELL | Output job information | |
join | /usr/bin | bin | SINLIB.POSIX-SH | Merge two files according to matching fields | A |
kill | /usr/bin | blt+scr | SINLIB.POSIX-BC.SHELL | Send signals to processes | |
last | /usr/bin | bin | SINLIB.POSIX-BC.ROOT | Display last logged in users | |
let | - | blt | SINLIB.POSIX-BC.SHELL | Integer arithmetic | |
lex | /usr/bin | bin | SINLIB.POSIX-SH | Create scanner | |
ln | /sbin | blt+bin | SINLIB.POSIX-BC.SHELL | Enter reference to file | A |
locale | /usr/bin | bin | SINLIB.POSIX-SH | Call up information on the locale | |
localedef | /usr/bin | bin | SINLIB.POSIX-SH | Define locale | |
logger | /usr/bin | bin | SINLIB.POSIX-SH | Log messages | |
logname | /usr/bin | bin | SINLIB.POSIX-SH | Query login name | |
logrotate | /usr/sbin | scr | SINLIB.POSIX-BC.ROOT | Change logging files of the syslog daemon | S |
lp | /usr/bin | bin | SINLIB.POSIX-SH | Print out files | |
lpstat | /usr/bin | bin | SINLIB.POSIX-SH | Output information on print jobs | |
ls | /usr/bin | blt+bin | SINLIB.POSIX-BC.SHELL | Output information on directories and files | A |
mailx | /usr/bin | bin | SINLIB.POSIX-SH | Interactively process messages | |
make | /usr/bin | bin | SINLIB.POSIX-SH | Manage groups of files | |
man | /usr/bin | scr | SINLIB.POSIX-SH | Use online documentation | |
mesg | /usr/bin | bin | SINLIB.POSIX-SH | Forbid or permit receipt of messages | |
mkdir | /usr/bin | blt+bin | SINLIB.POSIX-BC.SHELL | Create directory | |
mkfifo | /usr/bin | bin | SINLIB.POSIX-SH | Create FIFO | A |
mkfs | /sbin | bin | SINLIB.POSIX-BC.ROOT | Create file system | |
mknod | /sbin | bin | SINLIB.POSIX-BC.ROOT | Create device file | A |
more | /usr/bin | bin | SINLIB.POSIX-SH | Control screen output | A |
mount | /sbin | bin | SINLIB.POSIX-BC.ROOT | Mount file systems and remote resources | |
mountall | /sbin | scr | SINLIB.POSIX-BC.ROOT | Mount two or more file systems | |
mv | /sbin | blt+bin | SINLIB.POSIX-BC.SHELL | Move or rename files | A |
newgrp | /usr/bin | blt+bin | SINLIB.POSIX-BC.SHELL | Modify group membership | |
nice | /usr/bin | bin | SINLIB.POSIX-SH | Change priority of commands | |
nl | /usr/bin | bin | SINLIB.POSIX-SH | Number text lines | S |
nm | /usr/bin | bin | SINLIB.POSIX-SH | Output an object file symbol table | |
nohup | /usr/bin | bin | SINLIB.POSIX-SH | Execute command and ignore signals | |
od | /usr/bin | bin | SINLIB.POSIX-SH | Output file contents in octal format | S |
paste | /usr/bin | bin | SINLIB.POSIX-SH | Merge lines | S |
patch | /usr/bin | bin | SINLIB.POSIX-SH | Use difference report | |
pathchk | /usr/bin | bin | SINLIB.POSIX-SH | Check path names | |
pax | /usr/bin | bin | SINLIB.POSIX-BC.SHELL | Process portable archives | A |
pdbl | /usr/bin | bin | SINLIB.POSIX-BC.ROOT | Administer private POSIX loader | |
ping | /usr/bin | bin | SINLIB.POSIX-BC.ROOT | Send echo requests to network hosts | |
pkginfo | /usr/bin | bin | SINLIB.POSIX-BC.ROOT | Display information about software packages | |
posdbl | /usr/sbin | bin | SINLIB.POSIX-BC.ROOT | Administer POSIX loader | |
pr | /usr/bin | bin | SINLIB.POSIX-SH | Format files and output to standard output | |
- | blt | SINLIB.POSIX-BC.SHELL | Output mechanism similar to echo | ||
printf | /usr/bin | blt+bin | SINLIB.POSIX-SH | Formatted output | |
ps | /sbin | bin | SINLIB.POSIX-BC.SHELL | Query process data | |
pwd | /usr/bin | blt+bin | SINLIB.POSIX-BC.SHELL | Output path name of current working directory | |
rcp | /usr/bin | bin | SINLIB.POSIX-BC.INET | Copy files from or to a remote computer | A |
read | /usr/bin | blt+scr | SINLIB.POSIX-BC.SHELL | Read arguments of standard input and assign shell variables | |
readonly | - | blt | SINLIB.POSIX-BC.SHELL | Protect shell variables | |
renice | /usr/bin | bin | SINLIB.POSIX-SH | Change priority of current processes | |
rm | /sbin | blt+bin | SINLIB.POSIX-BC.SHELL | Delete files | |
rmdir | /sbin | blt+bin | SINLIB.POSIX-BC.SHELL | Delete directories | A |
rmpart | /sbin | bin | SINLIB.POSIX-BC.ROOT | Remove partition | |
rsh | /usr/bin | bin | SINLIB.POSIX-BC.INET | Execute commands on remote computer | |
sed | /usr/bin | bin | SINLIB.POSIX-SH | Editor in procedure mode | |
set | - | blt | SINLIB.POSIX-BC.SHELL | Set options or parameters, output variables | |
sh | /sbin | bin | SINLIB.POSIX-BC.SHELL | POSIX shell command interpreter and programming language | A |
shift | - | blt | SINLIB.POSIX-BC.SHELL | Move values of positional parameters to the left | |
sleep | /usr/bin | blt+bin | SINLIB.POSIX-BC.SHELL | Temporarily halt processes | |
show_pubset_export | /sbin | scr | SINLIB.POSIX-BC.ROOT | show file systems affected by EXPORT-PUBSET | |
sort | /usr/bin | bin | SINLIB.POSIX-BC.SHELL | Sort and/or merge files | |
split | /usr/bin | bin | SINLIB.POSIX-SH | Distribute file across several files | A |
start_bs2fsd | /sbin | scr | SINLIB.POSIX-BC.ROOT | start copy daemons | |
strings | /usr/bin | bin | SINLIB.POSIX-SH | Find printable strings in object or binary files | S |
stty | /usr/bin | bin | SINLIB.POSIX-BC.ROOT | Output or modify attributes of a data display station | |
su | /sbin | bin | SINLIB.POSIX-BC.ROOT | Substitute user ID | |
sum | /usr/bin | bin | SINLIB.POSIX-SH | Calculate checksum of a file | A |
sync | /sbin | bin | SINLIB.POSIX-BC.ROOT | Write back system cache | |
tabs | /usr/bin | bin | SINLIB.POSIX-SH | Set tabulator stops | |
tail | /usr/bin | bin | SINLIB.POSIX-SH | Output the last part of a file | A |
talk | /usr/bin | bin | SINLIB.POSIX-SH | Talk with another user | |
tar | /usr/bin | bin | SINLIB.POSIX-BC.SHELL | Archive files | A |
tee | /usr/bin | bin | SINLIB.POSIX-SH | Join pipes together and copy input | |
test | /usr/bin | blt-scr | SINLIB.POSIX-BC.SHELL | Check conditions | |
time | /usr/bin | bin | SINLIB.POSIX-BC.SHELL | Measure command runtime | |
times | - | blt | SINLIB.POSIX-BC.SHELL | Output total runtime of processes started up to now | |
touch | /usr/bin | blt+bin | SINLIB.POSIX-BC.SHELL | Update modification and access times | A |
tput | /usr/bin | bin | SINLIB.POSIX-SH | Initialize terminal or query terminfo database | |
tr | /usr/bin | bin | SINLIB.POSIX-BC.SHELL | Replace or delete character | A |
trap | - | blt | SINLIB.POSIX-BC.SHELL | Modify signal handling | |
true | /usr/bin | alias+scr | SINLIB.POSIX-BC.SHELL | Return end status 0 | |
tsort | /usr/bin | bin | SINLIB.POSIX-SH | Sort topologically | |
tty | /usr/bin | bin | SINLIB.POSIX-SH | Output path name of current terminal | |
type | /usr/bin | alias+scr | SINLIB.POSIX-BC.SHELL | Query command type | |
typeset | - | blt | SINLIB.POSIX-BC.SHELL | Set attributes for shell variable | |
ulimit | /usr/bin | blt+scr | SINLIB.POSIX-BC.SHELL | Limit file size for writing or query current limit | A |
umask | /usr/bin | blt-scr | SINLIB.POSIX-BC.SHELL | Output or modify default allocation of access rights | |
umount | /sbin | bin | SINLIB.POSIX-BC.ROOT | Unmount file systems and remote resources | |
umountall | /sbin | scr | SINLIB.POSIX-BC.ROOT | Unmount two or more file systems | |
unalias | /usr/bin | blt-scr | SINLIB.POSIX-BC.SHELL | Delete variables from alias tables | |
uname | /sbin | bin | SINLIB.POSIX-BC.SHELL | Output basic data on the current operating system | |
uncompress | /usr/bin | bin | SINLIB.POSIX-SH | Uncompress compressed files | A |
unexpand | /usr/bin | bin | SINLIB.POSIX-SH | Convert blanks to tab characters | S |
uniq | /usr/bin | bin | SINLIB.POSIX-BC.SHELL | Search for repeated lines | |
uudecode | /usr/bin | bin | SINLIB.POSIX-SH | Decode file after mailx transfer | |
uuencode | /usr/bin | bin | SINLIB.POSIX-SH | Encode file for mailx transfer | |
uuname | /usr/bin | bin | SINLIB.POSIX-SH | List names of system | |
usp | /usr/bin | bin | SINLIB.POSIX-BC.ROOT | Dynamisc setting of POSIX control parameters | |
vi | /usr/bin | bin | SINLIB.POSIX-SH | Screen editor | |
wait | /usr/bin | blt+scr | SINLIB.POSIX-BC.SHELL | Wait for termination of background processes | |
wc | /usr/bin | bin | SINLIB.POSIX-SH | Count words, characters and lines | A |
whence | - | blt | SINLIB.POSIX-BC.SHELL | Command localization | |
who | /sbin | bin | SINLIB.POSIX-SH | Show active user IDs | |
write | /usr/bin | bin | SINLIB.POSIX-SH | Send message to a user | |
xargs | /usr/bin | bin | SINLIB.POSIX-SH | Create argument list(s) and execute command | |
yacc | /usr/bin | bin | SINLIB.POSIX-SH | Create parser | |
zcat | /usr/bin | bin | SINLIB.POSIX-SH | Output compressed files | A |