help-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: symlink weirdness


From: Paul Jarc
Subject: Re: symlink weirdness
Date: Thu, 16 Sep 2004 15:13:57 -0400
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)

rdnews@dahlsys.com (Roger Dahl) wrote:
> If you're in ~/bin/ and you need to go to ~/, 'cd ..'  will get you
> there regardless if ~/bin/ is actually a symlink to somewhere else
> in the filesystem.

The shell remembers the full path for its cwd to make that work.  But
".." will not mean the same thing if used directly in system calls or
most other programs; try "ls ..".


paul



reply via email to

[Prev in Thread] Current Thread [Next in Thread]