In the table below we summarize the more frequently used commands on a Unix system. In this table, as in general, for most Unix commands, file, could be an actual file name, or a list of file names, or input/output could be redirected to or from the command.
Scan for patterns in a file and process the results.
Concatenate (list) a file.
Change the group of the file.
Change file or directory access permissions.
Change the ownership of a file; can only be done by the superuser.
Change the user's login shell (often only by the superuser).
Compare two files and list where differences occur (text or binary files).
Compress file and save it as file.Z
Copy file1 into file2; file2 shouldn't already exist. This command creates or overwrites file2.
Cut specified field(s)/character(s) from lines in file(s).
Report the current date and time.
Copy a file, converting between ASCII and EBCDIC or swapping byte order, as specified.
Compare the two files and display the differences (text files only).
Report the summary of disk blocks and inodes free and in use.
Report amount of disk space in use.
Echo the text string to stdout.
Unix line editors.
Evaluate the arguments. Used to do arithmetic, etc. in the shell.
Classify the file type.
Find files matching a type or pattern.
Report information about users on local and remote machines.
Transfer file(s) using file transfer protocol.
Search the argument (in this case probably a file) for all occurrences of the search string, and list them.
Compress or uncompress a file. Compressed files are stored with a .gz ending.
Display the first 10 (or number of) lines of a file.
Display or set (super-user only) the name of the current machine.
Send a signal to the process with the process id number (pid#) or job control number (%n). The default signal is to kill the process.
Link the source_file to the target.
Show the status of print jobs.
Print to defined printer.
Remove a print job from the print queue.
List directory contents or file permissions.
Simple email utility available on Unix systems. Type a period as the first character on a new line to send message out, question mark for help.
Show the manual (man) page for a command.
Make a directory.
Page through a text file.
Move file1 into file2.
Octal dump a binary file, in octal, ASCII, hex, decimal, or character mode.
Set or change your password.
Paste field(s) onto the lines in file.
Filter the file and print it on the terminal.
Show status of active processes.
Print working (current) directory.
Remotely copy files from this machine to another machine.
Login remotely to another machine.
Remove (delete) a file or directory (-r recursively deletes the directory and its contents) (-i prompts before removing files).
Remove a directory.
Remote shell to run on another machine.
Saves everything that appears on the screen to file until exit is executed.
Stream editor for editing files from a script or from the command line.
Sort the lines of the file according to the options chosen.
Read commands from the file and execute them in the current shell. source: C shell, .: Bourne shell.
Report any sequence of 4 or more printable characters ending in
Set or display terminal control options.
Display the last few lines (or parts) of a file.
Tape archiver--refer to man pages for details on creating, listing, and retrieving from archive files. Tar files can be stored on tape or disk.
Copy stdout to one or more files.
Communicate with another host using telnet protocol.
Create an empty file, or update the access time of an existing file.
Translate the characters in string1 from stdin into those in string2 in stdout.
Uncompress file.Z and save it as a file.
Remove repeated lines in a file.
Decode a uuencoded file, recreating the original file.
Encode binary file to 7-bit ASCII, useful when sending via email, to be decoded as new_name at destination.
Visual, full-screen editor.
Display word (or character or line) count for file(s).
Report the binary, source, and man page locations for the command named.
Reports the path to the command or the shell alias in use.
Report who is logged in and what processes are running.
Concatenate (list) uncompressed file to screen, leaving file compressed on disk.
Copyright © 1996 by Frank Fiamingo, Linda DeBula and Linda Condron, University Technology Services, The Ohio State University, 406 Baker Systems, 1971 Neil Avenue, Columbus, OH 43210.
Last update: 2019-02-13T00:24:41+00:00