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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-01-2003, 02:05 PM
|
#1
|
Member
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343
Rep:
|
undeleteable files in /tmp
what is this in my /tmp there is a bunch of them
gaim_joe.1656
gaim_joe.1657
gaim_joe.1658
i take it it has something to do with my gaim instant messenger. i cant delete these files. I'm wondering why. also i have a file in my /tmp that i cant delete as root and it says that it doesn't exist if i try to exicute it. i downloaded this file from gtk-gnutella. i want to delete this file but i cant. i cant rename it or anything. is there some sort of way to forcefully do this. is my /tmp dir exactly as it sounds temp and can be cleaned out with no effects on my OS.
thanks,
AD
|
|
|
02-01-2003, 02:23 PM
|
#2
|
LQ Newbie
Registered: Jan 2003
Location: Chico, Ca
Distribution: mandrake 9.0
Posts: 19
Rep:
|
Have you tried doing it in the console? su root and then rm -rf (filename)
Just an idea..
|
|
|
02-01-2003, 03:59 PM
|
#3
|
Moderator
Registered: May 2001
Posts: 29,415
|
Try running "file gaim_joe*" and it'll show you what it is. Now run "fuser gaim_joe*", to show if it's used by any app, then try "lsattr gaim_joe*" to show you if it has any "extra bits" set. If it's got the extra bits, remove 'em and then delete 'em. If ain't got the extra bits, post the output of the commands here.
|
|
|
02-02-2003, 01:55 PM
|
#4
|
Member
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343
Original Poster
Rep:
|
cool thanks,
the file from gtk-gnutella
[root@dhcp-395-6 tmp]# file playboys finest girls?mmmmmmm(big boobies) 5 Min.avi.OK
bash: syntax error near unexpected token `('
ls[root@dhcp-395-6 tmp]#
this is what i get no matter what i try
the gaim files are sockets
thanks,
AD
|
|
|
02-02-2003, 02:05 PM
|
#5
|
Moderator
Registered: May 2001
Posts: 29,415
|
To delete files containing spaces and all try quoting it:
rm -f "/path/file with spaces in name" or rm -f /path/file\ with\ spaces\ in\ name.
Are the gaim sockets in use? Where's the output of what I asked for?
|
|
|
02-02-2003, 02:42 PM
|
#6
|
Member
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343
Original Poster
Rep:
|
rm -f "/path/file with spaces in name"
i get no results at all just a return command prompt.
rm -f /path/file\ with\ spaces\ in\ name
gives me the old
bash: syntax error near unexpected token `('
[joe@dhcp-395-6 tmp]$ fuser gaim_joe.8324
bash: fuser: command not found
[joe@dhcp-395-6 tmp]$
[joe@dhcp-395-6 tmp]$ [joe@dhcp-395-6 tmp]$ lsattr gaim_joe.1928
bash: [joe@dhcp-395-6: command not found
thanks for the help
|
|
|
02-02-2003, 04:25 PM
|
#7
|
Moderator
Registered: May 2001
Posts: 29,415
|
rm -f playboys\ finest\ girls\?mmmmmmm\(big\ boobies\)\ 5\ Min.avi.OK
The fuser/lsattr commands are not in your $PATH statement. Root user usually has.
|
|
|
02-02-2003, 06:39 PM
|
#8
|
Member
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343
Original Poster
Rep:
|
nothing was working so i loged out of kde and loged into gnome and i was able to delete all of the files with no problems. im regretting switching from redhat 7.3 to redhat 8.0 i never had any crashes or weird problems like this with 7.3. oh well if i can ever get slackware to detect my promise card ill be giving that a try with a older version of kde.
thanks for all the help,
AD
|
|
|
All times are GMT -5. The time now is 02:04 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|