#BashHistory

2025-04-25

Durchleuchtet. Kommandos in der Bash-Historie wiederfinden

tube.tchncs.de/w/4dvtZQpfHD6TG

DeaDSouL :fedora:DeaDSouL@fosstodon.org
2023-05-27

I needed to remove all duplicates from ~/.bash_history, and since it contains the date and time for each command, I ended up with lots of dates and times with no commands (since they were duplicates and got removed).

And I didn't want to check 34k+ of lines manually. So, I wrote a Python script to solve that.

in case you're interested, here is the code: gitlab.com/ds.python/useful-sc

#BASH #history #bashhistory #python #duplicates #duplicate #dedup #code #python3 #linux #gnulinux

Felix Bartelsfelix@toot.9wd.eu
2023-01-05
Dick Smiths Fair Go Supportersdsfgs@activism.openworlds.info
2021-05-22

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst