Chapter 7
Which CentOS 7 find command option indicates that the file was last accessed n minutes ago?
-aminn
What operator is assumed when an operator is omitted in a search expression used with the CentOS 7 find command?
-and
Which CentOS 7 find command option indicates that the file's status was last changed n minutes ago?
-cminn
Which XCOPY command switch copies only files with the archive attribute set, and does not change the attribute?
/A
The DOS FIND command is case sensitive unless you include what switch in the command?
/I
What sign used with the DOS FIND command is used to redirect the output of a program?
>
The FINDSTR command can find the exact text you are looking for in what specific type of file?
ASCII
To hide a directory named Secret using file attributes in Windows 10, what would you type?
ATTRIB +H Secret
When using the Windows 10 CLI you can search for files using three different commands; two of the commands are DIR and FIND. What is the third command?
FINDSTR
What command can be used to find files containing words that start with the characters Work?
FINDSTR /R "\
A CentOS 7 filename requires an extension when you use a command to list, view, or execute the file.
False
The CentOS 7 find command returns a status of less than zero if an error occurs.
False
Windows 10 does not maintain file attributes that describe and regulate a file's use.
False
What type of attribute determines how the operating system allows processes or users to perform some functions?
File
The Windows 10 administrator account is called a recovery agent because it can decrypt any file. What type of administrator account key can decrypt any file?
Global key
When you used the /M switch with the XCOPY command, the system will perform what type of backup?
Incremental
When using dates and date ranges with Windows Search, you can use dates such as today, tomorrow, or yesterday in a search. What are these types of dates called?
Relative
The FINDSTR command offers more control over the search process then the FIND command.
True
The compression and encryption attributes for disk files are mutually exclusive?
True
Which type of file suffix is used by both Windows 10 and the CentOS 7 GNOME desktop to identify file associations?
extensions
What CentOS 7 utility finds character or string patterns in an ASCII file?
grep
What type of file compression is most commonly used in Linux distributions, such as CentOS 7?
gzip
What type of Windows file attribute prevents a file from being seen by other commands?
hidden
In CentOS 7, you cannot modify a directory or file that has which specific attribute?
i (immutable)
What term identifies the specific place where a CentOS 7 application stores file and directory attributes?
inode
What command in CentOS supports wildcards and provides a very simple way of searching for files in a specific directory?
ls
What command issued at the Windows command prompt will allow you to view file contents?
more
When using Windows search, if you know the approximate size of a file, you can include the file's size in your search by using what keyword and syntax?
size:
How many characters are file extensions limited to when you are using the short filename convention?
three
Which CentOS 7 command is often piped with the find command to construct an argument list using standard input from the find command?
xargs