Interviewer And Interviewee Guide

Linux Commands Interview Question:

What is the Difference between su and su- ?

Submitted by: Administrator
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.
Submitted by: Administrator

Read Online Linux Commands Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.