pushd command adds a directory to a directory stack and change the path to that directory. If i run the commands,
pushd /etc pushd /usr pushd /bin
And the output of
dirs command is,
/bin /usr /etc ~
Once the current terminal was closed,all the values stored in the directory stack was deleted.Even if i run
dirs command on new terminal,it shows nothing..I want the above directory stack to be remain unchanged even if i close the current terminal and reopen a new one.Is that possible?
Any help will be appreciated