Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



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
Answer

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
Answer
?

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
Answer

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"

20. Advanced Shell Scripting
= 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

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

Do you want to join discussion? Click here to log in or create user.