diff --git a/cheat/cheatsheets/popd b/cheat/cheatsheets/popd new file mode 100644 index 0000000..a913b2f --- /dev/null +++ b/cheat/cheatsheets/popd @@ -0,0 +1,2 @@ +# Returns to the directory at the top of the `pushd' stack +popd diff --git a/cheat/cheatsheets/pushd b/cheat/cheatsheets/pushd new file mode 100644 index 0000000..5202960 --- /dev/null +++ b/cheat/cheatsheets/pushd @@ -0,0 +1,5 @@ +# Pushes your current directory to the top of a stack while changing to the specified directory +pushd + +# To return use popd +popd