Hi people, I have 2 problems here that I need help with.
1. I have a directory that I want to delete. Normally, I would just use this using Nautilus or something, but I'm having permission denied errors so I can't. The problem is, the directory isn't empty. It has other directories in it, which are probably not empty themselves (I haven't checked, there are quite a few). I tried
Code:
$ rmdir --ignore-fail-on-non-empty webmin-1.210
but this didn't seem to do anything. I then did
Code:
$ cd webmin-1.210
$ rm *
and that went through each file individually asking me if I wanted to delete. There were many files, so it goes without saying that this took a while! Of course, rm didn't delete the directories.
How then do I delete a directory and all its contents? I'm getting a bit confused by things in the man pages for rm and rmdir.
2. If I load GNOME or Xfce (and probably some of the other window managers I have installed, I haven't tried them all) and open a terminal, the prompt says "bash-3.00$". It wasn't always like this. If I load FVWM, the prompt says "nick@nick:~$" and that's what I used to have in GNOME. How do I get it back to that?
Any help appreciated, thanks.