LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Deleteing locked/hidden files (https://www.linuxquestions.org/questions/linux-software-2/deleteing-locked-hidden-files-67392/)

Miyamoto 06-23-2003 12:14 AM

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.

sevengraff 06-23-2003 12:20 AM

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

Miyamoto 06-23-2003 12:23 AM

OK cool. That's what I thought. There's no graphical way?

sevengraff 06-23-2003 12:25 AM

well, you made it sound like it wouldnt work in kde.

Miyamoto 06-23-2003 12:29 AM

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?

nakkaya 06-23-2003 01:16 PM

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.

darin3200 06-23-2003 02:00 PM

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

Miyamoto 06-23-2003 06:52 PM

OK I'll try that. Thanks.


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