Linux CLI - File and Directory Operations
Which of the following is the correct syntax to remove a file named
example.txt?example.txt?rm filename. Here, rm example.txt removes the file named example.txt.-r is for directories, -i asks for confirmation, and -f forces removal but needs a filename. rm example.txt is simplest and correct for a single file.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions