• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

problem with k-shell

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
try typing
reset
 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic