[Courses] [FS] Lesson 2 - Symlinks Question
Travis Casey
efindel at earthlink.net
Tue Jul 15 08:10:30 EST 2003
On Tuesday 15 July 2003 05:42, Random wrote:
> On Monday, Jul 14, 2003, at 11:04 America/Indianapolis, Travis Casey
>
> wrote:
> > Someone wanting to go from there to /usr/bin might type
> >
> > cd ../../bin
> >
> > but that would error, since /home/cs20/systems/sun4x/solaris/usr/bin
> > did not exist. They'd think "WTF? I know /usr/bin exists! If it
> > didn't the system wouldn't work!" They'd then either start trying to
> > investigate and (1) realize what was going on, or (2) get enormously
> > confused, or (3) call or email Systems and report that something's
> > wrong.
>
> the "fudged" cd won't help... as far as i know, while ".." is a special
> case, "../" or "../../bin" by extension, are not.
It works for me with bash... I have a symlink in /home/casey named
"new-ebook" which goes to
"./.brag/news.earthlink.net/alt.binaries.e-book.rpg/finished".
I just tried it with it. Doing:
cd new-ebook
cd ../bin
takes me to /home/casey/bin, not to the (non-existent)
/home/casey/.brag/news.earthlink.net/alt.binaries.e-book.rpg/bin .
And
cd /home/casey
cd new-ebook
cd ../../ehcasey
takes me to /home/ehcasey.
So the version of bash I have seems to do it, at least.
--
|\ _,,,---,,_ Travis S. Casey <efindel at earthlink.net>
ZZzz /,`.-'`' -. ;-;;,_ No one agrees with me. Not even me.
|,4- ) )-,_..;\ ( `'-'
'---''(_/--' `-'\_)
More information about the Courses
mailing list