What is the Difference between 'su' and 'su-' ?

Answer Posted / ramesh seervi

both command is used for switch the user but su will drop
you on the current directory and su - will drop you on the
user's home directory

Is This Answer Correct ?    45 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is it called bash?

500


Explain any one service which are working on udp only?

524


Find command can search for files by

548


How can I type in cmd?

510


What does rmdir do in linux?

543






What is the command to check cpu speed in linux?

530


How do you know which shell I am using in linux?

530


What is the use of finger command in linux?

519


What language is a makefile written in?

522


What is difference between egrep and grep?

517


How do you ask politely?

534


please advice me what i have to prepare for NIC Exam(22-feb- 09). send me the question pattern for the 2 hrs exam. please sent it to manivannan_it15@yahoo.co.in

1905


How do you limit memory usage for commands?

571


What is the difference between cd and cd in linux?

514


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

494