I have a simpler solution. The use case is not precisely the same, but for many scenarios, it's effectively the same. Simply, like many, I have bash set up to record commands in .bash_history. I have it flush all the time, so .bash_history is always current. # keep persistent bash history across sessions export PROMPT_COMMAND='history -a;history -n' export HISTCONTROL=ignoredups shopt -s histappend Next, I have a sim…
Show HN: Oh-heck, a terminal command for when you forget other terminal commands
71–80 of 132 posts
Re: Show HN: Oh-heck, a terminal command for when you forget other terminal commands
#72Some people seem to be unaware of apropos too (old text based cli tool). $ apropos network interfaces (5) - network interface configuration for ifup and ifdown aseqnet (1) - ALSA sequencer connectors over network byteorder (3) - convert values between host and network byte order ctstat (8) - unified linux network statistics
Re: Show HN: Oh-heck, a terminal command for when you forget other terminal commands
#73compgen -c
Re: Show HN: Oh-heck, a terminal command for when you forget other terminal commands
#74This used to be called "man".
also info nobody knows enough from reading manuals for UN*X because it is too hard. everyone I talk to who says they have done it are still missing fundamental info, like for instance any one i talk to will probably not undersand that sudo is insecure for 99% of use cases and start crying when i explain to them that you can just use ptrace to capture the password or replace some bash envars to hijack the command. nob…
but this isn't your blog
I would agree that both C and Unix are highly disorganized/decentralized. There is no standard pattern to arguments passed to commands, for example; if this was standardized as much as possible, Unix would become much easier for noobs. And C? 40+ years later and we are still dealing with bad design decisions in it.
But yeah, this isn't your blog. and also, how in the hell did you get burned by unix this badly?
Re: Show HN: Oh-heck, a terminal command for when you forget other terminal commands
#75Re: Show HN: Oh-heck, a terminal command for when you forget other terminal commands
#76So the "Terms of Service & Privacy" link doesn't work, and apparently it's a paid subscription service but you don't find that out until you've signed up and tried activating an API key? I'm sure these are just oversights but it leaves a very bad taste in my mouth!
Re: Show HN: Oh-heck, a terminal command for when you forget other terminal commands
#77This used to be called "man".
Re: Show HN: Oh-heck, a terminal command for when you forget other terminal commands
#78> But, Mike! What happens if I can't remember the oh-heck commands? > Well, first, calm yourself, you fool. Once you've regained your composure, just type `oh-heck` into Terminal and follow the steps you numbskull. I think that they're trying to be clever, but I prefer to not be insulted by my tools.