[–] lbhdc 3y ago ↗ What advantage does this have over fuser? fuser -k 8080/tcp [–] DougMerritt 3y ago ↗ The "-k" flag apparently is not POSIX, and is not standard on GNU, AFAIK.In any case the linked FAQ has an amusing overall response to such questions:> FAQ> Why yeet instead of sudo kill -9 $(sudo lsof -t -i:3000)?> You should probably use that other command instead. But if you’re lazy and can’t remember it without stack exchange, yeet will get the job done.>> Why would I ever use yeet? Shouldn’t this be like a two line shell script?> Yes.>> Why would I ever use yeet? Can’t I just alias that lsof command instead?> Yes.>> Why is yeet written in Rust? Wouldn’t $OTHER_LANGUAGE be better?> Yes.>> Aren’t you a horrible person for suggesting that anyone pipe curl into sudo sh?> Yes. [–] lbhdc 3y ago ↗ I didn't realize `-k` wasn't posix, good to know.
[–] DougMerritt 3y ago ↗ The "-k" flag apparently is not POSIX, and is not standard on GNU, AFAIK.In any case the linked FAQ has an amusing overall response to such questions:> FAQ> Why yeet instead of sudo kill -9 $(sudo lsof -t -i:3000)?> You should probably use that other command instead. But if you’re lazy and can’t remember it without stack exchange, yeet will get the job done.>> Why would I ever use yeet? Shouldn’t this be like a two line shell script?> Yes.>> Why would I ever use yeet? Can’t I just alias that lsof command instead?> Yes.>> Why is yeet written in Rust? Wouldn’t $OTHER_LANGUAGE be better?> Yes.>> Aren’t you a horrible person for suggesting that anyone pipe curl into sudo sh?> Yes. [–] lbhdc 3y ago ↗ I didn't realize `-k` wasn't posix, good to know.
[–] DougMerritt 3y ago ↗ Is it just me, or is there no way on the linked page to get this thing? [–] DougMerritt 3y ago ↗ It was just me, I was blind to the instructions. Source is https://github.com/Robert-Cunningham/yeet-rs
[–] DougMerritt 3y ago ↗ It was just me, I was blind to the instructions. Source is https://github.com/Robert-Cunningham/yeet-rs
5 comments
[ 2.5 ms ] story [ 25.2 ms ] threadIn any case the linked FAQ has an amusing overall response to such questions:
> FAQ
> Why yeet instead of sudo kill -9 $(sudo lsof -t -i:3000)?
> You should probably use that other command instead. But if you’re lazy and can’t remember it without stack exchange, yeet will get the job done.
>
> Why would I ever use yeet? Shouldn’t this be like a two line shell script?
> Yes.
>
> Why would I ever use yeet? Can’t I just alias that lsof command instead?
> Yes.
>
> Why is yeet written in Rust? Wouldn’t $OTHER_LANGUAGE be better?
> Yes.
>
> Aren’t you a horrible person for suggesting that anyone pipe curl into sudo sh?
> Yes.