Created
January 7, 2015 14:35
-
-
Save pontikos/079093252cea956a15fd to your computer and use it in GitHub Desktop.
Some random shell commands.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Which shell? | |
| ps | grep $$ | |
| #Which distro? | |
| cat /etc/issue | |
| #Which connections? | |
| lsof -i | |
| netstat -lptu | |
| cat /proc/xxxx/net/tcp | |
| #Which mounted filesystems? | |
| df | |
| #Add history, auto-completion to sqlplus: | |
| alias sql=rlwrap -c sqlplus | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment