You can easily copy cd in Linux through command line.
the steps are :
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.
2) Type cd /media (to enter the media directory).
3) 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.)
4) Just type cd hello (if hello is the name of your media).
OR you can use cd * if only one media is there.
5) Type cp * (This will copy all the files of cd in the destination directory.)
Eg: cd * /var/ftp/pub
the steps are :
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.
2) Type cd /media (to enter the media directory).
3) 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.)
4) Just type cd hello (if hello is the name of your media).
OR you can use cd * if only one media is there.
5) Type cp * (This will copy all the files of cd in the destination directory.)
Eg: cd * /var/ftp/pub
0 comments:
Post a Comment