su
Verified for current stable LTS
Su Command: Switch To User With Login Shell
Use for switch to user with login shell with Su. Exact CLI syntax to switch to user with login shell using Su.
When to use this: Use for switch to user with login shell with Su.
Command Syntax
su - <username> su - <username> Live Command Builder
Final Command
su - <username> Command Breakdown
-- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to switch to user with login shell using Su.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.