LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   help regarding home directory (https://www.linuxquestions.org/questions/linux-software-2/help-regarding-home-directory-562634/)

venky1544 06-18-2007 06:45 AM

help regarding home directory
 
iam working on fedora 5 i had a folder on my root desktop and had to transfer it to the home desktop
i had used the command

mv -t foldername /root/desktop/ /home/abc/desktop/

the command worked
but now iam not able to access the home directroy
it says no such file or directory
i think so the mv command has over writed my home directory
so now how can i acceess my root directory

bsdunix 06-18-2007 07:39 AM

Quote:

mv -t foldername /root/desktop/ /home/abc/desktop/
I think you moved root's desktop and abc's desktop folder to foldername directory. The mv -t option says "move all SOURCE arguments into DIRECTORY". What is the output of this (looking for what's listed in foldername):
Code:

$ ls -l /path/to/foldername
(NOTE: -l is lowercase L not number 1)

and this (were looking for root and home directories):
Code:

$ ls -l /
(NOTE: -l is lowercase L not number 1)



All times are GMT -5. The time now is 10:58 PM.