Quoting and expansion
routinepar 1 commandRemove the file that looks like an option
There is a file called -rf.txt. rm will read that name as options. Remove it anyway, and leave everything else alone.
Goal
0 / 1 commands
Remove the file called -rf.txt. It begins with a dash, so rm will read it as options.
- ·Uses
rm
$
| Mode | Links | Size | Name |
|---|---|---|---|
| -rw-r--r-- | 1 | 20 | -rf.txt |
| -rw-r--r-- | 1 | 24 | a'quote.txt |
| -rw-r--r-- | 1 | 29 | agenda.txt |
| -rw-r--r-- | 1 | 33 | report.txt |
| -rw-r--r-- | 1 | 22 | star*.txt |
| -rw-r--r-- | 1 | 32 | trailing space .txt |
| -rw-r--r-- | 1 | 26 | two words.txt |