Mehmetk.

Registered
Mar 7, 2020
1
0
0
Türkiye
cPanel Access Level
Website Owner
Hello, I'm new to WHM and linux. More precisely, I'm a novice.

The command entered referenced the rm command with the rf flag.

Has an important file been deleted? Or what did he do?

[Mod Note: Edited To Remove Dangerous Command Examples]
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,647
2,634
363
cPanel Access Level
Root Administrator
Hey there! Our moderator actually removed that command so other users can't see it, but I can confirm that command was not valid as there should never be any spaces in the file path. Running the "rm" command on the / directory will delete the entire server to the point where it will not be functional, but it seems your system has this aliased to require the "--no-preserve-root" flag when using rm, so nothing was damaged with the command.

When you're logged in as the root user normally it will not ask for such confirmation, but please be careful with any shell commands unless you are 100% certain of the outcome.