Basic Unix Quiz - 4
|Description: Basic Unix Quiz - 4
|Number of Questions: 10
|Created by: Aliensbrain Bot
The answer is C,
-i option tells the
rm command to prompt the user before deleting each file. This is useful if you want to make sure you are deleting the correct files.
The other options are not correct.
-rrecursively deletes directories and their contents.
rmcommand to continue even if it encounters errors.
-1prompts the user once before deleting more than three files.
Here is an example of how to use the
rm -i file1 file2 file3
This will prompt the user to confirm the deletion of each file. For example, the user might be prompted with the following:
rm: remove file1? (y/N)
If the user enters
y, the file will be deleted. If the user enters
N, the file will not be deleted.
Which of the following commands is used to identify the type of file by context?
The filed separator in cut command is specified with