Problems with the cp command...
Hi I have a problem with the cp command look:
(I would to copy stageplan.doc to the test directory): [root@localhost killah]# ls 1.tar.gz libpng3-1.2.5-7mdk.i586.rpm AlienMind-1.2.tar.bz2.md5.gz Mail/ alsa-driver-1.0.3/ mp3blaster/ alsa-driver-1.0.3.tar.bz2 mp3blaster-3.2.0.tar.gz alsa-lib-1.0.3b/ MPlayer/ alsa-lib-1.0.3b.tar.bz2 MPlayer-1.0pre3try2.tar.bz2 alsa-tools-1.0.3.tar.bz2 oxine-snapshot/ alsa-utils-1.0.3/ pieter/ alsa-utils-1.0.3.tar.bz2 pkgconfig/ amsn_received/ pkgconfig-0.15.0.tar.gz config.log rp9win32codecs.tar.bz2.gz Desktop/ Screenshots Linux/ Documents/ stageplan.doc evolution/ test/ extralite.tar.bz2 tmp/ flash6_linux/ vsftpd-1.2.1/ IB300103 ASP.pdf wallpapers/ j2re-1_4_2_04-linux-i586-rpm.bin win32codecs.tar.bz2.gz kernel-source-2.4.22-10mdk.i586.rpm xine-lib-1-rc3b/ lala/ xine-rc3b.tar.gz libpng-1.0.10/ [root@localhost killah]# cp stageplan.doc t test tmp [root@localhost killah]# cp stageplan.doc test/ cp: invalid option -- - Try `cp --help' for more information. [root@localhost killah]# cp --help cp: invalid option -- - Try `cp --help' for more information. [root@localhost killah]# can anybody help me??? thx |
when copying, try using the full pathname for the test directory. like /home/killah/test or something like that.
|
take this format here
cp /home/user/floorplan.sxw /home/test/ the first location is where it is now, the next location is where it is going. if it is to be in some directory yet to be created make sure to create it first with mkdir directoryname |
All times are GMT -5. The time now is 10:53 AM. |