home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!ukma!bogus.sura.net!udel!sbcs.sunysb.edu!zheng
- From: zheng@cs.sunysb.edu (Xiaohong Zheng)
- Subject: Re: Soft link
- Message-ID: <1993Jan28.045239.20867@sbcs.sunysb.edu>
- Sender: usenet@sbcs.sunysb.edu (Usenet poster)
- Nntp-Posting-Host: sbskiena
- Organization: State University of New York, Stony Brook
- References: <1k43bfINNctj@msuinfo.cl.msu.edu>
- Date: Thu, 28 Jan 1993 04:52:39 GMT
- Lines: 29
-
- In article <1k43bfINNctj@msuinfo.cl.msu.edu> friedenb@pine.egr.msu.edu (Gedaliah Friedenberg) writes:
- >
- >I have a program which requires me to make a
- >soft link of ~/.plan to /tmp/.plan
- >
- >I have looked in manuals, but with no success.
- >I know about hard links (ln -s), but I have
- >never heard of soft links until this program.
- >
- >If someone could let me know how to do this,
- >I would greatly appreciate it.
- >
- >Gedaliah Friedenberg
- >-=-Department of Mechanical Engineering
- >-=-Department of Metallurgy, Mechanics and Materials Science
- >-=-Michigan State University
- >
- >
- >
-
- I guess you mean symbolic link, which is special directory entry
- that points to another file or directory. Just do the following
-
- ln -s ~/.plan /tmp/.plan
-
- If you remove ~/.plan, /tmp/.plan will point to something that does exist.
-
-
-
-