Linux CLI - Users and Groups
Which command correctly switches to user
mary and initiates a login shell session?mary and initiates a login shell session?- option with su starts a login shell, loading the user's environment.su - mary is the standard syntax to switch to user mary with a login shell.su mary -l and su --login mary are not valid syntax.su mary switches user but does not start a login shell.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions