LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 02-01-2003, 02:05 PM   #1
illtbagu
Member
 
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343

Rep: Reputation: 30
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
 
Old 02-01-2003, 02:23 PM   #2
scape
LQ Newbie
 
Registered: Jan 2003
Location: Chico, Ca
Distribution: mandrake 9.0
Posts: 19

Rep: Reputation: 0
Have you tried doing it in the console? su root and then rm -rf (filename)

Just an idea..
 
Old 02-01-2003, 03:59 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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.
 
Old 02-02-2003, 01:55 PM   #4
illtbagu
Member
 
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343

Original Poster
Rep: Reputation: 30
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
 
Old 02-02-2003, 02:05 PM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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?
 
Old 02-02-2003, 02:42 PM   #6
illtbagu
Member
 
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343

Original Poster
Rep: Reputation: 30
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
 
Old 02-02-2003, 04:25 PM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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.
 
Old 02-02-2003, 06:39 PM   #8
illtbagu
Member
 
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343

Original Poster
Rep: Reputation: 30
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
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
/tmp files Risc91 AIX 4 01-18-2005 03:06 PM
/tmp files being deleted new@linux Linux - Newbie 2 12-30-2004 02:51 PM
Deleting tmp files satimis Fedora 6 10-31-2004 09:59 PM
can i delete /tmp files? demmylls Linux - General 1 03-01-2004 11:14 AM
Numerous scb_*.tmp files in /tmp dburk Programming 3 08-18-2003 05:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:04 AM.

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
Open Source Consulting | Domain Registration