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
How do I check my cpu cores?
What is file and example?
Brief about FTP hostname?
What will happen when a system call is encountered in a user program?
What is devops model?
What is cmake in linux?
How do you run a command for a limited time?
How do you run command every time a file is modified?
What is the default number of shell commands saved in the history list of .cshrc file?
Explain the linux directory commands along with the description?
How do I list directories in linux?
What is the symbol of linux?
What is whois command in linux?
What are the basic commands for user management?
What are commands in grammar?