256 reputation
29
bio website railsonmaui.com
location Paia, HI
age
visits member for 3 years, 1 month
seen Dec 18 at 18:04

Mar
3
comment History list without timestamp and unique the results
Raj, this does what I need: "history | cut -d " " -f7-1000 | sort | uniq | grep heroku", but the uniq command only removes duplicate lines adjacent. A simple program could substitute for sort | uniq and do the trick. Just wondering if there was a clever built-in way to do this.
Mar
2
comment History list without timestamp and unique the results
I'd still like to see the most recent time used, as well as remove any of the older duplicates, not just ones used twice.
Feb
28
comment History list without timestamp and unique the results
ignoredups makes up error work poorly, because if the recent command is further up in the list, it doesn't get added again.
Jan
23
comment How do I restart Cinnamon from the tty?
The fix then is to open up the displays panel and then click OK. Any way around this? Multi-monitor support has always been flakey on Linux.
Jan
23
comment How do I restart Cinnamon from the tty?
After doing this, my 3 screens (3 monitors) become like one. Any advice?
Nov
28
comment How to create a screencast?
yes -- a reason to use a Mac!
Oct
24
comment History list without timestamp and unique the results
Awesome -- I was hoping that history had an option to do what the cut command does. Only issue with the above is that all entries get sorted alphabetically. I'd rather the results get sorted such that the most recently used commands are last, as I'm more likely to use more recently used commands.
Oct
24
comment How to avoid duplicate entries in .bash_history
I created a related question: askubuntu.com/questions/205520/…. Dups in the history is useful to see the context of a command. What you want to omit dups sometimes when you print the history.
Sep
20
comment Ubuntu cannot detect my Logitech Wireless m510 mouse?
Does this work for 12.04?