4 ms·
Random piece of info about cd: cd.. (no space between "cd" and "..") works on Windows
by ataylor32 9y ago
Random piece of info about cd:
cd.. (no space between "cd" and "..") works on Windows
- disconnected 9y agoIt's been like that since the DOS days, IIRC. You can simulate that behavior on bash with an alias such as this one: alias cd..="cd .."
- vollmond 9y agoMy base bashrc has this and cd-, just to handle typos
- lokedhs 9y agoI believe that you also don't need the space when you specify a path: cd\foo\x The cmd parser in Windows is the most bizarre piece of software in common use. I don't believe there is a single person that actually understands how it works completely.
- JdeBP 9y agoI think that Rex Conn and I could give it a fair go. (-:
- mathieulegrand 9y agocool
- Ao7bei3s 9y agoOr try zsh with a good pre-made config like grmlzshrc[1]. It allows changing to a directory by typing only its name (or path). This includes the .. directory. Doesn't get faster. [1] https://grml.org/zsh/ https://grml.org/zsh/
- qbrass 9y agoStarting in Windows 95, you could stack periods to go back further than one directory. "cd....." instead of "cd ..\..\..\.."