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.
|
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 |
OK cool. That's what I thought. There's no graphical way?
|
well, you made it sound like it wouldnt work in kde.
|
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?
|
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.
|
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
|
OK I'll try that. Thanks.
|
All times are GMT -5. The time now is 07:05 PM. |