Hello all..
i need to copy a file from CD to Hard Disk on sun 5.8.
The Equvilent in DOS is
D:\> copy *.* c:\test\
What is the Equvilent command in Unix ?...
any help is appreciated.
Thanks
Ron
Printable View
Hello all..
i need to copy a file from CD to Hard Disk on sun 5.8.
The Equvilent in DOS is
D:\> copy *.* c:\test\
What is the Equvilent command in Unix ?...
any help is appreciated.
Thanks
Ron
cp -r target destination
eg.
cp -r * /vol/disk/.
Hi Ron,
Before you copy you need to mount cdrom, after mounting use the following command to copy files from cdrom to root(/) filesystem under cdrom_files directory.
# mkdir cdrom_files
#cd /cdrom
# cp * /cdrom_files/.
regards
anandkl
Mount the cdrom? That is true in the RARE instance Solaris Volume Management does not automatically mount the cdrom for you. Now, if the original poster does not know how to do a simple copy, what you makes you think he knows how to mount a file system? Your answer, although technically correct, is useless.Quote:
Originally posted by anandkl
Before you copy you need to mount cdrom, after mounting use the following command to copy files from cdrom to root(/) filesystem under cdrom_files directory.
# mkdir cdrom_files
#cd /cdrom
# cp * /cdrom_files/.