su - user vs su user
su is a command used to switch the current user to another user. The - option is used to specify that you want to switch to the target user's environment.
For example, if you run su bilal, you will be prompted for the password of the bilal user, and ...
mdusama.hashnode.dev3 min read