LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-18-2004, 02:55 AM   #1
liontamer13
LQ Newbie
 
Registered: Apr 2004
Location: Vancouver, B.C. Canada
Distribution: fedora 3
Posts: 6

Rep: Reputation: 0
how do I create links to folders?


I'll bet this is an easily answered question, but I have been unable to find a way to create links to folders. Here is an example of what I would like to know how to do. student . charleshays . net / ~hillr / shortcut . jpg {I was unable to post this as a link due to the fact that I have under 5 posts. sorry for the inconvienience.}
It seems to act like a folder of it's own, in the way that if you are the terminal, and "cd" to the shortcut, you go to the folder it's linked to. furthermore, if you "cd .." you return back to the folder the shortcut you used is located on.

the reason being is that I have a gargantuan hard drive that I have all my mp3's, movies, and such located on. I would like to circumvent having to navigate to the /mnt/ all the time. Short of mounting the harddrive in my home directory, this is the only solution I can see.

I am using gnome2, in fedora core 3.

thanks for the time.
 
Old 12-18-2004, 03:01 AM   #2
nixcraft
Member
 
Registered: Nov 2004
Location: BIOS
Distribution: RHEL3.0, FreeBSD 5.x, Debian 3.x, Soaris x86 v10
Posts: 379

Rep: Reputation: 30
Use ln command. Read man page of ln.

Example
Soft link
ln -s file1 file2

For hard link do not use -s switch.
 
Old 12-18-2004, 03:05 AM   #3
liontamer13
LQ Newbie
 
Registered: Apr 2004
Location: Vancouver, B.C. Canada
Distribution: fedora 3
Posts: 6

Original Poster
Rep: Reputation: 0
haha. I knew it was a quick fix.
 
  


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
cant save or create files/folders on drives. felonius Linux - Newbie 9 11-07-2004 03:18 PM
using ln to create muliple file links AutOPSY Linux - Software 1 05-18-2004 03:57 PM
Using WS-FTP, valid user can't go into folders they create krzykard Linux - Networking 0 02-03-2004 11:00 AM
Thru WS-FTP, valid user can't go into folders they create krzykard Linux - Software 2 11-12-2003 05:44 PM
Magic script to create rc.d links Rachel Carter Linux - Distributions 2 02-02-2003 02:47 AM


All times are GMT -5. The time now is 01:29 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration