su
Verified for current stable LTS
Su Commands
Su command syntax with verified terminal examples.
Commands
7 commands for Su
su Operations
Su Command: Display Help
su -h su Operations
Su Command: Display Version
su -V su Operations
Su Command: Execute Command As Another User
su - <username> -c "<command>" su Operations
Su Command: Switch To Superuser
su su Operations
Su Command: Switch To User With Login Shell
su - <username> su Operations
Su Command: Switch To User With Password
su <username> su Operations
Su Command: Switch To User With Specific Shell
su -s /<path/to/shell> <username> Suggest a Su Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Su workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.