Skip to content

Instantly share code, notes, and snippets.

@bradmkjr
Created January 15, 2019 04:32
Show Gist options
  • Save bradmkjr/3e508e6805787d5c46812027033840cd to your computer and use it in GitHub Desktop.
Save bradmkjr/3e508e6805787d5c46812027033840cd to your computer and use it in GitHub Desktop.
sudo command > executes command as root
sudo -k > empties password cache
sudo visudo > edits /etc/sudoers
passwd > changes user password
chown owner:group > changes owner and group of file
chmod permissions file > changes the file permissions
ls -lh [dir] > displays files and permissions [of directory]
9:32 could you put that in a gist easily?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment