From 632da2024a458b75e9b3094e8a00a32d957cf0df Mon Sep 17 00:00:00 2001 From: shanahanjrs Date: Sun, 8 Jan 2017 17:11:51 -0500 Subject: [PATCH] Added cheatsheets for pushd and popd commands --- cheat/cheatsheets/popd | 2 ++ cheat/cheatsheets/pushd | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 cheat/cheatsheets/popd create mode 100644 cheat/cheatsheets/pushd 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