Unix Commands

You might also like

Download as rtf, pdf, or txt
Download as rtf, pdf, or txt
You are on page 1of 10

IEEE Std 1003.

1-2008 utilities Name admin alias ar asa at awk basename batch bc bg c99 cal cat cd cflow chgrp chmod chown cksum cmp comm command compress cp SCCS Misc Misc Text Processing Process Management Text processing Filesystem Process Management Misc Process Management C Programming Misc Filesystem Filesystem C Programming Filesystem Filesystem Filesystem Filesystem Filesystem Text Processing Shell Programming Filesystem Filesystem Category Description Create and administer SCCS files Define or display aliases Create and maintain library archives Interpret carriage-control characters Execute commands at a later time Pattern scanning and processing language Return non-directory portion of a pathname; see also dirname Schedule commands to be executed in a batch queue Arbitrary-precision arithmetic language Run jobs in the background Compile standard C programs Print a calendar Concatenate and print files Change the working directory Generate a C-language flowgraph Change the file group ownership Change the file modes/attributes/permissions Change the file ownership Write file checksums and sizes Compare two files; see also diff Select or reject lines common to two files Execute a simple command Compress data Copy files IEEE Std 1003.12001 Version 5 AT&T UNIX Version 1 AT&T UNIX Version 6 AT&T UNIX System V PWB UNIX Version 1 AT&T UNIX Version 1 AT&T UNIX 4.4BSD Version 1 AT&T UNIX Version 4 AT&T UNIX 4.3BSD Version 1 Version 6 AT&T UNIX First appeared PWB UNIX Version 1 AT&T UNIX System V Version 7 AT&T UNIX Version 7 AT&T UNIX Version 7 AT&T UNIX

crontab csplit ctags cut cxref date dd delta df diff dirname du echo ed env ex expand expr false fc fg file find fold fort77 fuser gencat get getconf getopts

Misc Text Processing C Programming Text Processing C Programming Misc Filesystem SCCS Filesystem Text processing Filesystem Filesystem Shell programming Text processing Misc Text processing Text Processing Shell Programming Shell programming Misc Process Management Filesystem Filesystem

Schedule periodic background work Split files based on context Create a tags file Cut out selected fields of each line of a file Generate a C-language program cross-reference table Display the date and time Convert and copy a file Make a delta (change) to an SCCS file Report free disk space Compare two files; see also cmp Return the directory portion of a pathname; see also basename Estimate file space usage Write arguments to standard output The standard text editor Set the environment for command invocation Text editor Convert tabs to spaces Evaluate arguments as an expression Return false value Process the command history list Run jobs in the foreground Determine file type Find files

AT&T UNIX System V PWB UNIX 3BSD System III System V Version 1 AT&T UNIX Version 5 AT&T UNIX PWB UNIX Version 1 AT&T UNIX Version 5 AT&T UNIX System III Version 1 AT&T UNIX Version 2 AT&T UNIX Version 1 AT&T UNIX System III 1BSD 3BSD Version 7 AT&T UNIX Version 7 AT&T UNIX Version 4 AT&T UNIX Version 1 AT&T UNIX 1BSD XPG4 System V PWB UNIX

Text processing Filter for folding lines FORTRAN77 Programming FORTRAN compiler List process IDs of all processes that have one or more files Process Management open Misc Generate a formatted message catalog SCCS Get a version of an SCCS file Misc Get configuration values Shell Programming Parse utility options

grep hash head iconv id ipcrm ipcs jobs join kill lex link ln locale localedef logger logname lp ls m4 mailx make man mesg mkdir mkfifo more mv newgrp

Misc Misc Text processing Text processing Misc Misc Misc Process Management Text Processing Process Management C Programming Filesystem Filesystem Misc Misc Shell programming Misc Text Processing Filesystem Misc Misc Programming Misc Misc Filesystem Filesystem Text processing Filesystem Misc

Search text for a pattern hash database access method Copy the first part of files Codeset conversion Return user identity Remove a message queue, semaphore set, or shared memory segment identifier Report interprocess communication facilities status Display status of jobs in the current session Merges two sorted text files based on the presence of a common field Terminate or signal processes Generate programs for lexical tasks Create a hard link to a file Link files Get locale-specific information Define locale environment Log messages Return the user's login name Send files to a printer List directory contents Macro processor Process messages Maintain, update, and regenerate groups of programs Display system documentation Permit or deny messages Make directories Make FIFO special files Display files on a page-by-page basis Move files Change to a new group (functionaliy similar to sg[1])

Version 4 AT&T UNIX PWB UNIX[citation


needed]

HP-UX 4.4BSD System V System V Version 7 AT&T UNIX Version 4 AT&T UNIX Version 7 AT&T UNIX Version 1 AT&T UNIX Version 1 AT&T UNIX 4.3BSD 4.4BSD System V Version 1 AT&T UNIX PWB UNIX Version 1 AT&T UNIX PWB UNIX Version 2 AT&T UNIX Version 1 AT&T UNIX Version 1 AT&T UNIX 4.4BSD 3BSD Version 1 AT&T UNIX Version 6

nice nl nm nohup od paste patch pathchk pax pr printf prs ps pwd qalter qdel qhold qmove qmsg qrerun qrls qselect qsig qstat qsub read renice rm rmdel rmdir sact sccs sed

