|
|
|
Ask HN: Best way to learn *nix and shell?
|
|
6 points
by moonfleet
2210 days ago
|
|
I got into programming fairly recently and currently I am working as a frontend dev. Often I find myself at a loss when I need to do simple tasks in the terminal, such as start a db server, handle packages, set up symlinks and paths. So, I end up going on stack overflow and mindlessly copy-pasting commands into my shell, hoping it would resolve the problem. I feel like I have a huge mess in my root directory and I don't know how to clean it up. 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...