command-line-murders/i-067653bae8b9ad6df
by SadServersMore by SadServers
latest revision: https://github.com/lsof-org/lsof latest FAQ: https://github.com/lsof-org/lsof/blob/master/00FAQ latest (non-formatted) man page: https://github.com/lsof-org/lsof/blob/master/L usage: [-?abhKlnNoOPRtUvVX] [+|-c c] [+|-d s] [+D D] [+|-E] [+|-e s] [+|-f[gG]] [-F [f]] [-g [s]] [-i [i]] [+|-L [l]] [+m [m]] [+|-M] [-o [o]] [-p s] [+|-r [t]] [-s [p:s]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names] Use the ``-h'' option to get more help information. admin@i-0d46f6faaf9ff441c:~$ lsof -n -i :5000 admin@i-0d46f6faaf9ff441c:~$ netstat -tulpn | grep 5000 (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN admin@i-0d46f6faaf9ff441c:~$ nc localhost 5000 ^C admin@i-0d46f6faaf9ff441c:~$ tel
paris/i-0d46f6faaf9ff441c 02:23
by SadServersWe 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: sudo: no password was provided sudo: a password is required admin@i-00bec02e20d648cd2:~$ cat .ansible/tmp/ cat: .ansible/tmp/: Is a directory admin@i-00bec02e20d648cd2:~$ cd .ansible/ admin@i-00bec02e20d648cd2:~/.ansible$
paris/i-00bec02e20d648cd2 01:08
by SadServersadmin@i-0264325fffd925a1b:/etc$ cd apache2/ admin@i-0264325fffd925a1b:/etc/apache2$ sl bash: sl: command not found admin@i-0264325fffd925a1b:/etc/apache2$ ls conf-available admin@i-0264325fffd925a1b:/etc/apache2$ cd conf-available/ admin@i-0264325fffd925a1b:/etc/apache2/conf-available$ ls javascript-common.conf admin@i-0264325fffd925a1b:/etc/apache2/conf-available$ cd .. admin@i-0264325fffd925a1b:/etc/apache2$ cd .. admin@i-0264325fffd925a1b:/etc$ cd .. admin@i-0264325fffd925a1b:/$ cd usr/share/java admin@i-0264325fffd925a1b:/usr/share/java$ ls libintl-0.21.jar libintl.jar admin@i-0264325fffd925a1b:/usr/share/java$ cd ..