Process Management Text Processing C Programming Process Management Misc Text processing Text processing Filesystem Misc Text processing Shell programming SCCS Process Management Filesystem Batch Utilities Batch Utilities Batch Utilities Batch Utilities Batch Utilities Batch Utilities Batch Utilities Batch Utilities Batch Utilities Batch Utilities Batch Utilities Shell Programming Process Management Filesystem SCCS Filesystem SCCS SCCS Text processing

Invoke a utility with an altered nice value Line numbering filter Write the name list of an object file Invoke a utility immune to hangups Dump files in various formats Merge corresponding or subsequent lines of files Apply changes to files Check pathnames Portable archive interchange Print files Write formatted output Print an SCCS file Report process status print working directory - Return working directory name Alter batch job Delete batch jobs Hold batch jobs Move batch jobs Send message to batch jobs Rerun batch jobs Release batch jobs Select batch jobs Signal batch jobs Show status of batch jobs Submit a script Read a line from standard input Set nice values of running processes Remove directory entries Remove a delta from an SCCS file Remove directories Print current SCCS file-editing activity Front end for the SCCS subsystem Stream editor

AT&T UNIX Version 4 AT&T UNIX System III Version 1 AT&T UNIX Version 4 AT&T UNIX Version 1 AT&T UNIX Version 32V AT&T UNIX 4.3BSD 4.4BSD Version 1 AT&T UNIX 4.3BSDReno PWB UNIX Version 4 AT&T UNIX Version 5 AT&T UNIX

4BSD Version 1 AT&T UNIX PWB UNIX Version 1 AT&T UNIX System III 4.3BSD Version 7

sh

Shell programming

Shell, the standard command language interpreter

sleep sort split strings strip stty tabs tail talk tee test time touch tput tr true tsort tty

Shell programming Text Processing Misc C Programming C Programming Misc Misc Text processing Misc Shell programming Shell programming Process Management Filesystem Misc Text processing Shell programming Text processing Misc

Suspend execution for an interval Sort, merge, or sequence check text files Split files into pieces Find printable strings in files Remove unnecessary information from executable files Set the options for a terminal Set terminal tabs Copy the last part of a file Talk to another user Duplicate standard input Evaluate expression Time a simple command Change file access and modification times Change terminal characteristics Translate characters Return true value Topological sort Return user's terminal name

AT&T UNIX Version 7 AT&T UNIX (in earlier versions, sh was either the Thompson shell or the PWB shell) Version 4 AT&T UNIX Version 1 AT&T UNIX Version 3 AT&T UNIX 2BSD Version 1 AT&T UNIX Version 2 AT&T UNIX PWB UNIX PWB UNIX[citation
needed]

4.2BSD Version 5 AT&T UNIX Version 7 AT&T UNIX Version 3 AT&T UNIX Version 7 AT&T UNIX System V Version 4 AT&T UNIX Version 7 AT&T UNIX Version 7 AT&T UNIX Version 1

AT&T UNIX type ulimit umask unalias uname uncompre ss unexpand unget uniq unlink uucp uudecode uuencode uustat uux val vi wait wc what who write xargs yacc zcat [hide] v t e Misc Misc Misc Misc Misc Misc Text Processing SCCS Text Processing Filesystem Network Network Network Network Process Management SCCS Text processing Process Management Text processing SCCS System Administration Misc Shell Programming C Programming Text Processing Displays how a name would be interpreted if used as a command Set or report file size limit Get or set the file mode creation mask Remove alias definitions Return system name Expand compressed data Convert spaces to tabs Undo a previous get of an SCCS file Report or filter out repeated lines in a file Call the unlink function System-to-system copy Decode a binary file Encode a binary file uucp status inquiry and job control Remote command execution Validate SCCS files Screen-oriented (visual) display editor Await process completion Line, word and byte or character count Identify SCCS files Display who is on the system Write to another user's terminal Construct argument lists and invoke utility Yet another compiler compiler Expand and concatenate data

System III PWB UNIX 4.3BSD 3BSD System III Version 3 AT&T UNIX Version 1 AT&T UNIX Version 7 AT&T UNIX 4BSD 4BSD System III Version 7 AT&T UNIX System III 1BSD Version 4 AT&T UNIX Version 1 AT&T UNIX PWB UNIX Version 1 AT&T UNIX Version 1 AT&T UNIX PWB UNIX PWB UNIX 4.3BSD

Unix command-line interface programs and shell builtins


File system cat

cd chmod chown chgrp cksum cmp cp dd du df file fsck fuser ln ls lsattr lsof mkdir mount mv pax pwd rm rmdir size split tee touch type umask at bg chroot cron Processes fg kill killall nice pgrep pidof

pkill ps pstree time top clear env exit finger history id logname mesg passwd User environment su sudo uptime talk tput uname w wall who whoami write awk banner basename comm csplit cut Text processing dirname ed ex fmt fold head iconv join

less more paste sed sort spell strings tail tr uniq vi wc xargs alias echo expr printf Shell builtins sleep test true and false unset wait yes dig host ifconfig inetd netcat netstat Networking nslookup ping rdate rlogin route ssh traceroute find grep

Searching

locate whatis whereis apropos help man bc dc Miscellaneou s cal date lp lpr

Documentati on

You might also like