I’ve been using Linux for about 7 months now and have become a lot more comfortable using the terminal but I feel like there is more that I can learn.
Most of my work is done in a browser or DaVinci Resolve. I do try to use the terminal where possible but it’s limited due to my workflow.
Are there any interactive sites where I can practice/learn the terminal? I’m going through Linux Survival at the moment.
Most terminals start a shell as the first program, so you’re not really learning “Terminal” so much as whatever program it starts first. Bash is a pretty common shell, so you might want to search for things like “Bash examples” to get a feel for it.
If that’s too simple, or you blast past that, then reading bash’s manual might give you some more ideas. The
man
command is your friend. The manuals are not necessarily quite so friendly, but they’re aimed at someone who’s already somewhat competent.Anyway, here’s one link from a Bash examples search I did: https://linuxsimply.com/bash-scripting-tutorial/basics/examples/
If Bash isn’t what you have where you are, substitute its name instead. Zsh and Fish are pretty popular. There are others, but I don’t think any mainstream Linux uses them by default.
To check what shell you’re using try an
echo $0
orecho $SHELL
.Finally, a bit of advice: Don’t go running commands you see on the Internet unless you’re sure what they’re going to do is something you have no problem with. And be careful with copy/pasting from web pages you don’t know or trust - I can’t vouch for the examples in the link I gave earlier, for example. It’s possible to make things look like a completely innocent command but when pasted does something else entirely.
I’ll definitely give
man
some more love. Thanks for the adviceCheck out
tldr
as well. I generally use it far more often thanman
Or teeldeer, it’s just tldr rewritten in Rust. But it uses the same tldr pages.
These 0.00X - 0.0X second improvements always remind me of this meme:
Will probably still use it instead though.
:(){:|:&};:
This is the sort of thing I was talking about with “Don’t go running commands […] unless you’re sure what they’re going to do […]”
I did a breakdown of this one on the snoosite back in the day. Searching “fork bomb” on YouTube is probably a better way to get that breakdown these days.