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

UNIX – Lesson 027 – man command and quick reference


man
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

==================================================================================

QUICK REFERENCE

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
CHGRP

changes the group associated with files and directories
CHMOD

changes filesystem modes of files and directories
CHOWN

changes the owner of a files and directories
COMPRESS/UNCOMPRESS

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

copies files or directories
CRONTAB

allows to schedule job’s execution periodically
DATE

writes the date and time
DF

reports the file system disk space
DIFF

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

summarizes disk usage
ECHO

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

determines the file type
FIND

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

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

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

displays the beginning of a file
HOSTNAME

sets or prints name of current host system
JOBS

displays jobs currently running (background)
KILL

sends a terminate signal to a process
LN

creates a link to a file
LP

submits print requests to a destination
LPSTAT

displays information about the current status of the LP print service
LS

lists the content of a directory
MKDIR

makes directory
MORE

displays files, one screen at a time
MV

moves or renames files or directories
PS

gets a list of process running
PWD

returns working directoryname
RLOGIN performs a remote login
RM

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: