Results 1 to 3 of 3
Hi,
I would like to copy a file from some random folder and send to a "Test" folder in root directory. But I havn't found how to specify the root ...
- 01-18-2011 #1Just Joined!
- Join Date
- Jan 2011
- Posts
- 2
Short specification of root director for copy command
Hi,
I would like to copy a file from some random folder and send to a "Test" folder in root directory. But I havn't found how to specify the root directory without using ../ until i reach the root directory.
i.e. suppose I'm in my random folder where I want to copy my file
sudo cp somefile.txt (root???)/Test
what do i put for root?
Just as additional explanation, if I have a Test folder in my home directory that i wanted to transfer to, then i could simply do
cp somefile.txt $HOME/Test
Thanks,
Alexander
- 01-18-2011 #2
- 01-19-2011 #3Just Joined!
- Join Date
- Jan 2011
- Posts
- 2
thank you sir
i actually tried it before... but i accidentally named my Test folder the lower case "test" folder which is why it didn't work the first time :S


Reply With Quote