rm -R lampp
However, you need to be careful with this command, as it makes it easy to accidentally delete a lot more than you intended.
It is a good idea to always double-check which directory you're in, and whether you typed the command correctly, before pressing Enter.
rm -R -i lampp
-i makes it a little safer, because it will prompt you on every deletion. However, if you are deleting many files this is not going to be very practical. Still, you can try this first.
Many people suggest using
-f (combining it into
-rf), claiming that it gets rid of annoying prompts. However, in normal cases I think it's best not to use it. When you use it, you won't be warned if your arguments supply a non-existing directory or file(s): rm will just silently fail to delete anything. It can be helpful in the specific case when you know you're going to delete a bunch of files that you do not have "write" permission for, and yet you do have write permission on the containing directory. Without
-f, you'll be prompted for each such file removed. But even in this situation there are better ways than just to add the
-f immediately. Firstly, start it without the
-f: if there are problems with your arguments, then you'll notice. If you start getting too many prompts about files without write access, then Ctrl+C that and re-start it with the
-f. Alternatively, run the command from a user (or the superuser using sudo) that does have write access to the file.