I've been using Linux Mint for about a year now. My laptop has been a lot better since I switched from Windows, mainly because it's a low-end model that used to lag and overheat in Windows. Now, I mostly travel with it and love how lightweight and easy to use it is. I know the Windows command line pretty well, but I want to transition to Linux fully since I'm not really into Windows-exclusive games anymore. I'd love some recommendations for insightful videos and books or PDFs that cover terminal commands. It would also be great if you could share some basic commands along with their equivalent in Windows so I can better understand them.
3 Answers
Learning bash can indeed be tricky, especially when you start scripting. The behavior of commands can change based on context, making it feel complicated. To structure your learning, you could categorize commands like this:
- **Bash Built-ins**: cd, echo, read, test
- **Service Management**: systemd, systemctl
- **Coreutils**: ls, cp, rm, cat, chmod, chown, etc.
- **Networking Utilities**: ping, ssh, curl, wget
- **Text Processing**: grep, sed, awk, tar
- **System Monitoring**: ps, top, htop
- **Package Management**: apt, yum
- **User Management**: useradd, usermod, userdel
Using the `man` command or the `--help` flag is always a great way to learn more about each command.
You might want to try playing the game OverTheWire Bandit; it’s a fun way to learn basic commands and it gets gradually more advanced. Also, here are some must-know basic commands:
- **Sudo**: Essentially the ‘do as administrator’ command.
- **Su**: Switch user command.
- **Cd**: Change directory; cd .. takes you back one level.
- **pwd**: Prints your current directory.
- **ls**: Lists files and directories. Use ls -la to see hidden ones.
- **cat**: Displays file contents in the terminal.
- **find/locate**: Used to find files.
- **grep**: Isolates specific text.
These are a good foundation; feel free to ask if you have any questions!
I see a lot of interest in learning these commands! Let's keep the resources coming; they’re super essential for getting the most out of Linux. 👍
I’ll definitely check out OverTheWire Bandit. Thanks, that was really helpful!