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
Why makefile is used in linux?
What is build process?
How do make computer faster?
Can I delete .bash history?
How many cmd commands are there?
How do you check which file consuming more space in linux?
How do I check if my cpu is overclocked?
Enlist some linux to file content commands?
What are the mv command options?
How to recover /etc/passwd file and /etc/shadow file?
Which command is used to find what is in your home directory?
What is the command can be run to remove all the rules in an iptable table?
Why ms dos is used?
What the command used for search file or files for specific text?
What would be the result of issuing the command cat phonenos?