[Chapter 2] UNIX Commands
Author: Daniel Gilly & the Staff of O'Reilly & Associates
Date: 1998-08-06T21:51:46Z

#

| Chapter 2 |

# 2. UNIX Commands

Contents:
Alphabetical Summary of Commands

This section presents the UNIX commands of interest to users and programmers. Most of these commands appear in the "Commands" section of the User's Reference Manual and Programmer's Reference Manual for UNIX System V Release 4 (SVR4). This section describes additional commands from the compatibility packages; these commands are prefixed with /usr/ucb, the name of the directory in which they reside. With some exceptions, these commands are only in SVR4. Also included here are commands specific to Solaris 2.0, such as the debugger dbx and the start-up script for OpenWindows, openwin.

Each entry is labeled with the command name on the outer edge of the page. The syntax line is followed by a brief description and a list of all available options. (Obsolete options have been marked as "SVR3 only.") Many commands come with examples at the end of the entry. If you need only a quick reminder or suggestion about a command, you can skip directly to the examples.

Some options can be invoked only by a user with special system privileges. Such a person is often called a superuser. In this book we use the term `privileged user` instead.

Typographic conventions for describing command syntax are listed in the Preface. For additional help in locating commands, see the Command Index (Section 22) at the back of this guide.

## 2.1 Alphabetical Summary of Commands

- admin
- apropos
- ar
- as
- at
- atq
- atrm
- awk
- banner
- basename
- batch
- bc
- bdiff
- bfs
- cal
- calendar
- cancel
- cat
- cb
- cc
- cd
- cdc
- cflow
- chgrp
- chkey
- chmod
- chown
- clear
- cmp
- cof2elf
- col
- comb
- comm
- compress
- cp
- cpio
- crontab
- crypt
- cscope
- csh
- csplit
- ctags
- ctrace
- cu
- cut
- cxref
- date
- dbx
- dc
- dd
- delta
- deroff
- df
- diff
- diff3
- diffmk
- dircmp
- dirname
- dis
- download
- dpost
- du
- echo
- ed
- edit
- egrep
- env
- eqn
- ex
- expr
- exstr
- face
- factor
- false
- fgrep
- file
- find
- finger
- fmli
- fmt
- fmtmsg
- fold
- ftp
- gcore
- gencat
- get
- getopts
- gettxt
- gprof
- grep
- groups
- head
- help
- hostid
- hostname
- iconv
- id
- install
- ipcrm
- ipcs
- ismpx
- join
- jsh
- jterm
- jwin
- keylogin
- keylogout
- kill
- ksh
- layers
- ld
- ldd
- lex
- line
- lint
- ln
- login
- logname
- lorder
- lp
- lpq
- lpr
- lprm
- lprof
- lpstat
- lptest
- ls
- m4
- m4
- mail
- mailalias
- mailx
- make
- makekey
- man
- mcs
- mesg
- mkdir
- mkmsgs
- more
- mv
- nawk
- newform
- newgrp
- news
- nice
- nl
- nm
- nohup
- notify
- nroff
- od
- openwin
- pack
- page
- passwd
- paste
- pcat
- pg
- pic
- pr
- printenv
- printf
- prof
- prs
- ps
- ptx
- pwd
- rcp
- red
- regcmp
- relogin
- reset
- rksh
- rlogin
- rm
- rmdel
- rmdir
- rsh
- rsh
- ruptime
- rwho
- sact
- sccs
- sccsdiff
- script
- sdb
- sdiff
- sed
- sh
- shl
- shutdown
- size
- sleep
- soelim
- sort
- spell
- split
- srchtxt
- strings
- strip
- stty
- su
- sum
- tabs
- tail
- talk
- tar
- tbl
- tee
- telnet
- test
- time
- timex
- touch
- tput
- tr
- troff
- true
- truss
- tset
- tsort
- tty
- umask
- uname
- uncompress
- unget
- uniq
- units
- unpack
- uptime
- users
- uucp
- uudecode
- uuencode
- uuglist
- uulog
- uuname
- uupick
- uustat
- uuto
- uux
- vacation
- val
- vc
- vedit
- vi
- view
- w
- wait
- wall
- wc
- what
- whatis
- which
- who
- whoami
- whois
- write
- xargs
- yacc
- zcat

1.5 Guide for Users of BSD-derived Systems |  | 3. The UNIX Shell: An Overview