On Wed, Mar 20, 2019 at 03:08:51PM +0000, mick crane wrote: > If I cd softlink then want to go up a directory from the real directory I'm > put back to ~/ > > Is it possible to get the behavior going up a directory from softlink > actually goes up a directory the softlink refers to ?
wooledg:~$ ln -s /usr/local/bin binlink wooledg:~$ cd binlink wooledg:~/binlink$ cd .. wooledg:~$ cd binlink wooledg:~/binlink$ cd -P .. wooledg:/usr/local$