Home > Unix > UNIX – Lesson 027 – man command and quick reference

UNIX – Lesson 027 – man command and quick reference

With the “man” command, you can retrieve the information in the manual and display it as text output on your screen.
To use the man command, at the Unix prompt, enter:

man topic
Replace topic with the name of the manual item about which you want more information. For example, to find out more about the FTP command, at the Unix prompt, enter:

$ man ftp



In the first column we can see the command (obviously the command is in lower case) and in the second column a little description about the “what can do it”.

For further information you can go back in the lessons.

AT schedules a program to run at a specific time
CANCEL removes the requests from the print queue
CAT concatenates and displays the content of one or more files
CD changes working directory

changes the group associated with files and directories

changes filesystem modes of files and directories

changes the owner of a files and directories

compresses/expands a file, that is replaced by new one with the extension .Z

copies files or directories

allows to schedule job’s execution periodically

writes the date and time

reports the file system disk space

compares the contents of file1 and file2 and writes to standard output a list of changes necessary to convert file1 into file2

summarizes disk usage

writes its arguments, separated by BLANK and terminated by a NEWLINE, to the standard output

determines the file type

descends recursively the directory hierarchy for each path seeking files that match a boolean expression

transfers file from one computer to another
GREP searches inside a text file for a pattern and prints all lines that contain the pattern

compresses/expands a file that is replaced by new one with the extension .gz

displays the beginning of a file

sets or prints name of current host system

displays jobs currently running (background)

sends a terminate signal to a process

creates a link to a file

submits print requests to a destination

displays information about the current status of the LP print service

lists the content of a directory

makes directory

displays files, one screen at a time

moves or renames files or directories

gets a list of process running

returns working directoryname
RLOGIN performs a remote login

removes files or directories
RMDIR removes directory which must refer to an empty directory
RSH runs a command on a remote computer
SORT prints the lines of its input (or concatenation of all files listed in its argument list) in sorted order
SSH is a program for logging into a remote machine and for executing commands on a remote machine
TAIL displays the end of a file
TAR archives files
TELNET is the remote login
TOUCH creates an empty file or change modification and access time, if the file exists
UMASK sets the file mode creation mask
UNAME prints name of current system
UNIQ reports or filters out repeated lines in a file
W displays information about currently logged-in users
WC displays a count of lines, words and characters in a file
WHEREIS locates the binary, source and manual page files for a command
WHICH locates the first occurrence found in your PATH for a command
Categories: Unix
  1. No comments yet.
  1. 11 March 2010 at 12:45
  2. 13 March 2010 at 05:49

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: