Linux Commands Question:

What is the Difference between su and su- ?

Linux Commands Interview Question
Linux Commands Interview Question

Answer:

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.


Previous QuestionNext Question
How to shuffle the GRUB booting from one Disk to other?What is vnc?