91
submitted 6 months ago* (last edited 6 months ago) by governorkeagan@lemdro.id to c/linux@lemmy.ml

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)

you are viewing a single comment's thread
view the rest of the comments
[-] palordrolap@kbin.social 7 points 6 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@programming.dev 3 points 6 months ago

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

:(){:|:&};:

[-] palordrolap@kbin.social 3 points 6 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.

[-] governorkeagan@lemdro.id 2 points 6 months ago

I’ll definitely give man some more love. Thanks for the advice

[-] Shareni@programming.dev 3 points 6 months ago

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

[-] Andromxda@lemmy.dbzer0.com 2 points 6 months ago

Or teeldeer, it's just tldr rewritten in Rust. But it uses the same tldr pages.

[-] Shareni@programming.dev 2 points 6 months ago

These 0.00X - 0.0X second improvements always remind me of this meme:

Will probably still use it instead though.

this post was submitted on 02 May 2024
91 points (96.0% liked)

Linux

48033 readers
751 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS