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
How do I use nslookup in linux?
What does umask 077 mean?
What are the command prompt commands?
What is Data Command?
How do you sort cpu in top command?
How to hide the partition in grub booting?
How you will create new folder / directories and how to remove file and folder in linux?
Why echo is used in linux?
How many interfaces(ethernet cards) are working using single command?
How can we increase disk read performance in single command?
How do I list all processes in linux?
What does mkdir mean?
Which daemon is used for scheduling of the commands?
Explain about gzip filename?
What is cpu in top command?