What is the Difference between 'su' and 'su-' ?
Answer Posted / papseddy
there is little difference in both of these commends...
su --> just switch you to user mode (root) but didn't provide the complete user environment
su - ---> provide you the complete user environment and also direct jump to user home directory.
Is This Answer Correct ? | 20 Yes | 2 No |
Post New Answer View All Answers
What is FC command?
What are the ms dos commands?
Suppose I lost a root password and I need to give it, I treid to change it through single usermode even though I am not get a password, then what is the otherprocedure to give a root password?
Who am I command in linux?
What the command used for list the contents of your home directory, current directory and all subdirectories?
What does the ps command do in linux?
Why is it called bash?
Brief about the command nn?
What are different command to check ram, process and hdd of linux machine?
You wish to print a file ‘draft’ with 60 lines on a page. What command would you use?
How do I find command history in linux?
What does df command do in linux?
What is clang llvm?
Explain about lpr filename?
What is tty in linux process?