LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-18-2007, 06:45 AM   #1
venky1544
LQ Newbie
 
Registered: Jun 2007
Posts: 3

Rep: Reputation: 0
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
 
Old 06-18-2007, 07:39 AM   #2
bsdunix
Senior Member
 
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761

Rep: Reputation: 80
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)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Active Directory User Cannot Write to Samba Home Directory jonwatson Linux - Networking 2 12-19-2006 12:40 PM
need to link a home directory to an apache directory Melsync Linux - Server 3 09-30-2006 05:08 AM
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 02:37 PM
How to protect a file/directory in your home login directory (RH Linux) jitsenho Linux - Security 9 07-03-2006 11:08 PM
QT and the home directory Pougan Linux - Newbie 3 11-02-2003 09:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration