Question
In linux, the [...] command can be used instead of cd , but unlike cd , the directories you change to is saved onto a list of directories so you can go back to them easily, with sister command [...] <-- looking for two different occultions here

pushd and popd

^^ this is nice way to navigate directories with keeping track of history (note: will only last in current shell)

^^^ example usage:

pushd /etc
pushd ~/ktest
popd <-- you are now back in /etc

Question
In linux, the [...] command can be used instead of cd , but unlike cd , the directories you change to is saved onto a list of directories so you can go back to them easily, with sister command [...] <-- looking for two different occultions here
?

Question
In linux, the [...] command can be used instead of cd , but unlike cd , the directories you change to is saved onto a list of directories so you can go back to them easily, with sister command [...] <-- looking for two different occultions here

pushd and popd

^^ this is nice way to navigate directories with keeping track of history (note: will only last in current shell)

^^^ example usage:

pushd /etc
pushd ~/ktest
popd <-- you are now back in /etc

If you want to change selection, open document below and click on "Move attachment"

= value Assigns a value to a variable. The resulting variable is visible only within the current function. pushd directory and popd These two commands are useful for jumping around directories. <span>pushd can be used instead of cd , but unlike cd , the directory is saved onto a list of directories. At any time, entering popd returns you to the previous directory. This is nice for navigation since it keeps a history of wherever you have been. printf format args ... This is like the C printf function. It outputs to the terminal like echo but is useful for more complex formatting of output. See printf (3) for details and try p

#### Summary

status measured difficulty not learned 37% [default] 0

No repetitions