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
What is command grouping?
How do I run bash on windows?
What is grep command in linux with examples?
What is ls command and what it does?
Who am I command in linux?
What is the fastest way to enter a series of commands from the command-line?
Which command is used to find what is in your home directory?
Which are the linux directory commands?
What are whois tools?
What does mkdir do in linux?
what is the fastest way to enter a series of commands from the command-line in linux
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?
What is the difference between find and locate command in linux?
What does touch do in linux?
What is mask and umask in linux?