Last active
August 31, 2016 12:31
-
-
Save fdocr/33c6b0c2f2a6d11fde97bc7c5f173d4b to your computer and use it in GitHub Desktop.
Misc linux/unix administrative 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
# Give ownership of directory to user/group | |
sudo chown -R <user>:<group> directory | |
sudo chown -R :<group> directory | |
sudo chown -R <user>: directory | |
# Add user to group | |
sudo usermod -a -G groupName userName |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment