Last active
March 8, 2016 17:26
-
-
Save josephspurrier/8f0451df41e72f96c7ca to your computer and use it in GitHub Desktop.
Userful Commands on Linux
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
# Find all files containing text | |
grep -Ril "text to find" / | |
# Write test to file using sudo | |
echo 'This is the test.' | sudo tee /etc/configfile | |
# Send a log using curl | |
curl -X POST -T file.txt https://example.com/file_upload; | |
# Check supported ciphers on server | |
nmap --script ssl-cert,ssl-enum-ciphers -p 443,993 example.com | |
# Check package version | |
dpkg -s package-name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment