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
Brief about FTP hostname?
What are the 4 kinds of sentences with examples?
How do I stop a linux job?
What are the options of wc command?
What will happen when a system call is encountered in a user program?
Describe the mknod command and when you’d use it.
How do you create a text file in linux?
What is whois command in linux?
Explain difference between nfs soft and hard mouniting points?
How to write the output of a command to a file?
What the command used for search file or files for specific text?
Which command puts a script to sleep untill a signal is recieved?
What is clang space engineers?
How can we increase disk read performance in single command in Linux operating system?
What is cd command used for?