Remove File in Shell

Level 114 keystrokes

rm -f removes a file without prompting for confirmation.

Shell code

# rm = remove; -f = force: no confirmation, no error if the file is missing
# Deletes temp.txt permanently (there is no trash), so use it with care
1rm -f temp.txt
Practice typing this code

Practice typing this code. Results are not recorded in the rankings.

Symbols in this code

The symbols you type in this Shell code and how often they appear.

  • -× 1
  • .× 1

More Shell examples at level 1

← Shell typing practice