I need to delete some old doom3 demo how do I delete it as a root user in konsole?
Announcement
Collapse
No announcement yet.
How can I delete folders as root?
Collapse
This topic is closed.
X
X
-
Re: How can I delete folders as root?
You can issue commands 'as root' in konsole with sudo (as in 'sudo rm')Originally posted by elfshadow14I need to delete some old doom3 demo how do I delete it as a root user in konsole?
You can also start konqueror filemanager 'as root' with:
Code:kdesu 'konqueror --profile filemanagement'
- Top
- Bottom
-
Re: How can I delete folders as root?
Cuation: -Rf (f = force) deletes everything in a path without confirmation. These flags do the same thing, but with confirmation (just in case):
rm -rvi /path
or
sudo rm -rvi /path (if you don't own the directory)
The switches
r = recursive = delete a directory and everything in it
v = verbose mode (tells you what it's doing)
i = confirmation
john
- Top
- Bottom
Comment
-
Re: How can I delete folders as root?
Just my $ 0.02. When it comes to deleting multiple files or a directory with files in it, I think it's much safer to do it from Konqueror rather than the command line, specially since "sudo rm -rf" have very destructive consequences, and that there is no undelete/restore function in the command line. I also find it quite easy to get lost or confused about your location and/or target directories in the command line.
- Top
- Bottom
Comment
-
Re: How can I delete folders as root?
is a very bad way to do anything. You might accidentally delete your entire filesystem if you hit the Enter key too early.Code:sudo rm -rf
I agree with Jucato--useinstead.Code:kdesu konqueror
- Top
- Bottom
Comment
-
Re: How can I delete folders as root?
Thanks a TON!@!!! I used your command to create a short cut on the desktop for 'root filemanager'..... All is good in Kubuntuhoodom..
Originally posted by kubicleYou can issue commands 'as root' in konsole with sudo (as in 'sudo rm')Originally posted by elfshadow14I need to delete some old doom3 demo how do I delete it as a root user in konsole?
You can also start konqueror filemanager 'as root' with:
Code:kdesu 'konqueror --profile filemanagement'
- Top
- Bottom
Comment
-
Re: How can I delete folders as root?
I just discovered myself as a newbie an even easier way to delete files as root for us used to the windows way of doing things go to K Menu>system>krusader - root mode. Krusader opens. Find the file and delete it.
That worked for me.
- Top
- Bottom
Comment
-
Re: How can I delete folders as root?
Of course one has to install Krusader first to use Krusader :POriginally posted by tmrayI just discovered myself as a newbie an even easier way to delete files as root for us used to the windows way of doing things go to K Menu>system>krusader - root mode. Krusader opens. Find the file and delete it.
That worked for me.
You can make a launcher in kmenu for Konqueror - root mode, too
- Top
- Bottom
Comment
Users Viewing This Topic
Collapse
There are 0 users viewing this topic.





Comment