Edi Yanto (何 萬 新)

UNIX Commands

Posted on: March 7, 2009

Table of the main UNIX commands

Unix Commands Description Options
ls lists the content of a directory
-a Displays all files, including hidden files
-I Displays a detailed listing
-R Displays the files recursively (i.e. in the sub-directories)
-d Displays only the directories and not their content
-S Sort by size
-t Sort by the last modification date
-t Sort by version
-X Sort by alphabetical order of the extension
-r Sort in reverse order
cd change directory
cd Return to the user’s directory
cd – Return to the previous directory
cd .. Return to the parent directory
mkdir Create a new directory
rmdir Deletes a directory
-f Force the deletion
-R Recursive delete (i.e. in the directory and its sub-directories)
cp Copy a file copy, xcopy
mv move file move
rm delete the file
-f Force the deletion
-R Recursive delete (i.e. in the directory and its sub-directories)
pwd print working directory” displays the full current directory path of the work in progress.
passwd changes the user password
cat Concatenates two files and displays the result on the standard output. cat
more Displays the file content with pauses
file displays the presumed type of the specified file


help for the requested command
lpr prints the requested file
chmod changes the attribute of a file

chmod XXX file

XXX= User|Group|Other where X is an integer between 1 and 7

Read = 4, Write = 2, Execution = 1

X= Read + Write + Execution

chfn Changes the personal information viewed with finger
chsh Changes the shell: chsh user emplacement_du_shell
clear Clears the lines displayed on the terminal
finger, who list of users online
traceroute traces the path between the local machine and the target machine
ping diagnostic tool making it possible to see if a machine responds over the network
ftp [machine] [port]




file transfer between the local machine and target machine

recovers a file

sends a file

quits the FTP session

telnet [machine] performs a telnet telnet
talk makes it possible to talk to a connected user

talk user

mesg Authorizes or rejects the talk command

mesg n : Prevents reception of talk messages

mesg y: Allows reception of talk messages

exit Disconnects

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 )

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 1,457 other followers

Edi Yanto
Oracle Applications Technical Consultant
View Edi Yanto's profile on LinkedIn

My Certifications

Follow me on Twitter


March 2009
« Feb   Apr »

  • Edi Yanto: Dear Nakka, According to the error message "Post-processing of request 7823071 failed at 17-May-2018 02:25:18 with the error message: One or more pos
  • Pallavi Nakka: Hi Edi, Can you please help me with the below error +---------------------------------------------------------------------------+ Receivables:
  • Juwanto: Lupa yaa



Blog Stats

  • 198,245 hits

Users Online

web counter


%d bloggers like this: