#bashhistory — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #bashhistory, aggregated by home.social.
-
How To Effortlessly Retrieve Commands From Linux Command History Like a Pro #Linuxcommands #Linuxbasics #Linuxhowto #Linuxadministration #Bashhistory #Linux #Commandline
https://ostechnix.com/retrieve-commands-from-linux-command-history/ -
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: https://gitlab.com/ds.python/useful-scripts
#BASH #history #bashhistory #python #duplicates #duplicate #dedup #code #python3 #linux #gnulinux
-
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: https://gitlab.com/ds.python/useful-scripts
#BASH #history #bashhistory #python #duplicates #duplicate #dedup #code #python3 #linux #gnulinux
-
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: https://gitlab.com/ds.python/useful-scripts
#BASH #history #bashhistory #python #duplicates #duplicate #dedup #code #python3 #linux #gnulinux
-
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: https://gitlab.com/ds.python/useful-scripts
#BASH #history #bashhistory #python #duplicates #duplicate #dedup #code #python3 #linux #gnulinux
-
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: https://gitlab.com/ds.python/useful-scripts
#BASH #history #bashhistory #python #duplicates #duplicate #dedup #code #python3 #linux #gnulinux
-
Does someone here have experience with https://github.com/ellie/atuin? #bash #bashhistory #sessionrecording @linux
-
How To Avoid Duplicate Entries In Bash History In Linux #Bash #BashHistory #Linux #Linuxtips #Linuxcommands #Linuxhowto #Commandline
https://ostechnix.com/how-to-avoid-duplicate-entries-in-bash-history-in-linux/ -
CW: GNU/Linux hygiene
How often do you clean your '~/.bash_history'?
-
How To Enable Timestamp In Bash History In Linux #Bash #Bashhistory #Linux #Linuxcommands #Linuxtips #Linuxbasics #Historycommand #Commandline
https://ostechnix.com/how-to-enable-timestamp-in-bash-history-in-linux/ -
How To Display Bash History Without Line Numbers #BashHistory #Linuxcommands #Linux
https://ostechnix.com/how-to-display-bash-history-without-line-numbers/
-
How To Avoid Duplicate Entries In Bash History In Linux #Bash #BashHistory #Linux #linuxcommands
https://www.ostechnix.com/how-to-avoid-duplicate-entries-in-bash-history-in-linux/ -
How To Clear A Specific Command From Bash History In Linux #bashhistory #Linuxcommands #Linuxtips #CLI
https://www.ostechnix.com/clear-specific-command-bash-history-linux/ -
HSTR - Easily View, Navigate, Search And Manage Your Commandline History #hstr #BASH #Bashhistory #CLI #history #Linux #zsh
https://www.ostechnix.com/hstr-easily-view-navigate-search-manage-commandline-history/