3 ms·
netstat is deprecated and has been for a while, you should be using ss from iproute2. Most of the commands should map directly so it's pretty drop in.
by poooogles 9y ago
netstat is deprecated and has been for a while, you should be using ss from iproute2. Most of the commands should map directly so it's pretty drop in.
- mmillin 9y agoOnly on certain Linux systems is it deprecated. On the BSDs netstat is still the preferred tool.
- kchoudhu 9y agoThere's are more kinds of UNIX than Linux, and not all of them have deprecated perfectly functional tools.
- sridca 9y agoWhat is `ss`-equivalent of `netstat -atpn`?
- liveoneggs 9y agoI just use ss -nape most of the time
- dod9er 9y agoUh ok, but ss -atpn isnt very readable on my terminal due to linewrap. Anyone with suggestions ?
- defen 9y agoss -atpn | column -t Or pipe into `cat`
- bloopernova 9y agoI like ss if only for the mnemonic "ss 4chan" which sort of but not quite maps to "ss -4tan" ( https://explainshell.com/explain?cmd=ss+-4tan https://explainshell.com/explain?cmd=ss+-4tan )
- y4mi 9y agoThats glorious, gotta remember that one. Chan is a japanese name ending for children, various communities have created several Anime mascots over the years. Theyre generally suffixed with that -tan, as a cute misspronounciation of chan. https://en.m.wikipedia.org/wiki/OS-tan https://en.m.wikipedia.org/wiki/OS-tan Btw, 4tan should be that 4chan mascot. Ive seen it previously on sankaku complex, but its been too many years ago. Cant find it right now. /Edit: i probably should mention that you shouldnt visit sankaku complex at work. Its very... Questionable with nudity
- mappu 9y ago> that 4chan mascot https://en.wikipedia.org/wiki/Yotsuba%26 https://en.wikipedia.org/wiki/Yotsuba%26! (SFW)
- telchar 9y agoThis thread has been worth is just to learn about explainshell. I'm so happy that exists.