We know that using cd <directory>
will open the directory, if it exists!
Also, cd ..
will take us up one level from the current working directory.
But, when we have a nested dir with longer path like /home/thina/teams/td/tech/app/release/apks
, it is tiring to just go into the folder apks
and also it is hard to get back to another node, say here /home/thina/teams
.
Is there any way to skip the typing of cd
and cd ..
? I'm using Ubuntu 16.04.
Best Answer
There is
pushd
andpopd
:Try
help pushd
andhelp popd
for more options. There is noman
page, becausepushd
andpopd
are bash built-in commands.