From 92a1eb580e0c12ce2caa184cb84c1da14b5be91a Mon Sep 17 00:00:00 2001 From: Michal Date: Wed, 15 Apr 2020 19:56:36 +0200 Subject: [PATCH] update sudo updated --- pages.pl/common/sudo.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pages.pl/common/sudo.md b/pages.pl/common/sudo.md index 8a85014dc2..15e45cc6b3 100644 --- a/pages.pl/common/sudo.md +++ b/pages.pl/common/sudo.md @@ -1,23 +1,23 @@ # sudo -> Executes a single command as the superuser or another user. +> Wykonuje pojedyncze polecenie jako superuser lub inny użytkownik. -- Run a command as the superuser: +- Uruchom polecenie jako superuser: `sudo {{less /var/log/syslog}}` -- Edit a file as the superuser with your default editor: +- Edytuj plik jako superuser w domyślnym edytorze: `sudo -e {{/etc/fstab}}` -- Run a command as another user and/or group: +- Uruchom polecenie jako inny użytkownik i/lub grupa: `sudo -u {{user}} -g {{group}} {{id -a}}` -- Repeat the last command prefixed with "sudo" (only in bash, zsh, etc.): +- Powtórz ostatnie polecenie poprzedzone "sudo" (tylko w bash, zsh, etc.): `sudo !!` -- Launch the default shell with superuser privileges: +- Uruchom domyślną powłokę z uprawnieniami superuser: `sudo -i`