Difference between "sudo" and "su" command in Linux
Watch this video to find out the difference between "sudo" and "su" command in Linux
Жүктеу.....
Пікірлер: 6
@Coder_DhruvArora2 жыл бұрын
Thank you for this video Helped in my home work 🙌
@DeepakSharma-ph4hq Жыл бұрын
What is difference between su raj and su - raj ?
@yousofhashemzade50032 жыл бұрын
tnx ! very helpful
@technologywithbryant
2 жыл бұрын
Glad to hear that!
@umair73543 жыл бұрын
If I sudo - E, i can preserve the environment, but if I su - bryant, how can i preserve it?
@technologywithbryant
3 жыл бұрын
su does have an option to preserve environment: "-m, -p, --preserve-environment". Run "su --help" for help. However, my recommendation is to use sudo as seen in the video.
Пікірлер: 6
Thank you for this video Helped in my home work 🙌
What is difference between su raj and su - raj ?
tnx ! very helpful
@technologywithbryant
2 жыл бұрын
Glad to hear that!
If I sudo - E, i can preserve the environment, but if I su - bryant, how can i preserve it?
@technologywithbryant
3 жыл бұрын
su does have an option to preserve environment: "-m, -p, --preserve-environment". Run "su --help" for help. However, my recommendation is to use sudo as seen in the video.