Skip to content

Instantly share code, notes, and snippets.

@JQL
Created August 25, 2018 10:52
Show Gist options
  • Save JQL/5cbe79c8e910838e06e0aa65aa2309bf to your computer and use it in GitHub Desktop.
Save JQL/5cbe79c8e910838e06e0aa65aa2309bf to your computer and use it in GitHub Desktop.
An introduction to Super User (sudo) on Linux.
SUDO
An introduction to Super User (sudo) on Linux.
COMMANDS & LINKS:
sudo : Super User do, run the command with Super User permissions.
cat stuff : Display the contents of stuff in terminal
sudo cat /proc/cpuinfo > ~/stuff : copy the contents of /proc/cpuinfo into ~/stuff
sudo chown john:john stuff : Change the ownership of a file or directory to user: john and group: john
clear (or CTRL+L) : Clears the terminal window
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment