su Command Examples

Switch shell to another user. More information: https://manned.org/su.

su

su {{username}}

su - {{username}}

su - {{username}} -c "{{command}}"