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.

EDIT: I forgot to add some important details.

I don’t have a massive need for the terminal for my current workflow but I think it is important to know (looks good for any future job applications as well) and expand your knowledge on things that interest you when possible.

In the future, I hope to have a home lab/NAS running Linux. I will most likely SSH into that and I’d like to deal with any issues via the terminal.

I use Arch btw (technically EndeavourOS)

  • palordrolap
    link
    fedilink
    72 months ago

    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 or echo $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.

    • @Shareni
      link
      32 months ago

      And be careful with copy/pasting from web pages you don’t know or trust

      :(){:|:&};:

      • palordrolap
        link
        fedilink
        32 months ago

        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.

      • @Shareni
        link
        32 months ago

        Check out tldr as well. I generally use it far more often than man