CH8 Flashcards
Which options can be used to prevent CP from overwriting an existing file? (Choose Two)
- z
- n
- N
- i
- n
- i
Which option can be used with the RM command to prompt before deleting?
A
-P
i
-i
-i
The RM command can delete multiple files at once?
True
False
True
Which of the following commands can be used to rename a file?
cp
rm
mv
Name
mv
The TOUCH command can be used to? (Choose Two)
Update the timestamp of existing files
Change ownership of a file
Create New - Empty Files
Change a files name.
Update the Timestamp of existing files.
Create New - Empty Files
Which of the following are glob characters? (Choose Three)
Square Brackets []
?
-
*
Square Brackets []
?
*
The main purpose of using glob characters is to be able to provide a list of filenames to a command?
True
False
True
The asterisk character is used to represent zero or more of any character in a filename?
True
False
True
Brackets cannot be used to represent a range of characters?
True
False
False
Which command would list files that do not begin with a “T” or a “W”?
echo /etc/[TW!]
echo /etc/!TW
echo /etc/[!TW}
echo /etc/[*TW]!
etcho /etc/[!TW]*