Linux CLI - Users and Groups
Which
sudo option allows you to run a script as root while preserving the user's environment variables?sudo option allows you to run a script as root while preserving the user's environment variables?-E option preserves the user's environment variables when running commands with sudo.-i simulates a login shell resetting environment; -u root changes user but does not preserve environment; --reset-env clears environment variables.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions