Saturday, August 15, 2009

COPY CD IN LINUX

  • 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

No comments:

Post a Comment