"cd" is short for "Change Directory," but feels more like "Conjure Destination." BTW, typing `cd ..` repeatedly is like spelunking in the dark depths of your filesystem, hoping to find your way back to the surface. `cd -` always take back you to previous working directory But fear not, typing `cd` will always take you back to HOME sweet home. See https://www.cyberciti.biz/faq/how-to-change-directory-in-linux-terminal/ for more examples including CDPATH and other vars to increase your productivity.
Conversation
Notices
-
nixCraft 🐧 (nixcraft@mastodon.social)'s status on Monday, 25-Nov-2024 22:48:51 JST nixCraft 🐧 -
hansvschoot (hansvschoot@mastodon.social)'s status on Monday, 25-Nov-2024 23:20:12 JST hansvschoot @nixCraft interesting, I've always considered "cd .." as climbing out of the depths of folders within folders, back to the top of the file system!
-
lemgandi (lemgandi@mastodon.social)'s status on Tuesday, 26-Nov-2024 00:00:51 JST lemgandi @nixCraft I do "cd .." and "cd ../.." enough that I have "g() { cd ../$1 }" and "gg() { cd ../../$1 }" defined in my .envfile. Only saves a tiny number of keystrokes, but considering the number of times I do it ...
-
🌡️🤍 Missus Moonson (missusmoonson@mastodon.social)'s status on Wednesday, 27-Nov-2024 15:37:53 JST 🌡️🤍 Missus Moonson @nixCraft i should learn more of these. i only use cd /path/to/dir, cd .., and cd
-