gudii9
asked on
su command
how below commands are different
su department (when i do pwd here says department)
vs
su - department(when i do pwd here says /home/department)
when i do below
su -c 'echo $echo $DEPARTMENT_HOME' department
it does not work
when i do below
su -c 'echo $echo $DEPARTMENT_HOME' - department
it does work. Please advise the difference.
what is difference between
department and /home/department
how su and sudo are different?
how can there is depearment inside home as well as outside at top level again?
what is visudo and sudoers file or folder?
Please advise
su department (when i do pwd here says department)
vs
su - department(when i do pwd here says /home/department)
when i do below
su -c 'echo $echo $DEPARTMENT_HOME' department
it does not work
when i do below
su -c 'echo $echo $DEPARTMENT_HOME' - department
it does work. Please advise the difference.
what is difference between
department and /home/department
how su and sudo are different?
how can there is depearment inside home as well as outside at top level again?
what is visudo and sudoers file or folder?
Please advise
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.