CD – Change Directory

As simpe as this command is, there are “issues” 🤔🤔🤔

In CLI (Command Line Interface – aka terminal, prompt, bash, shell etc) you want to cd to a directory with space character in the name:

cd pera zdera

will NOT work 😭😭😭

You need to either quote the name of directory:

cd 'pera zdera'

or just be a stupid as I am, and use TAB key, until there are more directories starting with the same string, like: the one, the best, the greatest…

In this case you can still use TAB key, but you must escape it:

cd pera\ (must add a space)

But this will NOT working without trailing space at the end, now you can press TAB to autofill the rest of the dir’s name.

Tested in Debian

Tested in Debian or Pop OS