I tried to learn unix and shell by installing and using Arch Linux on my old laptop but I just ended up following tutorials without really understanding what I am doing. Right now, I am using MacOS.
What are some good resources that teach you more than cd, ls, mkdir and touch? How did you learn it?
* https://ryanstutorials.net/linuxtutorial/ is a good place to start for beginners
* https://mywiki.wooledge.org/BashGuide and the rest of this wonderful wonderful site is recommended to understand `bash` and its features and gotchas
* https://explainshell.com/ gives you a quick help on the various parts of the command, including documentation
* https://www.shellcheck.net/ is a must have tool if you are writing shell scripts
* https://linuxjourney.com/ is probably the most complete site to understand how things work in *nix environment
[0] https://github.com/learnbyexample/scripting_course/blob/mast...
They look like 'commands,' but what's actually happening is the shell is searching directories that are listed in your $PATH environment variable, for an executable with the name you entered. Diving more into the mechanisms of how the shell works is potentially educational depending on your learning style.
Starting with Arch, you're setting yourself up for a bad time, since you'll be learning both basic command-line knowledge and how to configure linux from scratch. Ubuntu or Fedora might be better places to start. OSX will suffice for a unix-y environment, but there are definitely some quirks that won't translate nicely to linux-y distros if that's the direction you want to go.
Larger objectives you mention like starting a server, the first principle is still "what program can I run (i.e. call from the shell) to do what I want?" And in this case, it would be the program that manages processes for your system. Not sure what Mac uses, but many linuxes are using `systemd` nowadays. If you search `systemd basics` it will give a good sense.
[1] Shells also have built-ins (like cd) and you can learn a lot about the intricacies of them by doing actual shell scripting (e.g. "bash tutorial"), but it sounds like you're mostly interested in getting your feet wet with the basics before diving into scripting. Although it's a nice way to round out your knowledge.
That's how I learned not only to use a shell but also how I learned to program.