All apps/sudo

sudo

sudo

Execute a command as the superuser or another user.

Runs as sudo|macOS, Linux, Windows

Command form

ai-draft · 2 tasks · 3 fields

Run a command with elevated privileges, optionally as a given user or group. Other sudo options are not in this form.

Opens the form; the finished command lands at your prompt, unrun
otty gui sudo
Run as another userExample values, fixed in this page — nothing here reaches a terminal
Basic
Command*
string
TasksEach one presets the form for one job
Run as root
command
Run as another user
usergroupcommand
ParametersOnly these flags are editable in the form
Run as user
string
--user-u
Run as group
string
--group-g
Command
Command and its arguments to run with elevated permissions.
string · positional 0 · repeatable
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed sudo against its version. A form that does not match your version is not offered.