Created
October 31, 2018 20:43
-
-
Save LiamKarlMitchell/8e568df9d4dc6eebce9e3cfb18dad9d8 to your computer and use it in GitHub Desktop.
Switch to a bash shell for www-data in web directory.
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
#!/bin/sh | |
cd /var/www/html | |
sudo su -s /bin/bash www-data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment