this post was submitted on 17 May 2025
134 points (94.7% liked)

Linux

10473 readers
29 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS
 

If I want to install something, I can either do "dnf install [program name]" or "flatpak install [program name]". Same goes for when I want to remove a program. And for flatpak at least, I typed ONE WORD from a game I was uninstalling because I didn't remember to exact tag and flatpak asked me "do you want to install [full tag of game]? y/n" like HOW IS THAT POSSIBLE THAT IS SO CONVENIENT

top 16 comments
sorted by: hot top controversial new old
[–] [email protected] 56 points 4 days ago

When you discover something that's been missing in your life that you didn't know you needed.

Welcome to the club!

[–] [email protected] 26 points 4 days ago

I love the enthusiasm of newbies! Welcome to the journey!

[–] [email protected] 4 points 3 days ago (2 children)

You may want to check out the fish shell. The auto-complete is the only way I want to use the terminal nowadays.

[–] [email protected] 1 points 3 days ago

Is it better than zsh or bash with their corresponding completion packages installed?

[–] [email protected] 1 points 3 days ago

looks pretty cool, I might try it out :D

[–] sacredfire 4 points 3 days ago (1 children)

One of the things that first made me fall in love with the cli was how fast doing things like this was. GUIs are hard, and can crash or use up resources for all sorts of different reasons wholly unrelated to the primary task you are trying to accomplish. Once I got over the learning curve of using the cli (and to be fair I’m still in the process of getting truly comfortable with it) I was able to do things so much faster and with less frustration.

Of course, I also don’t want to neglect that it’s not just a matter of the command line but just how good Linux is in this regard. Windows has a command line too and I hate using that thing.

[–] [email protected] 3 points 3 days ago

Using the terminal to install programs is much faster than both the Microsoft and GNOME store!

[–] [email protected] 8 points 4 days ago* (last edited 3 days ago) (1 children)

fuzzy finding.

Something else you can do. Install oh-my-bash or oh-my-zsh, either, with zoxide jump around. Any of the directories you visit are tracked and weighted with a frecency weighted value. Then all you need to do is type in parts of the name to go there.

For instance, if I had directories ~/code/dev_repo/project-one ~/code/dev_repo/project-two ~/code/dev_repo/project-three

Then you just type z dev one or z co re pro two You know, the parts of the directories you remember. The more you visit various directories and the more recent, the weighting is higher and the more likely you get the correct directory you want with even less and less characters. Also check out atuin it adds a fuzzy finding to your bash history or zsh history.

[–] [email protected] 2 points 4 days ago (1 children)

Thanks! I already use zsh's partial name matching, but that looks even more useful

[–] [email protected] 2 points 2 days ago

Yeah, it's killer. Just replace cd with z, for everything. Also, popd to drop down the stack.

[–] [email protected] 8 points 4 days ago

What's the dude's name? /s

[–] [email protected] 7 points 4 days ago

If you think that’s awesome, you’ll orgasm when you learn about pipes and I/O redirection

[–] [email protected] 6 points 4 days ago (2 children)

Also available,

dnf search [package name]

flatpak search [package name]

And just wait until you learn about pwd, cd, ls, man, the list goes on!

And then aliasing, I have a combo of cd and ls I aliased to cdls, it's glorious, and I'm still a beginner too!

Dude go to youtube and search "bash basics" and "linux cli basics" and watch a couple of them, and follow along in your terminal like you're taking a class. Be careful with sudo or su but otherwise you should be fine! Welcome to the beginning of a new and wonderful journey!

[–] [email protected] 2 points 3 days ago (1 children)
[–] [email protected] 2 points 3 days ago

Yup! And of course uninstall things, too!

Beginner's Guide to Bash in Terminal

And this is one of the videos that really helped me get comfortable with the CLI, there's others too, but this was the first one I recognized from the thumbnail.

Tbh I may watch a few myself, see if there's any tips I've forgotten or hadn't seen in the past from new vids.

[–] [email protected] 5 points 4 days ago

If you're more of a reader than a watcher, there are also many searchable individual pages to help with this. Personally, I've learned a lot from TLDP.