Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-10-2013, 04:04 AM
|
#1
|
Member
Registered: Jun 2007
Location: South Africa
Distribution: Linux Mint,Fedora, openSUSE, RHEL, SLES, Scientific Linux
Posts: 71
Rep:
|
How to deliberately bork a terminal
I know how to bork a terminal using reset or tset but how do I bork a terminal deliberately using the BASH shell.
I've tried a few things which I thought would work but have been unsuccessful.
|
|
|
09-10-2013, 06:21 AM
|
#2
|
Member
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
|
stty 0
|
|
|
09-10-2013, 06:34 AM
|
#3
|
Member
Registered: Jun 2007
Location: South Africa
Distribution: Linux Mint,Fedora, openSUSE, RHEL, SLES, Scientific Linux
Posts: 71
Original Poster
Rep:
|
Thanks for the reply - that did not work on either my Ubuntu or CentOS systems.
Code:
$ stty 0
stty: standard input: unable to perform all requested operations
Last edited by rgdacosta; 09-10-2013 at 06:43 AM.
|
|
|
09-10-2013, 09:49 AM
|
#4
|
LQ Guru
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,352
|
"cat"ing a binary file usually borks the terminal.
|
|
|
09-10-2013, 05:22 PM
|
#5
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,139
|
Bash it with a very heavy shell, like a conch shell. I suggest that you unplug it first, unless you want sparks. 
|
|
|
09-10-2013, 09:11 PM
|
#6
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,827
|
sundialsvcs, thanks for the best laugh I've had in weeks!!!!!
|
|
|
09-10-2013, 09:24 PM
|
#7
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep: 
|
attach it to a Windows OS.
|
|
|
09-11-2013, 04:17 AM
|
#8
|
Member
Registered: Jun 2007
Location: South Africa
Distribution: Linux Mint,Fedora, openSUSE, RHEL, SLES, Scientific Linux
Posts: 71
Original Poster
Rep:
|
haha thanks for the laughs ;-)
Using cat on a binary file, or even /dev/urandom doesn't work anymore.
|
|
|
09-11-2013, 07:25 AM
|
#9
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,139
|
Quote:
Originally Posted by Habitual
attach it to a Windows OS.
|
Oh, come now, don't be cruel to the poor thing ... what did it ever do to you? I mean, "hitting it over the head with a conch-shell" is one thing, but that's going too far! 
|
|
|
09-11-2013, 08:35 AM
|
#10
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep: 
|
Quote:
Originally Posted by sundialsvcs
Oh, come now, don't be cruel to the poor thing ... what did it ever do to you? I mean, "hitting it over the head with a conch-shell" is one thing, but that's going too far! 
|
You're right, of course. I apologize to the Terminal. 
|
|
|
09-11-2013, 01:26 PM
|
#11
|
Senior Member
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
|
Last edited by jamison20000e; 09-11-2013 at 01:27 PM.
|
|
|
All times are GMT -5. The time now is 05:49 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|