Question: Many tasks require the root privilege, such as installing a software package, but usually, you cannot log in as root for security reasons. Instead, the
Many tasks require the root privilege, such as installing a software package, but usually, you cannot log in as root for security reasons. Instead, the sudo command is a convenient way of executing commands as root (by default, unless another user is specified). After you run export X=7, you will be able see it using the command env. But if you sudo env you wont. Why? What simple argument can you add to sudo env to see X=7?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
