Skip to main content
added 95 characters in body; edited title
Source Link
AntonioK
  • 1.2k
  • 2
  • 16
  • 29

How to disable "Warning: Program"Program '/bin/bash' crashed" messagewarning when killing the shell?

I'm using Kubuntu 14.04. When I exiting terminal emulator (konsole or yakuake) by doing something like kill -9 $$ it doesn't close, and saying:

Warning: Program '/bin/bash' crashed.

How could I disable this behavior and force terminal emulator to silently close when shell is killed?

In the same system, when prompting kill -9 $$ in xterm, it exits without any crash reported.

I don't remember exactly, in which Linux distributions I saw such "silent" behavior from-the-box, but there are some.

Update: in the same system, when prompting kill -9 $$ inreason to do so is to exit terminal emulator without saving history to xterm.bash_history, it exits without any crash reported.

How to disable "Warning: Program '/bin/bash' crashed" message?

I'm using Kubuntu 14.04. When I exiting terminal emulator (konsole or yakuake) by doing something like kill -9 $$ it doesn't close, and saying:

Warning: Program '/bin/bash' crashed.

How could I disable this behavior and force terminal emulator to silently close when shell is killed?

I don't remember exactly, in which Linux distributions I saw such "silent" behavior from-the-box, but there are some.

Update: in the same system, when prompting kill -9 $$ in xterm, it exits without any crash reported.

How to disable "Program '/bin/bash' crashed" warning when killing the shell?

I'm using Kubuntu 14.04. When I exiting terminal emulator (konsole or yakuake) by doing something like kill -9 $$ it doesn't close, and saying:

Warning: Program '/bin/bash' crashed.

How could I disable this behavior and force terminal emulator to silently close when shell is killed?

In the same system, when prompting kill -9 $$ in xterm, it exits without any crash reported.

I don't remember exactly, in which Linux distributions I saw such "silent" behavior from-the-box, but there are some.

Update: the reason to do so is to exit terminal emulator without saving history to .bash_history.

Notice removed Draw attention by AntonioK
Bounty Ended with eyoung100's answer chosen by AntonioK
Notice added Draw attention by AntonioK
Bounty Started worth 50 reputation by AntonioK
added 108 characters in body
Source Link
AntonioK
  • 1.2k
  • 2
  • 16
  • 29

I'm using Kubuntu 14.04. When I exiting terminal emulator (konsole or yakuake) by doing something like kill -9 $$ it doesn't close, and saying:

Warning: Program '/bin/bash' crashed.

How could I disable this behavior and force terminal emulator to silently close when shell is killed?

I don't remember exactly, in which Linux distributions I saw such "silent" behavior from-the-box, but there are some.

Update: in the same system, when prompting kill -9 $$ in xterm, it exits without any crash reported.

I'm using Kubuntu 14.04. When I exiting terminal emulator (konsole or yakuake) by doing something like kill -9 $$ it doesn't close, and saying:

Warning: Program '/bin/bash' crashed.

How could I disable this behavior and force terminal emulator to silently close when shell is killed?

I don't remember exactly, in which Linux distributions I saw such "silent" behavior from-the-box, but there are some.

I'm using Kubuntu 14.04. When I exiting terminal emulator (konsole or yakuake) by doing something like kill -9 $$ it doesn't close, and saying:

Warning: Program '/bin/bash' crashed.

How could I disable this behavior and force terminal emulator to silently close when shell is killed?

I don't remember exactly, in which Linux distributions I saw such "silent" behavior from-the-box, but there are some.

Update: in the same system, when prompting kill -9 $$ in xterm, it exits without any crash reported.

Source Link
AntonioK
  • 1.2k
  • 2
  • 16
  • 29

How to disable "Warning: Program '/bin/bash' crashed" message?

I'm using Kubuntu 14.04. When I exiting terminal emulator (konsole or yakuake) by doing something like kill -9 $$ it doesn't close, and saying:

Warning: Program '/bin/bash' crashed.

How could I disable this behavior and force terminal emulator to silently close when shell is killed?

I don't remember exactly, in which Linux distributions I saw such "silent" behavior from-the-box, but there are some.