And here's a command that tries to fix up a mistake after you type it. Like this one, it's also named like what you might say afterwards. https://github.com/nvbn/thefuck
Show HN: Oh-heck, a terminal command for when you forget other terminal commands
101–110 of 132 posts
Re: Show HN: Oh-heck, a terminal command for when you forget other terminal commands
#102So 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!
oh-heck "Bring up the network interface. Goddamit Linux where did ifconfig go? Why do you have to NIH everything?"
Re: Show HN: Oh-heck, a terminal command for when you forget other terminal commands
#103Am I crazy to think that a tool like this is an accident waiting to happen? I'm assuming that this tool is for people who aren't familiar with the system enough to get what they need from the man pages and would rather not invest the time to become deeper on it. If you don't remember the command you need to use, how can you be sure it is the correct command and options before you run it? edit: typo
Re: Show HN: Oh-heck, a terminal command for when you forget other terminal commands
#104Hey guys, I've created a really small tool that converts natural language into terminal commands using GPT3. To my chagrin, I seem to have a pathological inability to remember commands so I'm hoping this may help others suffering from such a terrible affliction.
Might be worth giving the website/messaging a once-over
Re: Show HN: Oh-heck, a terminal command for when you forget other terminal commands
#105Led to finding this funny snippet in the 1992 ev_keymap.h file:
#define NX_NUMKEYCODES 256 /* Highest key code is 0xff. ADB used to use 0x80 for keydown state, but who the heck uses adb anymore. */
Re: Show HN: Oh-heck, a terminal command for when you forget other terminal commands
#106Re: Show HN: Oh-heck, a terminal command for when you forget other terminal commands
#107And here's a command that tries to fix up a mistake after you type it. Like this one, it's also named like what you might say afterwards. https://github.com/nvbn/thefuck
This is great. Is there an easy "open source terminal emulator" where I can run this after I typed enter but before it is executed? More like. is there a way the terminal can understand I typed a bad command and then give suggestions for changing it.
Re: Show HN: Oh-heck, a terminal command for when you forget other terminal commands
#108And here's a command that tries to fix up a mistake after you type it. Like this one, it's also named like what you might say afterwards. https://github.com/nvbn/thefuck
aliased as 'duck' to be work-friendly
Re: Show HN: Oh-heck, a terminal command for when you forget other terminal commands
#109Am I crazy to think that a tool like this is an accident waiting to happen? I'm assuming that this tool is for people who aren't familiar with the system enough to get what they need from the man pages and would rather not invest the time to become deeper on it. If you don't remember the command you need to use, how can you be sure it is the correct command and options before you run it? edit: typo
Re: Show HN: Oh-heck, a terminal command for when you forget other terminal commands
#110So 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!
oh-heck "Bring up the network interface. Goddamit Linux where did ifconfig go? Why do you have to NIH everything?"
echo "Local IPs: "
ifconfig | grep "inet " | grep -Fv 127.0.0.1 | awk '{print $2}'
systemd-resolve --status | grep -A 2 Servers | sed 's/\ //g'
ip route show
curl --silent ipinfo.io | grep -E '\"ip|hostname|city' | sed 's/\"//g'
Hope this helps