diff options
author | Karol Baraniecki <karol@baraniecki.eu> | 2023-02-12 18:45:56 +0100 |
---|---|---|
committer | Sam Atkins <atkinssj@gmail.com> | 2023-02-16 12:52:11 +0000 |
commit | 7fc7d4f8c642d776488a52758e428b33fd8e6693 (patch) | |
tree | 224e9d591665b271cdbe9e9e23a6c37dab894fb3 /Base/usr | |
parent | 040012a196e4288cdb8fa097e9be397662eb8795 (diff) | |
download | serenity-7fc7d4f8c642d776488a52758e428b33fd8e6693.zip |
su: Document the [-c command] option
Diffstat (limited to 'Base/usr')
-rw-r--r-- | Base/usr/share/man/man1/su.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Base/usr/share/man/man1/su.md b/Base/usr/share/man/man1/su.md index 7bf840b92d..fd226c34d5 100644 --- a/Base/usr/share/man/man1/su.md +++ b/Base/usr/share/man/man1/su.md @@ -6,6 +6,7 @@ su - switch to another user ```sh $ su [-] [user] +$ su [-] [user] [-c command] ``` ## Description @@ -18,6 +19,8 @@ When called with no user-specified, `su` defaults to switch to the *root* user. * `-`, `-l`, `--login`: Start the shell as it was a real login +* `-c`, `--command`: Execute a command using `/bin/sh` instead of starting an interactive shell + ## Arguments * `user`: User to switch to (defaults to the user with UID 0) |