Just try to avoid this specific command (sudo rm -rf) from the command line if possible.
It is a very powerful command and if you do a mistake it is irreversible.
Read about what it can do. Terminal >
man rm
In my opinion it is better to enable the "root' user, do the job and disable it if you are new user.
It is an alternative better than running root commands using Terminal. Especially if there is no backup.
Just think about it!