Linux CLI - Users and Groups
Why does
su - start a login shell while su alone does not?su - start a login shell while su alone does not?- tells su to start a login shell, loading the target user's environment as if logging in fresh.su switches user but keeps the current environment, not simulating a full login.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions