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

What is command grouping?

575


How do I run bash on windows?

515


What is grep command in linux with examples?

561


What is ls command and what it does?

562


Who am I command in linux?

568






What is the fastest way to enter a series of commands from the command-line?

546


Which command is used to find what is in your home directory?

569


Which are the linux directory commands?

569


What are whois tools?

535


What does mkdir do in linux?

535


what is the fastest way to enter a series of commands from the command-line in linux

534


You have a tab delimited file called phonenos and want to change each tab to four spaces. What command can you use to accomplish this?

562


What is the difference between find and locate command in linux?

550


What does touch do in linux?

526


What is mask and umask in linux?

551