Chapter 6 Directory Commands
As a CentOS 7 superuser, you can arrange information anywhere in the directory structure. (T/F)
True
The RENAME and REN commands do not allow you to specify a new drive or path for your destination file. (T/F)
True
Before using a removable disk with CentOS 7, what must an administrator do before they format the removable disk? Mount Partition Expand Unmount
Unmount
To include filenames in the structure shown by the Windows 10 TREE command, you should use what switch? /A /D /F /T
/F
When working in the Windows 10 CLI, the XCOPY command can be used with what switch to make the operating system not display filenames while copying? /E /Q /S /V
/Q
When using the RD command in the Windows 10 CLI, what switch will execute the removal of all directories and files in the specified directory and the directory itself? /Q /R /S /T
/S
When using the FORMAT command in Windows 10 to format a disk, what switch can specify a volume label of up to eleven characters? /C -V /V /11
/V
Windows and Linux based operating systems use different types of general logic for entering commands. What is the alternative name that refers to these different logics? Syntax CLU Programs Options
Syntax
In Windows 10, to view a graphical representation of the directories on a disk you can use which command? DIRUSE TREE DSQUERY DELTREE
TREE
In CentOS 7, what command allows you to copy files to a formatted disk or a USB drive? ren floppy cp cd
cp
What command will allow a CentOS 7 user the ability to copy files or directories in the directory tree? cp COPY XCOPY cd
cp
When administering CentOS 7, which ls command option can be added to view any hidden files? -S -h -a -r
-a
Which command can switch a CentOS 7 administrator use to list entries in reverse order? -b -a -i -r
-r
In Windows 10, you can open the command prompt console by clicking Start and then clicking which element? All apps File Explorer Settings Command
All apps
Which command in the Windows 10 CLI specifies that you want to display the current drive and directory? cd /d cd /p CD CD ..
CD
When you are navigating through a system's directories within the Windows 10 CLI, what command will allow you to back up one directory? cd/b CD .. cd // CD
CD ..
What type of interface allows you to issue commands efficiently, view the directory structure, and execute other tasks? GUI CLI CP XCOPY
CLI
In the Windows 10 CLI, what command can you use to copy one or more files to an alternative location? DIR TREE CD COPY
COPY
CLI commands in Windows 10 are issued on a line that is usually identified by what type of blinking element? Line Word Cursor Box
Cursor
Directories cannot be alphabetically sorted using the Windows 10 CLI. (T/F)
False
In the Windows 10 CLI, if you omit the path in the TREE command, the command displays an error message. (T/F)
False
The Windows 10 CLI requires quotation marks to enclose filenames that contain spaces. (T/F)
False
In the Windows 10 CLI, which command will create a subdirectory? TREE MD CD DIR
MD
Windows Explorer has a pane located on the left side which can display the directory structure of one or more drives. What is the name of this pane? Folder pane File pane Directory pane Navigation pane
Navigation pane
In Windows 10, when you are entering commands into the CLI you can use two wildcard characters. One of these wildcard characters is the asterisk (*); What is the other wildcard character that can be used? Exclamation mark (!) Question mark (?) Dollar sign ($) Ampersand (&)
Question mark (?)
In Windows, what is the term to define any blank area in a windows? Input space White space Open space Unused space
White space
In the CentOS 7 CLI, you create a directory using which command? mkdir CHDIR MD cd
mkdir
What command can a CentOS 7 user execute to allow them to page through a list of directories and files on a disk that is too long for a one-screen display? chroot dirs dirname more
more
What command will allow a CentOS 7 user the ability to move files and directories in the directory tree? mv rm DEL ERASE
mv
In CentOS 7, to control the order in which items appear in a list you can pipe the output of the ls command to which additional command? sort pwd select find
sort