Reputation
24,513
Top tag
Next privilege 25,000 Rep.
Access to site analytics
Badges
3 59 94
Newest
 Enlightened
Impact
~1.3m people reached

Aug
7
comment AWK-Find maximum value in a row & print with header
This approach is probably more efficient than mine and works given the current assumptions. I'd just throw in some comments for posterity. I hadn't considered the string-building approach.
Aug
7
revised Get row data for non-matching column values
An expression this complicated is bound to have a typo somewhere. I have found one. Zarro boogs?
Aug
7
comment Methods of pasting X11 primary selection contents?
Do any of the answers to these questions work?
Aug
7
reviewed Approve Change view in emacs dired mode
Aug
5
revised Listing with `ls` and regular expression
Caret is not portable, `!` is.
Aug
3
comment Can I configure bash to execute “clear” before every command typed in the console?
I wish there were some way to do this without having to modify the command line itself - I'm sure this would break in interesting ways on complex or multi-line commands but I can't find any better way to do this.
Aug
3
comment Can I configure bash to execute “clear” before every command typed in the console?
A newline causes the prompt to be printed anyways, so putting the clear in the prompt accomplishes the same thing without polluting the command history with clear commands.
Aug
3
revised Can I configure bash to execute “clear” before every command typed in the console?
edited tags
Aug
3
revised AWK-Find maximum value in a row & print with header
edited tags
Aug
3
revised Undo `mv` command?
deleted 14 characters in body; edited title
Aug
3
comment Finding command execution time in hindsight
I include a timestamp in my shell prompt for this reason, but beware that the time shown in the prompt is when the prompt was printed, which may be quite different from the time you actually finished typing and hit enter to start the command. In other words, remember to factor in "prompt idle time" yourself.
Aug
3
comment Do I need ephemeral storage?
From the Amazon EC2 docs, it sounds like the instance storage drive mounted on /mnt is just some local scratch space that is not backed up or shared. You should be considering your own usage and asking yourself the question of whether you need it or not.
Aug
3
revised AWK-Find maximum value in a row & print with header
add comments
Aug
3
reviewed Approve Make thunar mount drives into /media rather than /run/media/username?
Aug
2
revised AWK-Find maximum value in a row & print with header
added 133 characters in body; added 52 characters in body
Aug
2
answered AWK-Find maximum value in a row & print with header
Aug
2
awarded  Yearling
Aug
2
comment Cannot see aliases
sh is not bash. Check the login shell setting of testuser.
Aug
1
comment Why does `exec 2>&1` fail in this bourne shell script?
That sentence is no better than "exec >logfile; exec 2>&1 redirects both standard output and standard input to logfile". You're still confusing bash with sh.
Aug
1
revised How can I make all my processes start with niceness 5
Use blockquote.