4. Use The Command-Line Interface Flashcards

1
Q
  1. What are some advantages of using the command-line interface?
A
  1. The command-line interface provides these advantages:
    - Additional administrative and troubleshooting options
    - More access the the file system
    - A remote login using the Secure Shell (SSH) protocol
    - The ability to run commands as root using sudo
    - The ability to automate repetitive tasks using scripting
    - The ability to remotely administer multiple Mac computers simultaneously using Apple Remote Desktop (ARD)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  1. What are the four parts of a command string?
A
  1. The four parts of command string are as fallows:
    - Command name
    - Command option
    - Arguments
    - Extras
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  1. Which terminal command should you use to perform following?
 A. Print working directory
 B. List
 C. Change directory
 D. Indicate parent directory
 E. Indicate current user home folder
 F. Create folder
 G. Run the command with root account access
 H. Clear the terminal screen
A
  1. Use the commands to perform the following tasks:
A. Print working directory : pwd
B. List : ls 
C. Change directory : cd 
D. Indicate parent directory: . .
E. Indicate current user home folder: ~
F. Create a folder: mkdir 
G. Run command with root access: sudo 
H. You should use the tab key to automatically complete file names, pathnames, and command names
How well did you know this?
1
Not at all
2
3
4
5
Perfectly