On 23 May 2002 [EMAIL PROTECTED] wrote:

fix your line length.

> If i try to create link for the same file in subdirectory or other
> path ,it says "symbolic broken link"
> The cmd is
> "ln -s test.c ./Mail/link.c"
> After this if now i give command
> "file link.c"
> it says symbolic broken link.
> How can I create soft link for a file across directories or different path.

Think for a moment about what you are doing.

You are linking Mail/link.c to test.c  - without any directory 
information.  So, when you look at Mail/link.c, it will look for 
Mail/test.c

You need to provide an absolute path to the link destination.

ln -s /path/to/test.c Mail/link.c

-- 
It is the quality rather than the quantity that matters.
- Lucius Annaeus Seneca (4 B.C. - A.D. 65)


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to