bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

two ESC . in a row on a fresh shell kills it


From: Dan Jacobson
Subject: two ESC . in a row on a fresh shell kills it
Date: Thu, 20 Feb 2014 13:18:03 +0800

Try
su - nobody #(pristine account)
then type :<RET>
then type ESC . ESC .
Whammo! The shell dies!

The second ESC . acts like ^D.

# su - nobody
No directory, logging in with HOME=/
address@hidden:/$ cd /tmp
address@hidden:/tmp$ script
Script started, file is typescript
address@hidden:/tmp$ :
address@hidden:/tmp$ :Script done, file is typescript
$ cat -v typescript
Script started on Thu Feb 20 13:10:28 2014
address@hidden:/tmp$ :^M
address@hidden:/tmp$ :
Script done on Thu Feb 20 13:10:33 2014
address@hidden:/tmp$ echo $BASH_VERSION
4.3.0(1)-rc2



reply via email to

[Prev in Thread] Current Thread [Next in Thread]