Wednesday, August 26, 2009

Linux

How to copy cd in linux: You can easily copy cd in Linux through command line. just follow the steps:
1)At the root go to the media directory where all the removable media file system (such as cd-rom, floppy disk, usb drive) are mounted.

1) Type cd /media (to enter the media directory).
2) Type ls -l(This will give you long listing of all media mounted. Remember all spaces and case of letter because Linux is case sensitive.)
3) Just type cd hello (if hello is the name of your media).
OR you can use cd * if only one media is there.
4) Type cp * (This will copy all the files of cd in the destination directory.)
Eg: cd * /var/ftp/pub

No comments:

Post a Comment