DEV Community

M Akhyar Rahman H
M Akhyar Rahman H

Posted on

Buster

Alt Text

rm is a unique command.
Some people use it normally:

rm
Enter fullscreen mode Exit fullscreen mode

or like this:

rm -i
Enter fullscreen mode Exit fullscreen mode

maybe like this (?) :

rm -ir
Enter fullscreen mode Exit fullscreen mode

Im pretty sure this how most people use it:

rm -rf
Enter fullscreen mode Exit fullscreen mode

but I use it like this:

rm -fr
Enter fullscreen mode Exit fullscreen mode

But how about using mv to /dev/null ?

Comments ? 😄

Top comments (1)

Collapse
 
moopet profile image
Ben Sinclair

Most people better not us is as rm -rf by default!