command-line-murders/i-0fd4a6c7aa10a235b
by SadServersMore by SadServers
R Repaint screen, discarding buffered input. --------------------------------------------------- Default "window" is the screen height. Default "half-window" is half of the screen height. --------------------------------------------------------------------------- SEARCHING /pattern * Search forward for (N-th) matching line. ?pattern * Search backward for (N-th) matching line. n * Repeat previous search (for N-th occurrence). N * Repeat previous search in reverse direction. ESC-n * Repeat previous search, spanning files. ESC-N * Repeat previous search, reverse dir. & spanning files. HELP -- Press RETURN for more, or q when done
kihei/i-0c7b24e701041061a 04:20
by SadServers-p, --program Show the PID and name of the program to which each socket belongs. -l, --listening Show only listening sockets. (These are omitted by default.) -a, --all Show both listening and non-listening sockets. With the --interfaces opt -F Print routing information from the FIB. (This is the default.) -C Manual page netstat(8) line 71 (press h for help or q to quit)
paris/i-0e419b6eddb51f1e5 01:54
by SadServers-L possibly with LWP and NLWP columns -m, m after processes -T possibly with SPID column For more details see ps(1). admin@i-06321e2dae7759c94:~$ sudo lsof -i -P -n | grep LISTEN We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. [sudo] password for admin:
paris/i-06321e2dae7759c94 04:30
by SadServersdrwxr-xr-x 2 admin root 4.0K Sep 24 23:20 agent -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-0a40943c8c217e6da:~$ vim webserver.py admin@i-0a40943c8c217e6da:~$ sudo su We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. [sudo] password for admin: Sorry, try again. [sudo] password for admin: