On 1/22/19 11:06 PM, Joe Zeff wrote:
On 01/22/2019 11:55 PM, ToddAndMargo via users wrote:
> Hi All,
>
> I just discovered this. To cd back to the previous directory
>
> cd -
>
> What a time saver!
Yes. It saves one keystroke from
cd ..
You don't understand what I said. I meant "previous" directory,
not directory before the current direcorty. Here is an example:
# pwd
/home/linuxutil
# cd /home/CDs/Linux/Security/Metasploit-Armitage/
# pwd
/home/CDs/Linux/Security/Metasploit-Armitage
# cd -
/home/linuxutil
# pwd
/home/linuxutil