LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-14-2004, 03:56 PM   #1
mtoedtli2
LQ Newbie
 
Registered: Jul 2004
Posts: 5

Rep: Reputation: 0
Delete as Root


I know this sound stupid but how do you delete as root as I am new to linux and have a file that can only be deleted by Root
 
Old 07-14-2004, 03:58 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
su -c "rm /path/to/file"

Cheers,
Tink
 
Old 07-14-2004, 03:58 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
in a console, type "su" and enter the root password, then just do "rm /where/that/file.is" and hit enter...
 
Old 07-14-2004, 04:06 PM   #4
mtoedtli2
LQ Newbie
 
Registered: Jul 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Thank you, I finally got that icon off and away permantly. Thanks a million
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot delete item as root!! provkitir Linux - Newbie 10 03-25-2007 02:58 AM
Root cant delete file WTF!!! xtypestereotype Linux - Software 7 06-27-2005 12:41 PM
can't access/delete/list files even as root... tenshi Linux - General 7 10-13-2004 05:29 AM
Delete root mail nepcw Red Hat 5 07-18-2004 02:01 PM
Tried to delete file as root but it says I don't have permission to delete it! beejayzed Mandriva 23 03-12-2004 03:46 AM


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