+bash history abuse

This commit is contained in:
anon 2024-12-10 20:33:39 +01:00
parent 2333200d2b
commit 3212ee424c
2 changed files with 23 additions and 0 deletions
Misc./bash_history_abuse

@ -0,0 +1,4 @@
rm .bash_history
cbash -i < history_abuser.sh
# HISTTIMEFORMAT='%y/%m/%d %T: '

@ -0,0 +1,19 @@
# below me is not a comment
echo test
HISTTIMEFORMAT='%y/%m/%d %T: '
#1700000000
echo test
for i in *; do
echo "a"
done
for i in *; do # harder
echo "ouch"
done
shopt -s lithist
for i in *; do
echo "ouch"
done
for i in *; do
#1700000000
echo "ouch"
done