Created
May 3, 2014 11:17
-
-
Save marczhermo/11495993 to your computer and use it in GitHub Desktop.
echo and tee command
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
echo "<?php phpinfo(); ?>" | sudo tee /var/www/test.php > /dev/null && sudo chgrp www-data /var/www/test.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment