LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-23-2003, 01:14 AM   #1
Miyamoto
Member
 
Registered: Jun 2003
Distribution: Mandrake Linux 9.1 Bamboo
Posts: 51

Rep: Reputation: 15
Deleteing locked/hidden files


How is that done? My friend has this file on his MDK 9.1 box that won't delete. On the Mac I know that all you have to do is keep down a key on the keyboard while you go and select the empty trash/recycle bin command. Is there something similar that can be done on Linux? Are there any command line commands that can be done? I told him to check the hidden file's permissions but he said they were all greyed out and unchangeable. Any suggestions? And if this is posted in the wrong forum could you please move it to the correct one? Thanks.
 
Old 06-23-2003, 01:20 AM   #2
sevengraff
LQ Newbie
 
Registered: Dec 2002
Location: California, USA.
Distribution: Mint
Posts: 15

Rep: Reputation: 0
in a console:

rm filename

but if you don't have permission to do it, change to root user and try it.

In terminal:

su root
(enter root password)
rm filename
 
Old 06-23-2003, 01:23 AM   #3
Miyamoto
Member
 
Registered: Jun 2003
Distribution: Mandrake Linux 9.1 Bamboo
Posts: 51

Original Poster
Rep: Reputation: 15
OK cool. That's what I thought. There's no graphical way?
 
Old 06-23-2003, 01:25 AM   #4
sevengraff
LQ Newbie
 
Registered: Dec 2002
Location: California, USA.
Distribution: Mint
Posts: 15

Rep: Reputation: 0
well, you made it sound like it wouldnt work in kde.
 
Old 06-23-2003, 01:29 AM   #5
Miyamoto
Member
 
Registered: Jun 2003
Distribution: Mandrake Linux 9.1 Bamboo
Posts: 51

Original Poster
Rep: Reputation: 15
Yeah. My friend has grown accustomed to KDE. All his customizations etc are there. Would it be a differerent process under GNOME? Is RM <filename> the only way to get rid of a pesky file like that?
 
Old 06-23-2003, 02:16 PM   #6
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
there should be a menu entry in mandrake to run that graphical file browser in super user mode(root) if not deleteing it from the command line is the easiest way and also rm command is a very basic linux command it is not dist specific works on all dist.
 
Old 06-23-2003, 03:00 PM   #7
darin3200
LQ Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
just get another log in, log in as root, give startx or startx -- :1 command and then if you are surfing through your files in konqueror just go into the view menu and select hidden files. And if you are in the command line, make sure to use ls -a to see the hidden files
 
Old 06-23-2003, 07:52 PM   #8
Miyamoto
Member
 
Registered: Jun 2003
Distribution: Mandrake Linux 9.1 Bamboo
Posts: 51

Original Poster
Rep: Reputation: 15
OK I'll try that. Thanks.
 
  


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
Hidden Files coold8 Linux - General 5 04-28-2005 12:26 AM
hidden files Jeebizz Slackware 4 04-22-2005 08:18 PM
home directory files gone, hidden files remain Grasshopper Linux - Security 12 04-10-2005 09:23 PM
hidden files Alwyn Linux - Newbie 2 01-27-2005 01:20 AM
Hidden Files Alien18 Linux - Newbie 4 08-12-2004 10:38 PM


All times are GMT -5. The time now is 10:57 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