re[2]: [SLE] Corrupted /tmp dir
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 No luck,
ls -b gives /tmp # ls -b \ \021\022Ï\022 \ \025\022Ï\022 \ \031\022Ï\022 .. `»³Ì\022 \025\022Ï\022 \032\022Ï\022 à»Å\022 \ \022\022Ï\022 \ \026\022Ï\022 \ \032\022Ï\022 .ICE-unix \020\022Ï\022 \025\022Ï\022 \033\022Ï\022 à®»Å\022 \ \022\022Ï\022 \ \026\022Ï\022 \ \033\022Ï\022 .X11-unix \020\022Ï\022 \026\022Ï\023 \035\022Ï\022 \ \023\022Ï\022 \ \027\022Ï\022 \ \033\022Ï\022 .qt \021\022Ï\022 \030\022Ï\022 \036\022Ï\023 \ \024\022Ï\022 \ \027\022Ï\022 \ \037\022Ï\022 `¬»Å\022 \022\022Ï\022 \031\022Ï\022 Œ#Ì\022 \ \024\022Ï\022 \ \030\022Ï\022 . `»³Ì\022 \024\022Ï\022 \032\022Ï\022 ÀV\237Î\022 This is bizzarre. :) I'm starting to enjoy the challenge. Greg Freemyer Internet Engineer Deployment and Integration Specialist Compaq ASE - Tru64 v4, v5 Compaq Master ASE - SAN Architect The Norcross Group www.NorcrossGroup.com
On Friday 01 November 2002 08:28, Greg Freemyer wrote:
How do I delete these files in Linux.
You have console browser (lynx, w3m)? If so, just use them to browse /tmp, and remove each file (if there are not so many files) -- Verdi March --
Try with "rm -- \?\?*"
-- Richard Bos No luck,
ls -b gives
/tmp # ls -b \ \021\022Ï\022 \ \025\022Ï\022 \ \031\022Ï\022 .. `»³Ì\022 \025\022Ï\022 \032\022Ï\022 à»Å\022 \ \022\022Ï\022 \ \026\022Ï\022 \ \032\022Ï\022 .ICE-unix \020\022Ï\022 \025\022Ï\022 \033\022Ï\022 à®»Å\022 \ \022\022Ï\022 \ \026\022Ï\022 \ \033\022Ï\022 .X11-unix \020\022Ï\022 \026\022Ï\023 \035\022Ï\022 \ \023\022Ï\022 \ \027\022Ï\022 \ \033\022Ï\022 .qt \021\022Ï\022 \030\022Ï\022 \036\022Ï\023 \ \024\022Ï\022 \ \027\022Ï\022 \ \037\022Ï\022 `¬»Å\022 \022\022Ï\022 \031\022Ï\022 ¼#Ì\022 \ \024\022Ï\022 \ \030\022Ï\022 . `»³Ì\022 \024\022Ï\022 \032\022Ï\022 ÀV\237Î\022
participants (3)
-
Anders Johansson
-
Greg Freemyer
-
Verdi March