Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is c++ makefile?

949


What is the difference between rmdir and rm r?

1158


How can I delete a file in linux?

1086


What is cd command used for?

1083


How do I list all processes in linux?

992


How compile c++ program in cmd?

1091


Why is linux cpu usage so high?

1055


What is Syntax of any Linux command?

1194


What does && mean in bash?

1085


How can I check the exit status of my previous command in Linux operating system?

983


How you will create new folder / directories and how to remove file and folder in linux?

928


Which of the commands will replace all occurrences of the word rate with the word speed in the file racing?

1109


What is echo command in batch file?

1095


You need to see the last fifteen lines of the files dog, cat and horse. What command should you use?

986


Which command would you use to create a file system on a new hard drive?

1062