Somehow my /tmp dir is full of junk: ----------- # ls ??~? ??~? ??~? ??~? ??~? ??~? .. .X11-unix `~~~? ~??~? ~??~? ~??~? ~??~? ~??~? ~V?~? ??~? ??~? ??~? ??~? ??~? ??~? .ICE-unix .qt `~~~? ~??~? ~??~? ~??~? ~??~? ~??~? ~~~~? ??~? ??~? ??~? ??~? ??~? . .X0-lock `~~~? ~??~? ~??~? ~??~? ~??~? ~??~? ~~#~? ~~~~? ----------- If I try rm * I get a bunch of errors. On other UNIX systems, I have used od -c /tmp to show me the exact contents of the driectory, then used that info to delete the files. How do I delete these files in Linux. TIA Greg Freemyer Internet Engineer Deployment and Integration Specialist Compaq ASE - Tru64 v4, v5 Compaq Master ASE - SAN Architect The Norcross Group www.NorcrossGroup.com
* Greg Freemyer (freemyer@NorcrossGroup.com) [021031 10:00]:
On other UNIX systems, I have used od -c /tmp to show me the exact contents of the driectory, then used that info to delete the files.
How do I delete these files in Linux.
You could use od like you described or something like find /tmp -exec rm -- '{}' \; -- -ckm
try : rm -- <filename> the double '-' tells rm not to interpret the filename as a command. see : man rm for more info. Paul. ----- Original Message ----- From: "Greg Freemyer" <freemyer@NorcrossGroup.com> To: "SuSE Linux Support List - English" <suse-linux-e@suse.com> Sent: Thursday, October 31, 2002 5:59 PM Subject: [SLE] Corrupted /tmp dir
Somehow my /tmp dir is full of junk:
----------- # ls ??~? ??~? ??~? ??~? ??~? ??~? .. .X11-unix `~~~?
~??~?
~??~? ~??~? ~??~? ~??~? ~V?~? ??~? ??~? ??~? ??~? ??~? ??~? .ICE-unix .qt `~~~? ~??~? ~??~? ~??~? ~??~? ~??~? ~~~~? ??~? ??~? ??~? ??~? ??~? . .X0-lock `~~~? ~??~? ~??~? ~??~? ~??~? ~??~? ~~#~? ~~~~? -----------
If I try rm * I get a bunch of errors.
On other UNIX systems, I have used od -c /tmp to show me the exact contents of the driectory, then used that info to delete the files.
How do I delete these files in Linux.
TIA Greg Freemyer Internet Engineer Deployment and Integration Specialist Compaq ASE - Tru64 v4, v5 Compaq Master ASE - SAN Architect The Norcross Group www.NorcrossGroup.com
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Op donderdag 31 oktober 2002 18:59, schreef Greg Freemyer:
Somehow my /tmp dir is full of junk:
----------- # ls ??~? ??~? ??~? ??~? ??~? ??~? .. .X11-unix `~~~? ~??~? ~??~? ~??~? ~??~? ~??~? ~V?~? ??~? ??~? ??~? ??~? ??~? ??~? .ICE-unix .qt `~~~? ~??~? ~??~? ~??~? ~??~? ~??~? ~~~~? ??~? ??~? ??~? ??~? ??~? . .X0-lock `~~~? ~??~? ~??~? ~??~? ~??~? ~??~? ~~#~? ~~~~? -----------
If I try rm * I get a bunch of errors.
On other UNIX systems, I have used od -c /tmp to show me the exact contents of the driectory, then used that info to delete the files.
How do I delete these files in Linux.
Try with "rm -- \?\?*" -- Richard Bos Without a home the journey is endless
participants (4)
-
Christopher Mahmood
-
Greg Freemyer
-
Paul Miles
-
Richard Bos