Last active
September 29, 2015 10:08
-
-
Save coto/1584869 to your computer and use it in GitHub Desktop.
System Tips
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
# Listen which port an interface is using (wlan0, eth0, etc) | |
tcpdump -nettti wlan0 | |
# List logs on real time | |
tail -f /var/log/* | |
# DNS Lookup (Query NS Records) | |
dig ns domain.com @8.8.8.8 | |
# Query MX Records | |
dig domain.com MX +noall +answer | |
# View ALL DNS Records | |
dig domain.com ANY +noall +answer | |
# View Short Output | |
dig domain.com ns +short | |
# DNS Reverse Look-up | |
dig -x 209.132.183.81 +short | |
# Get files from Server | |
scp -P $PORT $USER@$IP:/$FOLDER_REMOTE/* ./$FOLDER_LOCAL | |
# Delete files with xcode name or folder in /private directory | |
sudo find / -iname '*xcode*' 2> /dev/null | egrep '^/private.*' | xargs -I file sudo rm -rfv file | |
# This website runs a lot of interesting information http://centralops.net/co/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment