What does this Linux command do?

Solution 1:

No worries, it just executed 'rpm -e' which would not remove any package.

[root@web420 ~]# rpm -e
rpm: no packages given for erase

BTW, for verifying you have not removed all packages you could just run

rpm -qa

and see the list of installed packages.