4 ms·
I still primarily rely on StackOverflow for most of my shell one-liner needs, but I've found it extremely helpful to make a list/spreadsheet of the commands I r
by danso 6y ago
I still primarily rely on StackOverflow for most of my shell one-liner needs, but I've found it extremely helpful to make a list/spreadsheet of the commands I repeatedly find myself having to google: https://github.com/dannguyen/bashfoo#toc https://github.com/dannguyen/bashfoo#toc
- pbhjpbhj 6y agoI save all my history and have a little script to grep it for commands I've used. There was a thread on here about a shell add-on that would recommend one-liners, but I can't recall it ... anyone have any ideas? Also I'd like a more robust version of my saved commands history (after 10 years or so it's getting to be like I want to make it a bit slicker), maybe backed by sqlite or something. Any suggestions?
- BenjiWiebe 6y agoDo you know about ctrl-R? At the prompt in bash, it lets you search your previous commands and edit and run them right there. Combined with a large HISTSIZE it's really useful.
- pbhjpbhj 6y agoYes, thank you. Also starting to type a command and using up-arrow to scroll through (I assume) endings of that command line that are in history. That's great too. But I often don't do, say,a do-release-upgrade (I use Kubuntu but prefer command line upgrade) within the time the command stays in history.