Because you need to cd “path to directory” not cd “name” lol
using capital letters in file/directory names on Linux :|
It’s a default on some distros, unfortunately, and changing it without updating the necessary env vars will break a bunch of stuff.
It would be a default on almost every distro that follows XDG specifications to have stuff like Downloads, Pictures, Videos in the folder. One of the first things I do as part of an installation is to modify
~/.config/user-dirs.dirs
and set a specific folder, say /
or /downloads~/downloads
, for every XDG base directory.
Reasonable and sane behavior of cd
. Just get into the habit of always using lower case names for files and directories, that’s how our forefathers did it.
Yes, but this is the default on many distros, so for once the end user is not to blame
Even worse, many components will ignore the XDG_DOWNLOAD_DIR
var so even if you manually change it to $HOME/downloads
(lower-case) it will often break things.
Lower case directories?
Eww
ILikeMineInAWayICanReadThemProperly, instead of ilikemineinawayicanreadthemproperly
If a directory has multiple words in it I usually do kebab case: i-like-mine-in-a-way-i-can-read-them-properly. Both easier to read and type than pascal case.
For more complex filenames I use a combination of kebab-case and snake_case, where the underscore separates portions of the file name and kebab-case the parts of those portions. E.g. movie-title_release-date-or-year_technical-specifications.mp4
cd dow *tab
Or use a nicer alternative like zoxide! :)