Home Privacy Policy Feedback Link to us Site Map Forums

UNIX Basic commands: su


The su command creates a shell with the user ID of another user.

The syntax for the su command is:

su [option] [user] [shell_args]

options:

- Complete the entire login sequence.

Examples:

su root
su tech


* Please note that there are many flavors of UNIX, so if in doubt, consult your man pages.