Last active
April 17, 2017 22:00
-
-
Save rohancme/a3e72b36e92a55491956111b136febd9 to your computer and use it in GitHub Desktop.
This file contains 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
# Sort disk usage asc | |
du -k -m -h -c / | sort -h | |
# listen for udp packets on a port | |
sudo tcpdump -i lo udp port 514 | |
# make all .sh files in a directory executable | |
find ./ -name "*.sh" -exec chmod +x {} \; | |
# rsync through ssh tunnel | |
rsync -avzP -e "ssh -A user@proxy ssh" user@remote-vm:filename . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment