#change owner and permissions recursively
sudo chmod -R 775 /ROOT_OF_YOUR_APP/vendor/
sudo chown -R $USER:$USER /ROOT_OF_YOUR_APP/vendor/
#impersonate as www-data in command line
sudo su www-data -s /bin/sh
#Homestead box swithc PHP version
sudo update-alternatives --config php
#unzip dd image backup
VBoxManage convertdd image_raw sda.vdi --format VDI --variant Fixed
Last active
October 8, 2021 09:51
-
-
Save gradosevic/1d7fa320e64a685fa37392d69ac4fb80 to your computer and use it in GitHub Desktop.
Linux commands
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment