Linux
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:
-
Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.
-
Be respectful: Treat fellow community members with respect and courtesy.
-
Quality over quantity: Share informative and thought-provoking content.
-
No spam or self-promotion: Avoid excessive self-promotion or spamming.
-
No NSFW adult content
-
Follow general lemmy guidelines.
view the rest of the comments
maybe programs liek navi (or any of the other billion snippets managers) can help you. essentially, these have list of commonly used commands, and then you open it with some keybinding, and you will search, lets say git commit (you know you want to commit, but lets say you forget that flag to give in line message is '-m', then command
git commit -m "message"would appear. you would select it, and it should either be typed into terminal, or copied to clipboard, or some other way to quicly enter it. some others do this by autocompleting from suggestions. I have something handrolled for the purpose (which is not in a state to be recommended to others), so i would say just search snippet/command manager/helper/complete, and you should get tonnes of them. i remember one of them, that is navi.you may also like to check out fish shell (or if you do not mind setting up zsh, if you want posix compatibility as well), as it has a very superior (compared to ootb bash) autocomplete, which will complete commands, and their flags, and sometimes also gives description of what that subcommand/flag does.