Last active
March 23, 2016 12:04
-
-
Save sandeep048/507cb0020419de1c2081 to your computer and use it in GitHub Desktop.
Save a copy of useful commands
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
# Using httpie for transfer.sh. | |
# Since it is a python plugin might be useful for automation. | |
# Will not handle extremely large files though. | |
# The library should use some async mechanism. | |
http -b PUT https://transfer.sh/fname.ext < fname.ext | |
# Create a new user account | |
useradd -d /home/sandeep -m -c "Sandeep Pathivada" sandeep | |
usermod -G root sandeep |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment