summaryrefslogtreecommitdiff
path: root/docs/linux.md
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2024-07-17 01:31:30 +0100
committerDave Hibberd <hibby@debian.org>2024-07-17 01:31:30 +0100
commit8c81240e8a2913fabf1fa5159d95ed55891ab95e (patch)
tree30be944d88c3338cd70c5e17de86423d0b63d21b /docs/linux.md
parent7335d94ad9e5eee85ee65702644ce74e6e2a8822 (diff)
Ok I think I'm done for the night
Diffstat (limited to 'docs/linux.md')
-rw-r--r--docs/linux.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/linux.md b/docs/linux.md
index f1424b3..4272ad9 100644
--- a/docs/linux.md
+++ b/docs/linux.md
@@ -231,6 +231,18 @@ This effectively translates to 'add <username> to <groupname>. Get rid of the
brackets and add the user and group you're trying for! See [Permissions and
Groups](#Permissions-and-Groups) for an example.
+### Running Command Line Programs as Root
+
+We prefix a command with `sudo` if we want it to be run as root and we know
+we're in the right group!
+
+!!! note "Terminal Command"
+ `nano /etc/bpq32.cfg`
+
+ becomes
+
+ `sudo nano /etc/bpq32.cfg`
+
### Editing text as root
The path of least resistance for many is to use the command line - if you know