Menu Close

Linux命令清单

This is a list of Unix commands as specified by IEEE Std 1003.1-2008, which is part of the Single UNIX Specification (SUS). These commands can be found on Unix operating systems and most Unix-like operating systems.

List of Unix Commands [1]

IEEE Std 1003.1-2008 utilities
Name Category Status (Option code) Description First appeared
1
admin
SCCS Optional (XSI) Create and administer SCCS files PWB UNIX
1
alias
Misc Mandatory Define or display aliases
1
ar
Misc Mandatory Create and maintain library archives Version 1 AT&T UNIX
1
asa
Text processing Optional (FR) Interpret carriage-control characters System V
1
at
Process management Mandatory Execute commands at a later time Version 7 AT&T UNIX
1
awk
Text processing Mandatory Pattern scanning and processing language Version 7 AT&T UNIX
1
basename
Filesystem Mandatory Return non-directory portion of a pathname; see also dirname Version 7 AT&T UNIX
1
batch
Process management Mandatory Schedule commands to be executed in a batch queue
1
bc
Misc Mandatory Arbitrary-precision arithmetic language Version 6 AT&T UNIX
1
bg
Process management Optional (UP) Run jobs in the background
1
cc

/

1
c99
C programming Optional (CD) Compile standard C programs IEEE Std 1003.1-2001
1
cal
Misc Optional (XSI) Print a calendar Version 5 AT&T UNIX
1
cat
Filesystem Mandatory Concatenate and print files Version 1 AT&T UNIX
1
cd
Filesystem Mandatory Change the working directory Version 6 AT&T UNIX
1
cflow
C programming Optional (XSI) Generate a C-language call graph System V
1
chgrp
Filesystem Mandatory Change the file group ownership PWB UNIX
1
chmod
Filesystem Mandatory Change the file modes/attributes/permissions Version 1 AT&T UNIX
1
chown
Filesystem Mandatory Change the file ownership Version 1 AT&T UNIX
1
cksum
Filesystem Mandatory Write file checksums and sizes 4.4BSD
1
cmp
Filesystem Mandatory Compare two files; see also diff Version 1 AT&T UNIX
1
comm
Text processing Mandatory Select or reject lines common to two files Version 4 AT&T UNIX
1
command
Shell programming Mandatory Execute a simple command
1
compress
Filesystem Optional (XSI) Compress data 4.3BSD
1
cp
Filesystem Mandatory Copy files Version 1 AT&T UNIX
1
crontab
Misc Mandatory Schedule periodic background work System V
1
csplit
Text processing Mandatory Split files based on context PWB UNIX
1
ctags
C programming Optional (SD) Create a tags file 3BSD
1
cut
Text processing Mandatory Cut out selected fields of each line of a file System III
1
cxref
C programming Optional (XSI) Generate a C-language program cross-reference table System V
1
date
Misc Mandatory Display the date and time Version 1 AT&T UNIX
1
dd
Filesystem Mandatory Convert and copy a file Version 5 AT&T UNIX
1
delta
SCCS Optional (XSI) Make a delta (change) to an SCCS file PWB UNIX
1
df
Filesystem Mandatory Report free disk space Version 1 AT&T UNIX
1
diff
Text processing Mandatory Compare two files; see also cmp Version 5 AT&T UNIX
1
dirname
Filesystem Mandatory Return the directory portion of a pathname; see also basename System III
1
du
Filesystem Mandatory Estimate file space usage Version 1 AT&T UNIX
1
echo
Shell programming Mandatory Write arguments to standard output Version 2 AT&T UNIX
1
ed
Text processing Mandatory The standard text editor Version 1 AT&T UNIX
1
env
Misc Mandatory Set the environment for command invocation System III
1
ex
Text processing Optional (XSI) Text editor 1BSD
1
expand
Text processing Mandatory Convert tabs to spaces 3BSD
1
expr
Shell programming Mandatory Evaluate arguments as an expression Version 7 AT&T UNIX
1
false
Shell programming Mandatory Return false value Version 7 AT&T UNIX
1
fc
Misc Optional (UP) Process the command history list
1
fg
Process management Optional (UP) Run jobs in the foreground
1
file
Filesystem Mandatory Determine file type Version 4 AT&T UNIX
1
find
Filesystem Mandatory Find files Version 1 AT&T UNIX
1
fold
Text processing Mandatory Filter for folding lines 1BSD
1
fort77
FORTRAN77 programming Obsolescent (FD) FORTRAN compiler XPG4
1
fuser
Process management Optional (XSI) List process IDs of all processes that have one or more files open System V
1
gencat
Misc Mandatory Generate a formatted message catalog
1
get
SCCS Optional (XSI) Get a version of an SCCS file PWB UNIX
1
getconf
Misc Mandatory Get configuration values
1
getopts
Shell programming Mandatory Parse utility options
1
grep
Misc Mandatory Search text for a pattern Version 4 AT&T UNIX
1
hash
Misc Mandatory Hash database access method
1
head
Text processing Mandatory Copy the first part of files PWB UNIX[citation needed]
1
iconv
Text processing Mandatory Codeset conversion HP-UX
1
id
Misc Mandatory Return user identity System V
1
ipcrm
Misc Optional (XSI) Remove a message queue, semaphore set, or shared memory segment identifier System V
1
ipcs
Misc Optional (XSI) Report interprocess communication facilities status System V
1
jobs
Process management Optional (UP) Display status of jobs in the current session
1
join
Text processing Mandatory Merges two sorted text files based on the presence of a common field Version 7 AT&T UNIX
1
kill
Process management Mandatory Terminate or signal processes Version 4 AT&T UNIX
1
lex
C programming Optional (CD) Generate programs for lexical tasks Version 7 AT&T UNIX
1
link
Filesystem Optional (XSI) Create a hard link to a file Version 1 AT&T UNIX
1
ln
Filesystem Mandatory Link files Version 1 AT&T UNIX
1
locale
Misc Mandatory Get locale-specific information
1
localedef
Misc Mandatory Define locale environment
1
logger
Shell programming Mandatory Log messages 4.3BSD
1
logname
Misc Mandatory Return the user’s login name 4.4BSD
1
lp
Text processing Mandatory Send files to a printer System V
1
ls
Filesystem Mandatory List directory contents Version 1 AT&T UNIX
1
m4
Misc Mandatory Macro processor PWB UNIX
1
mailx
Misc Mandatory Process messages Version 1 AT&T UNIX
1
make
Programming Optional (SD) Maintain, update, and regenerate groups of programs PWB UNIX
1
man
Misc Mandatory Display system documentation Version 2 AT&T UNIX
1
mesg
Misc Mandatory Permit or deny messages Version 1 AT&T UNIX
1
mkdir
Filesystem Mandatory Make directories Version 1 AT&T UNIX
1
mkfifo
Filesystem Mandatory Make FIFO special files 4.4BSD[dubious ]
1
more
Text processing Optional (UP) Display files on a page-by-page basis 3BSD
1
mv
Filesystem Mandatory Move or rename files Version 1 AT&T UNIX
1
newgrp
Misc Mandatory Change to a new group Version 6 AT&T UNIX
1
nice
Process management Mandatory Invoke a utility with an altered nice value Version 4 AT&T UNIX
1
nl
Text processing Optional (XSI) Line numbering filter System III
1
nm
C programming Optional (SD, XSI) Write the name list of an object file Version 1 AT&T UNIX
1
nohup
Process management Mandatory Invoke a utility immune to hangups Version 4 AT&T UNIX
1
od
Misc Mandatory Dump files in various formats Version 1 AT&T UNIX
1
paste
Text processing Mandatory Merge corresponding or subsequent lines of files Version 32V AT&T UNIX
1
patch
Text processing Mandatory Apply changes to files 4.3BSD
1
pathchk
Filesystem Mandatory Check pathnames
1
pax
Misc Mandatory Portable archive interchange 4.4BSD[citation needed]
1
pr
Text processing Mandatory Print files Version 1 AT&T UNIX
1
printf
Shell programming Mandatory Write formatted output 4.3BSD-Reno
1
prs
SCCS Optional (XSI) Print an SCCS file PWB UNIX
1
ps
Process management Mandatory Report process status Version 4 AT&T UNIX
1
pwd
Filesystem Mandatory Print working directory Version 5 AT&T UNIX
1
qalter
Batch utilities Obsolescent (BE) Alter batch job
1
qdel
Batch utilities Obsolescent (BE) Delete batch jobs
1
qhold
Batch utilities Obsolescent (BE) Hold batch jobs
1
qmove
Batch utilities Obsolescent (BE) Move batch jobs
1
qmsg
Batch utilities Obsolescent (BE) Send message to batch jobs
1
qrerun
Batch utilities Obsolescent (BE) Rerun batch jobs
1
qrls
Batch utilities Obsolescent (BE) Release batch jobs
1
qselect
Batch utilities Obsolescent (BE) Select batch jobs
1
qsig
Batch utilities Obsolescent (BE) Signal batch jobs
1
qstat
Batch utilities Obsolescent (BE) Show status of batch jobs
1
qsub
Batch utilities Obsolescent (BE) Submit a script
1
read
Shell programming Mandatory Read a line from standard input
1
renice
Process management Mandatory Set nice values of running processes 4BSD
1
rm
Filesystem Mandatory Remove directory entries Version 1 AT&T UNIX
1
rmdel
SCCS Optional (XSI) Remove a delta from an SCCS file PWB UNIX
1
rmdir
Filesystem Mandatory Remove directories, if they are empty. Version 1 AT&T UNIX
1
sact
SCCS Optional (XSI) Print current SCCS file-editing activity System III
1
sccs
SCCS Optional (XSI) Front end for the SCCS subsystem 4.3BSD
1
sed
Text processing Mandatory Stream editor Version 7 AT&T UNIX
1
sh
Shell programming Mandatory Shell, the standard command language interpreter Version 7 AT&T UNIX (in earlier versions, sh was either the Thompson shell or the PWB shell)
1
sleep
Shell programming Mandatory Suspend execution for an interval Version 4 AT&T UNIX
1
sort
Text processing Mandatory Sort, merge, or sequence check text files Version 1 AT&T UNIX
1
split
Misc Mandatory Split files into pieces Version 3 AT&T UNIX
1
strings
C programming Mandatory Find printable strings in files 2BSD
1
strip
C programming Optional (SD) Remove unnecessary information from executable files Version 1 AT&T UNIX
1
stty
Misc Mandatory Set the options for a terminal Version 2 AT&T UNIX
1
tabs
Misc Mandatory Set terminal tabs PWB UNIX
1
tail
Text processing Mandatory Copy the last part of a file PWB UNIX[citation needed]
1
talk
Misc Optional (UP) Talk to another user 4.2BSD
1
tee
Shell programming Mandatory Duplicate the standard output Version 5 AT&T UNIX
1
test
Shell programming Mandatory Evaluate expression Version 7 AT&T UNIX
1
time
Process management Mandatory Time a simple command Version 3 AT&T UNIX
1
touch
Filesystem Mandatory Change file access and modification times Version 7 AT&T UNIX
1
tput
Misc Mandatory Change terminal characteristics System V
1
tr
Text processing Mandatory Translate characters Version 4 AT&T UNIX
1
true
Shell programming Mandatory Return true value Version 7 AT&T UNIX
1
tsort
Text processing Mandatory Topological sort Version 7 AT&T UNIX
1
tty
Misc Mandatory Return user’s terminal name Version 1 AT&T UNIX
1
type
Misc Optional (XSI) Displays how a name would be interpreted if used as a command
1
ulimit
Misc Optional (XSI) Set or report file size limit
1
umask
Misc Mandatory Get or set the file mode creation mask System III
1
unalias
Misc Mandatory Remove alias definitions
1
uname
Misc Mandatory Return system name PWB UNIX
1
uncompress
Misc Optional (XSI) Expand compressed data 4.3BSD
1
unexpand
Text processing Mandatory Convert spaces to tabs 3BSD
1
unget
SCCS Optional (XSI) Undo a previous get of an SCCS file System III
1
uniq
Text processing Mandatory Report or filter out repeated lines in a file Version 3 AT&T UNIX
1
unlink
Filesystem Optional (XSI) Call the unlink function Version 1 AT&T UNIX
1
uucp
Network Optional (UU) System-to-system copy Version 7 AT&T UNIX
1
uudecode
Network Mandatory Decode a binary file 4BSD
1
uuencode
Network Mandatory Encode a binary file 4BSD
1
uustat
Network Optional (UU) uucp status inquiry and job control System III
1
uux
Process management Optional (UU) Remote command execution Version 7 AT&T UNIX
1
val
SCCS Optional (XSI) Validate SCCS files System III
1
vi
Text processing Optional (UP) Screen-oriented (visual) display editor 1BSD
1
wait
Process management Mandatory Await process completion Version 4 AT&T UNIX
1
wc
Text processing Mandatory Line, word and byte or character count Version 1 AT&T UNIX
1
what
SCCS Optional (XSI) Identify SCCS files PWB UNIX
1
who
System administration Mandatory Display who is on the system Version 1 AT&T UNIX
1
write
Misc Mandatory Write to another user’s terminal Version 1 AT&T UNIX
1
xargs
Shell programming Mandatory Construct argument lists and invoke utility PWB UNIX
1
yacc
C programming Optional (CD) Yet another compiler compiler PWB UNIX
1
zcat
Text processing Optional (XSI) Expand and concatenate data 4.3BSD

[1] – 该清单来自维基百科, 不属于必须掌握范围,只了解即可

 

Posted in Linux, Linux

发表评论

相关链接