What are some advantages of using the command-line interface?
The command-line interface provides these advantages:
sudoman pages provides an explanation of command usage and references to other related commandsWhat are the four parts of a command string?
The four parts of a command string are as follows:
Example: ls -lah ~/ > ~/Desktop/homeDirectoryList.txt
ls to “list directory contents”-l to “List in long format”-a to “Include directory entries whose names begin with a dot (.)”-h to “When used with the -l option, use unit suffixes: Byte, Kilobyte, Megabyte, Gigabyte, Terabyte and Petabyte in order to reduce the number of digits to three or less using base 2 for sizes.”~/ the current user’s home directory is the target of action> ~/Desktop/homeDirectoryList.txt redirect the output of the ls command to a new file on the user’s Desktop called “homeDirectoryList.txt.”
Which terminal command should you use to perform the following tasks?
Use these commands to perform the following tasks:
pwdlscd..~mkdirsudoclear or press <kbd>Control-L</kbd>mdfindWhich key should you use if you want to automatically complete filenames, pathnames, and command names?
You should use the <kbd>Tab</kbd> key to automatically complete filenames, pathnames, and command names.
What is the new default shell interpreter in macOS Catalina?
The Z shell (zsh) is now the default shell, but the bash shell is still installed in macOS Catalina.