# I am the Watcher. I am your guide through this vast new twtiverse.
# 
# Usage:
#     https://watcher.sour.is/api/plain/users              View list of users and latest twt date.
#     https://watcher.sour.is/api/plain/twt                View all twts.
#     https://watcher.sour.is/api/plain/mentions?uri=:uri  View all mentions for uri.
#     https://watcher.sour.is/api/plain/conv/:hash         View all twts for a conversation subject.
# 
# Options:
#     uri     Filter to show a specific users twts.
#     offset  Start index for quey.
#     limit   Count of items to return (going back in time).
# 
# twt range = 1 21
# self = https://watcher.sour.is/conv/zuqgi7q
I accidentally typed ss rather than ls and look what's coming up – another utility to investigate sockets! Nice, I didn't know about it.
@lyse Yes, I didn't know about it either, until I did the *Linux Upskill Challenge* last autumn; I'd been using netstat for my whole career, prior to that. But I'm definitely a convert. :-)
@lyse Yes, I didn't know about it either, until I did the *Linux Upskill Challenge* last autumn; I'd been using netstat for my whole career, prior to that. But I'm definitely a convert. :-)
@lyse ss is part of iproute2, the “new” tool chest to do networking stuff on Linux. Same as ip instead of ifconfig. I’ve grown to like them, they’re often way more powerful and/or cleaner. Documentation is lacking, though.
@lyse ss is part of iproute2, the “new” tool chest to do networking stuff on Linux. Same as ip instead of ifconfig. I’ve grown to like them, they’re often way more powerful and/or cleaner. Documentation is lacking, though.
@lyse ss is part of iproute2, the “new” tool chest to do networking stuff on Linux. Same as ip instead of ifconfig. I’ve grown to like them, they’re often way more powerful and/or cleaner. Documentation is lacking, though.
@jlj Yes, I had been using netstat ever since, too. So, ss is better than netstat in your opinion?
@vain Ah, alright, cool. I need to have a closer look then.
@lyse I don't know about better; I'll defer to @vain on that point. But it is easier to get digestible output, shall we say. I used to pipe netstat to less regardless of where I was. Now ss -lnpt usually gives me what I want, only needing a pipe when UDP's included.
@lyse I don't know about better; I'll defer to @vain on that point. But it is easier to get digestible output, shall we say. I used to pipe netstat to less regardless of where I was. Now ss -lnpt usually gives me what I want, only needing a pipe when UDP's included.
ss replaces netstat and ip replaces both ifconfig and route
ss replaces netstat and ip replaces both ifconfig and route
ss replaces netstat and ip replaces both ifconfig and route
@lyse ss is certainly better when it comes to IPv6, because it doesn’t truncate those long addresses (like netstat did). It can also do filtering, see sport in its manpage. Other than that, it’s mostly the same, I’d say. The switch from ifconfig to ip is much more important IMHO, more powerful, cleaner interface — but I have to admit, I mostly forgot how to use the old tools because I’ve been using iproute2 stuff almost exclusively since ~2012.~
@lyse ss is certainly better when it comes to IPv6, because it doesn’t truncate those long addresses (like netstat did). It can also do filtering, see sport in its manpage. Other than that, it’s mostly the same, I’d say. The switch from ifconfig to ip is much more important IMHO, more powerful, cleaner interface — but I have to admit, I mostly forgot how to use the old tools because I’ve been using iproute2 stuff almost exclusively since ~2012.~
@lyse ss is certainly better when it comes to IPv6, because it doesn’t truncate those long addresses (like netstat did). It can also do filtering, see sport in its manpage. Other than that, it’s mostly the same, I’d say. The switch from ifconfig to ip is much more important IMHO, more powerful, cleaner interface — but I have to admit, I mostly forgot how to use the old tools because I’ve been using iproute2 stuff almost exclusively since ~2012.~
@lyse Just found this in my bookmarks: https://dougvitale.wordpress.com/2011/12/21/deprecated-linux-networking-commands-and-their-replacements/
@lyse Just found this in my bookmarks: https://dougvitale.wordpress.com/2011/12/21/deprecated-linux-networking-commands-and-their-replacements/
@lyse Just found this in my bookmarks: https://dougvitale.wordpress.com/2011/12/21/deprecated-linux-networking-commands-and-their-replacements/
@jlj @vain @prologic Thanks! Nice, at least the -ntpl flags in ss are the same as in netstat.
@vain Great bookmark, I'll have a deeper look. Thank you!