4 ms·
Does this work on windows? I've been using a npm package for this "port-kill". The problem is less that people don't understand shell commands but more there i
by beezlewax 4y ago
Does this work on windows? I've been using a npm package for this "port-kill".
The problem is less that people don't understand shell commands but more there is too much stuff to remember.
An alias works well for this stuff but then you have to set it up everywhere you work. Sometimes downloading a package is just easier.
npx kill-port 8080
- dexterdog 4y agoThat's why you have a set of dotfiles that you use as your base wherever you go. Store it at a url you know and as long as you have wget or curl it's 1 line away. Then you don't have to remember whatever the author decided to name the package.
- funcDropShadow 4y ago> The problem is less that people don't understand shell commands but more there is too much stuff to remember. But is it really better in the long run to add more and more additional tools? Is it less work to understand and remember more uses of fewer commands or is it less work to understand and remember more specialized commands? The latter is clearly more administrative work, because you have to install all those tools on your machines. On the other hand, finding more uses of a few select tools creates those associations in your brain that you need to cover new usages for them yourself. To me that's a clear win for the side of fewer well-understood tools.