LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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, 02: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, 02:36 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
Just delete it recursively:
rm -rf /path/to/folder
 
Old 08-06-2005, 02: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, 12:15 PM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
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 06:40 PM.
 
Old 08-07-2005, 12:35 PM   #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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:12 PM
remove folder from command line demmylls Linux - General 3 02-15-2004 10:52 AM
Cannot Remove | Uninstall Gnome mudelf Linux - Software 1 11-19-2003 09:45 AM
Remove Home folder from desktop? ceh383 Slackware 3 06-05-2003 01:18 PM
How do I remove/uninstall old libpcap? JasonW Linux - Networking 3 02-12-2003 08:06 AM


All times are GMT -5. The time now is 04:51 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration