This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
hi, i did a grep for a string in a directory which has some binary files. my terminal got corrupted. the display is now totally in greek n latin. how can i recover ? thanks
Are you in X-windows or just at the prompt? If your at the prompt, you can jump to another console using your function keys - F1-6, I think. From there, you can shutdown and start again.
Frank Carver
Sheriff
Joined: Jan 07, 1999
Posts: 6919
posted
0
You are joking, right ? You should never have to shutdown a running Linux system for something as trivial as this - that's a Windows approach. If you only meant shutdown that terminal session then you really ought to be more careful with your terminology. Sorry if this came out like a flame, it's just that I've seen too many people reach for the reset button every time an otherwise perfectly healthy Linux system does something slightly strange.
Brad Ford
Ranch Hand
Joined: Mar 22, 2001
Posts: 40
posted
0
You are right Frank. I should have been more specific. From the new terminal, one could use a kill on the hung terminal. The only times I've ever had to restart Linux via the power button have been when X windows hangs in gnome/kde2 and ctrl-alt-backspace doesn't do the trick.
Frank Carver
Sheriff
Joined: Jan 07, 1999
Posts: 6919
posted
0
For that situation, I have a serial line to another PC with a terminal emulator. I guess that's a bit tough if you only have the one machine there though