I wish I had bash history that long. Never seems to have the command I want when I look for it.
“I have [bash] history back to ~2003”
61–70 of 148 posts
Re: “I have [bash] history back to ~2003”
#62Earlier quoted context omitted.
We have common mistakes list http://www.webminal.org/common_mistakes/ but didn't figure-out something like which is the least-used valid command. Good idea, we will dig deeper into their bash_history :)
You should also analyse commands that were run without 'sudo'. For me, using 'apt-get install' without sudo has been the most frequent mistake I have made. Luckily, 'sudo !!' saves me every time.
Re: “I have [bash] history back to ~2003”
#63Re: “I have [bash] history back to ~2003”
#64I recently set up my bash history to collect into an sqlite database. Besides the exact command it records the working directory, return value, starting time, ending time, a shell and a login session id. It doesn't handle background jobs well right now though.
Okay I'm curious as to why? I mean it's nice to have, but what are you going to do with the additional data later on?
Re: “I have [bash] history back to ~2003”
#65Re: “I have [bash] history back to ~2003”
#66Re: “I have [bash] history back to ~2003”
#67Earlier quoted context omitted.
Some linux distros (used to?) alias ls -a to la, which would explain why you're seeing it so often.
And some would also alias "ls -la" to ll. Just never the computer I'm using at the time.
Re: “I have [bash] history back to ~2003”
#68I was impressed that Stephen Wolfram has been recording his own keystrokes since 2002: http://blog.stephenwolfram.com/2012/03/the-personal-analytic...
Re: “I have [bash] history back to ~2003”
#69I wish I had bash history that long. Never seems to have the command I want when I look for it.
Re: “I have [bash] history back to ~2003”
#70I use zsh per directory history [0] as well as this cron job I have set to run hourly: #!/bin/bash cd /Users/nmjohn/.directory_history \ && git add . \ && git commit -m "Automatic Backup: `date`" \ && echo "Files Modified:" \ && git log head -1 --name-only --pretty=format:"" | grep "[^\s]" | awk '{print "\t\t"$0}' \ && echo "" It's not bullet-proof, but since I never manually touch the directory it's worked without h…
On the topic of the article I have per directory history going back to ~2013 when I wrote the script.