LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-07-2005, 04:06 AM   #1
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Rep: Reputation: 35
Is it possible to make a dir a symbolic link?


Is it possible to make a directory a symbolic link so when i put files it it they are really going to another directory?
 
Old 03-07-2005, 04:13 AM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Sure - just like a file. Directory's just a sort of file.
 
Old 03-07-2005, 10:01 PM   #3
pezplaya
Member
 
Registered: Dec 2003
Distribution: Gentoo / Slackware
Posts: 92

Rep: Reputation: 15
you also could have tried it yourself
 
Old 03-07-2005, 11:26 PM   #4
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
And to add to digiot's comment, in Linux (and Unix) everything is a file. -- J.W.
 
Old 03-09-2005, 09:48 AM   #5
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
Quote:
Originally posted by pezplaya
you also could have tried it yourself
I did try first. Grip rips mp3's to /home/jeff/mp3 but i wanted to redirect it to /home/jeff/media/music so i did :

ln -s /home/jeff/media/music /home/jeff/mp3

that created a symbolic link in mp3 called music. So does that mean you can't turn an existing dir into a symbolic link?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot make symbolic link dave`2005 Debian 3 10-08-2005 11:15 AM
how do i make DVD symbolic link permanent? RU63 Debian 4 12-28-2004 03:07 PM
Make symbolic link or alias gubak Linux - Newbie 5 08-20-2004 01:50 PM
mysterious symbolic link in root dir dubman Linux - Security 1 04-12-2004 08:11 PM
How to make symbolic link? Tommi Linux - General 9 05-07-2003 09:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:47 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