From 7fc7d4f8c642d776488a52758e428b33fd8e6693 Mon Sep 17 00:00:00 2001 From: Karol Baraniecki Date: Sun, 12 Feb 2023 18:45:56 +0100 Subject: su: Document the [-c command] option --- Base/usr/share/man/man1/su.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Base/usr') 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) -- cgit v1.2.3