AskUbuntu · @askubuntu
139 followers · 1878 posts · Server ubuntu.social

How to modify the path bash: /home/joydev/home/joydev/root/root-6.28.04-install/bin/thisroot.sh: No such file or directory

askubuntu.com/q/1474594/612

#commandline #root #bashrc #bashhistory

Last updated 1 year ago

DeaDSouL :fedora: · @DeaDSouL
266 followers · 458 posts · Server fosstodon.org

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

Last updated 1 year ago

AskUbuntu · @askubuntu
115 followers · 2021 posts · Server ubuntu.social

Bash history screwed up by not starting from 1

askubuntu.com/q/1469614/612

#bash #bashhistory

Last updated 1 year ago

Felix Bartels · @felix
43 followers · 146 posts · Server toot.9wd.eu
OSTechNix · @ostechnix
520 followers · 1489 posts · Server floss.social
OSTechNix · @ostechnix
520 followers · 1486 posts · Server floss.social
OSTechNix · @ostechnix
520 followers · 1486 posts · Server floss.social
OSTechNix · @ostechnix
520 followers · 1486 posts · Server floss.social
OSTechNix · @ostechnix
520 followers · 1486 posts · Server floss.social
OSTechNix · @ostechnix
520 followers · 1486 posts · Server floss.social
OSTechNix · @ostechnix
520 followers · 1486 posts · Server floss.social