Ernestas Poškus

Technical blog

"We must view with profound respect the infinite capacity of the human mind to resist the introduction of useful knowledge." - Thomas R. Lounsbury

| github | linkedin | twitter |

ansible 2 / elasticsearch 2 / kernel 1 / learning 29 / linux 2 / mnemonics 1 / nginx 1 / paper 29 / personal 5 / research 28 / review 29 / rust 1 / scientific 29 / tools 2 /

Socket statistics

WC 173 / RT 1min

Mnemonics is any learning technique that aids information retention in the human memory. Mnemonics make use of elaborative encoding, retrieval cues, and imagery as specific tools to encode any given information in a way that allows for efficient storage and retrieval. For curious read Tony Buzan books. [wiki]


-n, –numeric | Do now try to resolve service names.

-a, –all | Display all sockets.

-e, –extended | Show detailed socket information

-p, –processes | Show process using socket.

-t, –tcp | Display only TCP sockets.

-u, –udp | Display only UDP sockets.

-l, –listening | Display only listening sockets (these are omitted by default).

-4, –ipv4 | Display only IP version 4 sockets (alias for -f inet).

-6, –ipv6 | Display only IP version 6 sockets (alias for -f inet6).

These are the main command arguments, it may be hard to remember them all. However if arguments are combined into known words or combinations it becomes cheerfully easy to recall them.

Furthermore one can use images to aid visualization of commands.

Imagine whore eating whole tuna in Nepal on mountain Everest.