3 ms·
Just an hour ago I got reminded how user-unfriendly some terminal utilities are. # ln ln: missing file operand Try 'ln --help' for more information
by grishka 5y ago
Just an hour ago I got reminded how user-unfriendly some terminal utilities are.
# ln
ln: missing file operand
Try 'ln --help' for more information.
Yeah what a helpful error message. Yes I know it takes two file paths to link one to the other. But for the life of me I can't remember which order it wants them in.
I wish there was some sort of "parameter hint" for the terminal, like in an IDE. You type `ln` or `find` or `grep` and it pops up above the cursor and tells you what parameters the command expects.
- bee_rider 5y agoUsually I'd rather not muddle my way through ln, since it can make a mess of things. grep... I dunno, I guess I use it enough to be used to it. find is kind of a pain, I can never remember if the path goes first or second. Honestly I just do something like locate <thing> | grep <path where I expect it to be>
- alexvoda 5y agoPowershell has much better discoverability. Just type a "-" for a flag, trigger autocomplete and you get a list of options with descriptive names