LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help me make a shortcut (https://www.linuxquestions.org/questions/linux-newbie-8/help-me-make-a-shortcut-696262/)

alaios 01-10-2009 04:06 AM

Help me make a shortcut
 
hey everyone. I am trying to kame a shortcut in my linux . Ihave mounted my fat hard disk under /media/D/Documents. I want to view the folder's content /media/D/Document under the folder /home/myuser/Documents. So i can see the same documents under linux and windows. Any help?

chakka.lokesh 01-10-2009 04:12 AM

check the ln command

Didier Spaier 01-10-2009 04:15 AM

Code:

ln -s /media/D/Documents /home/myuser/Documents
Works only if /home/myuser/Documents doesn't exist yet.
But I don't understand why you would need that: why don't you look directly into /media/D/Documents ?

alaios 01-10-2009 08:05 AM

And if /home/myuser/Documents exists? I want to do that so i can easily select where to save files when i click on home directory button

Didier Spaier 01-10-2009 08:15 AM

Quote:

Originally Posted by alaios (Post 3403503)
And if /home/myuser/Documents exists?

Choose another name, e.g. documents or Docs or may be a sub-directory of Documents


All times are GMT -5. The time now is 08:16 PM.