Sunday, February 17, 2013

Linux Basic Commands 2

#mkdir
(use to create directory in linux)

#cp
(Copy contents or directory)
Eg:

#cp  
#cp -rfi dir1 dir2
(Here -rfi means recursive, force, intteractive prompt)
linux mkdir, copy and ls command
 


#touch
(Touch command is used to create a blank file)



#mv  
(mv command is used both for move and rename the file/directory)

#rmdir
(Removes empty directory)

0 comments: