Use the following questions to review what you have learned:
1:
What are some of the ways to access the command-line interface in Mac OS X?
2:
What is sudo?
3:
Name some commands that require sudo if you are logged into Mac OS X as an administrator user.
Answers
A1:
You can access the command line by logging in as >console, remotely logging in using ssh, putting Mac OS X into single-user mode, or using Terminal. Additionally, you can access the command line by booting from the Mac OS X Install DVD or from within the X11 application.
A2:
The sudo command lets you run a command as if you were logged in as a different user.
Most commonly, sudo is used to run commands as the System Administrator.
A3:
The chown and chmod commands require that you used sudo to execute them if you are operating on files or folders that you do not own or have permission to modify.