~ubuntu-branches/ubuntu/trusty/bash/trusty-security

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
trap 'rm -f $HISTFILE' 0 1 2 3 6 15

HISTFILE=foohist-$$
unset HISTIGNORE HISTCONTROL
set -o history

history -c
cat <<!
one
two
three
!

history
fc -s cat