EdChdX Слава Украïнi @killjoy1221 Feel the pain $ lastPwd=$PWD $ touch test $ cd /root $ cd $lastPWD $ rm test No such file or directory Posted 3 years ago Report Link Quote Reply
Liggliluff – Do you wanna go /Home? – Yes, I'd like to go to Root Posted 5 years ago Report Link Quote Reply
Steel Crescent Just A Bat good because this is a hug <3 hugs the pony lovingly Posted 5 years ago Report Link Quote Reply
have you considered using
pushd
andpopd
?Feel the pain
$ lastPwd=$PWD
$ touch test
$ cd /root
$ cd $lastPWD
$ rm test
No such file or directory
shopt -s autocd
in my .bashrc–
Yes, I'd like to go to Root
hugs the pony lovingly