Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
It does work (verified).

Code:
sudo rm -rf /Applications/Safari.app

Copy and paste the command, do not type it yourself.

You need to be in an admin account.

Of course the deleted application will be... deleted.
 
I just type
sudo rm -rf
followed by a space, and then drag the application from the Finder to complete the Terminal input line.

using this method I usually delete half a dozen or so default Apple applications like Chess, Game centre etc.
 
Discouraging removal of apps that are integral to the operating system

I don't believe you can.

It is possible to remove apps that are normally part of the system but I can't recommend doing so.

… I usually delete half a dozen or so default Apple applications like Chess, Game centre etc.

Concerning Launchpad, for example:

… At least one core service includes references to /Applications/Launchpad.app so I should recommend not attempting to remove Launchpad.app or related software.

– I assume that similarly, at least one core service refers to /Applications/Launchpad.app … and so on.
 
This is generally not a good idea. I would recommend hiding them instead.

Code:
sudo chflags -h hidden "/path/to/app"

The reason your command didn't work is likely because you left out '/Applications/'

You can even do a bunch of apps at once by just adding more stuff on after the first one with a space.

Example:

Code:
cd /Applications; sudo chflags -h hidden Chess.app Safari.app Launchpad.app Reminders.app

To unhide them is then simple just use nohidden instead of hidden

Code:
cd /Applications; sudo chflags -h nohidden Chess.app Safari.app Launchpad.app Reminders.app
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.