FUNDAMENTALS OF COMPUTER

OPERATING SYSTEMS FOR COMPUTERS

COMMAND LINE INTERFACE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The terminal ____ command enables you to delete a file.
A
rm
B
dv
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -Use the rm command to remove files you no longer need. The rm command removes the entries for a specified file, group of files, or certain select files from a list within a directory. User confirmation, read permission, and write permission are not required before a file is removed when you use the rm command.

Detailed explanation-2: -The rm command is used to delete one or more files located in the current directory – this operation is permanent.

Detailed explanation-3: -rm-r will recursively delete a directory and all its contents (normally rm will not delete directories, while rmdir will only delete empty directories).

There is 1 question to complete.