Guides 11791 Published by

The distinctions between Linux's "su" and "su -" commands are described by TecAdmin.



Difference Between `su` and `su -` Commands in Linux

In Linux, the `su` command allows a user to switch to a different user account. The `su` command can be followed by the name of the user to switch to, and will prompt the user for the password of the user they are trying to switch to. The `su` command has a number of options
Su_command

Difference Between `su` and `su -` Commands in Linux