The following summary indicates the function-specific subdivision of POSIX commands. Since some commands can be allocated to more than one function, it is possible that names may be duplicated. For a detailed description of the commands in alphabetical order please refer to the chapter “Commands”.
The commands are allocated to the following main functions:
Command interpreter
Querying or modifying the user environment
Managing and processing files and texts
outputting
processing
saving and archiving
compressing and restoring to uncompressed state
querying and modifying file properties
modifying and managing the file system
modifying the file system
managing the file system
Printing and print management
Data display terminal
Editors
Auxiliary commands for shell procedures
Reading, converting and outputting characters
Querying and modifying user properties
User administration
Interuser communication
Calendar functions and dates
Arithmetic functions
Compiler commands
Program testing
Job management
Process information
Process control
Inter-process communication
Terminal
Checking storage availability
Information on system data
Online documentation
Flushing the system buffer
Calling BS2000 procedures
Administer POSIX program cache
Network commands
NLS commands (Native Language System)
Command interpreter | |
sh | POSIX shell |
Query or modify user environment | |
cd | change working directory |
env | set environment for command execution |
fuser | display file users |
id | return user identity |
last | display last logged in users |
logname | display login name |
ls | list directory contents |
pwd | return working directory name |
su | substitute user ID |
sudo | Execute a command as another user |
tty | output path name of current terminal |
who | show who is on the system |
Managing and processing files and texts | |
output | |
cat | concatenate and print files |
hd | hex dump |
head | copy the first part of files |
more | page through a text file |
od | dump files in various formats |
pr | prepare files for printing |
strings | find printable strings in object or binary files |
tail | copy the last part of a file |
zcat | display compressed files in expanded form |
process | |
awk | pattern scanning and processing language |
cksum | write file checksums and sizes |
cmp | compare two files |
comm | select or reject lines common to two sorted files |
csplit | context split |
cut | cut out selected fields of each line of a file |
diff | differential file comparator |
edt, edtu | process file with EDT (BS2000) |
egrep | search a file with an ERE pattern |
fgrep | search a file for a fixed-string pattern |
find | find files |
fold | filter for folding lines |
grep | search a file for a pattern |
join | relational database operator |
nl | number lines |
paste | merge corresponding or subsequent lines of files |
patch | use diff list |
sort | sort, merge or sequence check text files |
split | split a file into pieces |
sum | print checksum and block count of a file |
tr | transliterate characters |
tsort | topological sort |
uniq | report or filter out repeated lines in a file |
wc | word, line and byte or character count |
save and archive | |
ar | manage libraries |
cpio | copy in and out |
dd | convert and copy files |
iconv | codeset conversion |
nm | print symbol table of object file |
pax | portable archive processing |
tar | file archiver |
unzip | list, test and extract compressed files in a ZIP archive |
zip | Package and compress (archive) files |
compressing and restoring to uncompressed state | |
compress | compress files |
uncompress | expand compressed files |
zcat | display compressed files in expanded form |
query and modify file properties | |
chgrp | change file group ownership |
chmod | change file modes |
chown | change file ownership |
file | check type of file |
ls | list directory contents |
touch | change file access and modification times |
umask | get or set the file mode creation mask |
Modifying and managing the file system | |
modify file system | |
bs2cp | copy BS2000 files |
bs2file | set BS2000 file attributes |
cp | copy files |
csplit | context split |
find | find files |
fsexpand | Expand existing file systems |
ftyp | determine processing mode for BS2000 files |
ln | link files |
make | maintain groups of files |
mkdir | make directory |
mv | move files |
rm | remove directory entries |
rmdir | remove directories |
split | split a file into pieces |
Manage file system | |
dumpfs | dump file system |
fsck | file system check |
mkfifo | make FIFO special file |
mknod | make an inode |
mount | mount a file system |
mountall | mount file systems |
pathchk | check pathnames |
show_pubset_export | show file systems affected by EXPORT-PUBSET |
start_bs2fsd | start copy daemons |
umount | unmount a file system |
umountall | unmount file systems |
Printing and print management | |
asa | interpret carriage-control characters |
bs2lp | send files to a printer |
cancel | cancel requests to an LP print service |
lp | send requests to an LP print service |
lpstat | print information about the status of the LP print |
pr | prepare files for printing |
Editors | |
ed | interactive line editor |
edt, edtu | process file with EDT (BS2000) |
ex | command and display editor |
sed | stream editor |
vi | display editor (visual) |
Auxiliary commands for shell procedures | |
basename | return non-directory portion of path name |
dirname | return directory portion of path name |
expr | evaluate arguments as an expression |
false | return false value |
getopts | parse utility options |
pathchk | check pathnames |
sleep | suspend execution for an interval |
test | evaluate expression |
true | return true value |
xargs | construct argument list(s) and execute command |
[ ... ] | evaluate expression (like test) |
Reading, converting and outputting characters | |
echo | write arguments to standard output |
hd | hex dump |
od | dump files in various formats |
output mechanism similar to echo | |
printf | formatted output |
tee | join pipes and make copies of input |
Querying and modifying user properties | |
id | return user identity |
logname | display login name |
mesg | permit or deny messages |
newgrp | change to a new group |
User administration | |
fuser | display file users |
last | display last logged in users |
who | show who is on the system |
Interuser communication | |
mailx | interactive message processing system (mail extended) |
mesg | permit or deny messages |
talk | talk to another user |
write | write to another user |
Calendar functions and dates | |
at | execute commands at a later time |
batch | execute commands at a later time |
cal | print calendar |
crontab | regularly execute commands at specific times |
date | write the date and time |
Arithmetic functions | |
bc | arbitrary precision arithmetic language |
expr | evaluate arguments as an expression |
let | integer calculations |
Compiler commands | |
lex | generate programs for lexical tasks |
yacc | yet another compiler-compiler |
Program testing | |
debug | test POSIX programs |
Job management | |
bg | run jobs in the background |
fg | run jobs in the foreground |
jobs | display status of jobs in the current session |
Process information | |
logger | log messages |
ps | report process status |
time | time a simple command |
times | write process times |
Process control | |
at / batch | execute commands at a later time |
kill | terminate or signal processes |
nice | run a command at low priority (be nice) |
nohup | run a command immune to hangups and quits |
renice | alter the scheduling priority of running processes |
sleep | suspend execution for an interval |
wait | await process completion |
Inter-process communication | |
ipcrm | remove inter-process communication facilities |
ipcs | inter-process communication status |
Data display terminal | |
bs2pkey | set P keys |
expand | convert tabs to spaces |
stty | display or modify attributes of a data display station |
tabs | set tabs on a terminal |
tput | initialize a terminal or query the terminfo database |
tty | output path name of current terminal |
unexpand | convert spaces to tabs |
Checking storage availability | |
df | report free disk space |
du | estimate file space usage |
Information on system data | |
info | Online diagnostic tool |
pkginfo | Display informations about software packages |
ps | report process status |
uname | output basic data on the current operating system |
who | show who is on the system |
Online documentation | |
man | display on-line manual pages |
Clearing the system buffer | |
sync | flush system buffer |
Calling BS2000 procedures | |
bs2do | Calling BS2000 procedures from POSIX |
Administer POSIX program cache | |
pdbl | Administer private POSIX loader |
posdbl | Administer POSIX loader |
Networking commands | |
ping | send echo requests to network hosts |
rcp | remote file copy |
rsh | remote shell |
uudecode | decode file after mailing with mailx |
uuencode | encode file for mailing with mailx |
uuname | list names of UUCP systems |
NLS commands (Native Language System) | |
gencat | generate a binary encoded message catalog |
locale | call up information about the locale |
localedef | define locale |
Subsystem administration | |
usp | Dynamic setting of POSIX control parameters |