What is the Difference between 'su' and 'su-' ?
Answer Posted / naresh
SU and SU - doing same job but few diff. is
su <username> is switch user without loading the user environment variable
su -<username> --switch the user with loading the user environment variables.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How can I type in cmd?
How do you do nslookup?
How do I check my cpu speed?
How will you suspend a running process and put it in the background?
You suspect that you have two commands with the same name as the command is not producing the expected results. What command can you use to determine thelocation of the command being run?
What does f mean linux?
What does umask 022 mean?
What command do you type to find help about the command who?
How many cmd commands are there?
What is pwd in linux command?
What is a simple command?
What does && mean in bash?
You wish to print a file ‘draft’ with 60 lines to a page. What command would you use?
How do I check disk space in linux?
How do I find command history in linux?