Add Linux command to run as sudo

This commit is contained in:
James Skemp 2023-04-24 22:53:31 -05:00
parent 8445da5817
commit 294efdcad4
1 changed files with 6 additions and 0 deletions

View File

@ -270,3 +270,9 @@ scp file-name.ext <user>@<server>:~/path/to/directory/
# Copy the contents of a folder to a remote folder.
scp -r .\path\to\directory\* <user>@<server>:/path/to/remove/directory
```
## Sudo
```bash
# Start a root shell. `exit` when done.
sudo -s
```