how to de-duplicate block (timestamp+command) from bash history?
how to de-duplicate block (timestamp+command) from bash history? I’m working with bash_history file containing blocks with the following format: #unixtimestampncommandn here’s sample of the bash_history file: #1713308636 cat > ./initramfs/init << "EOF" #!/bin/sh /bin/sh EOF #1713308642 file initramfs/init #1713308686 cpio -v -t -F init.cpio #1713308689 cpio -v -t -F init.cpio #1713308690 ls #1713308691 ls My …