SS Commands Cheat Sheet

Here is a cli commands cheat sheet for SS command, you can use this as a quick reminder for basic commands with a brief description for each of the commands.

What is SS command?

Add some data here

        # show all listening tcp sockets including the corresponding process
ss -tlp

# show all sockets connecting to 192.168.2.1 on port 80
ss -t dst 192.168.2.1:80

# show all ssh related connection
ss -t state established '( dport = :ssh or sport = :ssh )'
    

Check out the SS command documentation .


You can also check our MegaSh cheatsheet tool, that has 150+ searchable linux cheat sheets in one page, so you never forget a command as you work again

Check Also

Best AI tools list