In the No.7 su command, the difference between adding-and not adding-

su user: after switching users, retain the original information, such as environment variables and other information
su-user: after switching users, do not retain the original information, such as environment variable information will also be changed to the corresponding information of the new userIn the No.7 su command, the difference between adding-and not adding-

Guess you like

Origin blog.51cto.com/11092361/2593709