• Post Reply Bookmark Topic Watch Topic
  • New Topic

problem with k-shell  RSS feed

 
Lakshmi Geetha
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Frank Carver
Sheriff
Posts: 6920
 
Brad Ford
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!