mkdir (make directory) creates a new directory:
mkdir recipeslsIt only makes the last name in the path. mkdir a/b/c fails if a/b doesn't exist yet; add -p (parents) and mkdir makes every missing level on the way, and doesn't complain about ones that already exist:
mkdir -p notes/2026/januarytouch creates an empty file, ready to be filled later. If the file exists, it leaves the contents alone and just updates its time:
touch notes/2026/january/ideas.txtls notes/2026/januaryBoth take several names at once: mkdir drafts final makes two directories, touch a.txt b.txt two files.
Naming things
Linux allows almost any name, but some make life harder. A name with a space has to be quoted every time (touch "my file.txt"), so most people use dashes or underscores instead: my-file.txt. Names are case-sensitive, so Notes and notes are two different directories.