Skip to content

Instantly share code, notes, and snippets.

Last active October 8, 2021 09:51
What would you like to do?
Linux commands
#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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment