Add Linux command to run as sudo
This commit is contained in:
parent
8445da5817
commit
294efdcad4
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue