On Thu, Aug 01, 2002 at 05:15:22AM -0400, Bijesh wrote: > > I want to create a symbolic link to a non existing file. > eg :- ln -s abc <link name> > where the file abc does not exists in my system. Is this > possible. > Bijesh. > ---end quoted text---
Oh no ! you are mising the fun. One of the best parts of Linux learning/travails is experimentation. Though the answer is YES you could have found it out by experimentation yourself .. See this: Script started on Fri Aug 2 22:27:30 2002 bish@aedes:~$ls -s header h1 bish@aedes:~$ln -s header h2 bish@aedes:~$ ls -al h? lrwxrwxrwx 1 bish users 6 Aug 2 22:27 h1 -> header lrwxrwxrwx 1 bish users 3 Aug 2 22:28 h2 -> hea bish@aedes:~$exit Script done on Fri Aug 2 22:28:20 2002 I have a file called "header", but none called "hea", but links have been created. If you have color-ls enabled, you may see the first (h1) in cyan but "h2" in red (broken link). Once the file "hea" has been created, it would also become cyan. Always experiment, and ask when things fail ... or RTFM leads you nowhere (or you don't know where to RTFM)!. HTH Bish -- : ####[ Linux One Stanza Tip (LOST) ]########################### Sub : Explaining first char in "ls -al" LOST #232 o"-rw-r--r--" (-) normal file o"drwxrwxrwt" (d) directory o"prw-r-----" (p) FIFO o"brw-r-----" (b) block device o"crw-r-----" (c) char device o"srwxrwxrwx" (s) unix socket o"lrwxrwxrwx" (l) link FIFO, block and character devices are created by mknod command ####<[EMAIL PROTECTED]>#################################### : ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
