command line aliases to make repeated processes quicker. I’ve used them in the past and on specific programs but never on command line utilities.

like for instance with Debian, I’m repeatedly typing sudo apt-get install, so I aliased it: alias sagi=“sudo apt-get install” and it works pretty good.

Are there any best practices or aliases to avoid when using them? Other than known commands obviously. Are there popular alias lists out there?

You are viewing a single thread.
View all comments View context
1 point
*
Deleted by creator
permalink
report
parent
reply
2 points

Funny. I never even thought of using thefuck in any remotely production-esque kind of way. Only for its intended use case: to save me a few keystrokes retyping some command I fucked up typing.

permalink
report
parent
reply
2 points

Yeah I imagine that was just a simple focus issue, like typing in the wrong tmux pane or sending terminal commands while his editor was focused. I’ve done that plenty of times.

I think it’s a fun and useful package too. If there’s a moral to that story, it’s just to treat others with respect and avoid isolating yourself by discouraging feedback. Thefuck just made the anecdote colorful enough to share lol

(Sorry for delete btw, realized after I woke up that a few of those coworkers switched to lemmy and I never told anyone I let that bug go)

permalink
report
parent
reply

Linux

!linux@lemmy.world

Create post

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.

Community stats

  • 1.4K

    Monthly active users

  • 629

    Posts

  • 4.8K

    Comments

Community moderators