Re: Question about Knoppix
Quote:
Originally posted here by Kezman
Why for example when I want to copy the SAM and system files to a thumbdrive using a Knoppix boot-up disc, must I type out all those commands like cd /mnt/hda1, then cd windows etc?
Why is it not possible to simply do cd /mnt/hda1/windows/system32/config
or maybe cd windows/system32/config
and I usually get only the SAM and system files, but I have to execute two commands for that. Is it possible to copy the in one line like cp SAM, system /mnt/sda1 , or something similar.
Sorry, I'm a real command line noob, and even more so using Knoppix.
Help appreciated
It's simple really.
since your mount point is /mnt/hda1
you would only be able to type cd windows/system32/config if your pwd "present working directory" was /mnt/hda1 to start.
If you are starting in / or /home/user then how is UNIX supposed know where you want to start from?
UNIX is very literal.
just do this
cp /mnt/hda1/windows/system32/config/file1 file2 file3 file4 /location/of/copy/to/be