LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-06-2005, 01:32 PM   #1
sall
Member
 
Registered: Apr 2005
Posts: 50

Rep: Reputation: 15
Angry Uninstall or Remove Folder?


I am trying to remove a folder on my desktop thats permissions are root and i cant delete themeself, it has i do not have the permission, however its going to take forever to delete the files manually by rm -, and then rmdir... there are a lot of files inthis folder... is there a way to delete the whole folder even though there are files and folders inside? or is it easier to log in as root at startup...however i dont know how to do that.. i am using ubuntu 5.04 with kde
 
Old 08-06-2005, 01:36 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Just delete it recursively:
rm -rf /path/to/folder
 
Old 08-06-2005, 01:42 PM   #3
sall
Member
 
Registered: Apr 2005
Posts: 50

Original Poster
Rep: Reputation: 15
thanks, i didnt know that command, worked perfect
 
Old 08-07-2005, 11:15 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally posted by sall
thanks, i didnt know that command, worked perfect
If ever you log in as root, use it wisely or you may end up hosing your entire system.

Last edited by reddazz; 08-07-2005 at 05:40 PM.
 
Old 08-07-2005, 11:35 AM   #5
Philips
Member
 
Registered: Sep 2004
Posts: 40

Rep: Reputation: 15
You could always use "man rm" to look at the manual for that command and it shows all of the options for that command the "-rf" are options that allowed you to remove the entire directory. and if you ever need root privliges type sudo before the command
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove folder and file os2 Programming 1 03-12-2005 02:12 PM
remove folder from command line demmylls Linux - General 3 02-15-2004 09:52 AM
Cannot Remove | Uninstall Gnome mudelf Linux - Software 1 11-19-2003 08:45 AM
Remove Home folder from desktop? ceh383 Slackware 3 06-05-2003 12:18 PM
How do I remove/uninstall old libpcap? JasonW Linux - Networking 3 02-12-2003 07:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration