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 c++ makefile?
What is the difference between rmdir and rm r?
How can I delete a file in linux?
What is cd command used for?
How do I list all processes in linux?
How compile c++ program in cmd?
Why is linux cpu usage so high?
What is Syntax of any Linux command?
What does && mean in bash?
How can I check the exit status of my previous command in Linux operating system?
How you will create new folder / directories and how to remove file and folder in linux?
Which of the commands will replace all occurrences of the word rate with the word speed in the file racing?
What is echo command in batch file?
You need to see the last fifteen lines of the files dog, cat and horse. What command should you use?
Which command would you use to create a file system on a new hard drive?