LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 02-21-2005, 01:33 AM   #1
Hockeyfan
Member
 
Registered: May 2004
Distribution: SuSe 10.0
Posts: 154

Rep: Reputation: 30
Quick question about soft links


Why when you create a link to a file in a different directory with the same name as the one you give it does it show as a broken link (red color with black background) rather then a light blue color?
 
Old 02-21-2005, 01:55 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
make sure you give the full path or you get the "too many levels etc..." error. so example, if you have foo.txt in your home directory and wanted to create a symlink in a folder called tmp:

ln -s foo.txt tmp/foo.txt

will not work but:

ln -s $HOME/foo.txt $HOME/tmp/foo.txt will work.
 
  


Reply



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
links (hard links and soft links..) sachitha Programming 1 08-10-2005 12:10 PM
Soft Links varunbihani Linux - Newbie 3 06-04-2005 11:42 PM
Soft Links tonphi Red Hat 1 09-22-2003 09:20 PM
Quick Question About Links gauge73 Linux - Newbie 2 02-13-2003 10:32 AM
Soft Links Resqtech Linux - Newbie 4 08-26-2001 10:00 AM

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

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