Linux Commands Question:

What is the Difference between su and su- ?

Tweet Share WhatsApp

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.

Download Linux Commands PDF Read All 23 Linux Commands Questions
Previous QuestionNext Question
How to shuffle the GRUB booting from one Disk to other?What is vnc?