Reputation
352
Top tag
Next privilege 500 Rep.
Access review queues
Badges
6 19
Impact
~35k people reached

  • 0 posts edited
  • 1 helpful flag
  • 26 votes cast
Jul
8
awarded  Popular Question
Jun
29
awarded  Citizen Patrol
Jun
17
accepted Find misses a match to glob pattern unless the pattern is made more specific
Jun
16
asked Find misses a match to glob pattern unless the pattern is made more specific
Jun
11
accepted How do I find out the type of http proxy server I'm tunneling through?
Jun
11
asked How do I find out the type of http proxy server I'm tunneling through?
May
26
accepted Is there a way to expand bash history references such as `!:0-` before executing without using the p option?
May
26
comment Is there a way to expand bash history references such as `!:0-` before executing without using the p option?
I just saw that a common .bashrc binding is bind Space:magic-space. Seems to work well.
May
26
asked Is there a way to expand bash history references such as `!:0-` before executing without using the p option?
May
14
accepted What are some good options for shell access to a cloud unix account?
May
13
asked What are some good options for shell access to a cloud unix account?
Apr
29
accepted Changing terminal size affects the output of grep inside a watch command
Apr
28
asked Changing terminal size affects the output of grep inside a watch command
Apr
28
accepted Using the watch command with an argument that contains quotes
Apr
28
asked Using the watch command with an argument that contains quotes
Apr
28
comment How can I fix a problem with standard error screwing up the output of watch?
Neither of these works for me. For example, if I run ps -ef | awk -F' ' '{print $2}', I get the pids for all processes. However, watch "ps -ef | awk -F' ' '{print $2}'" gives incorrect field extraction, and watch "ps -ef | awk -F\' \' \'{print $2}\'" leads to an unterminated command.
Apr
28
comment How can I fix a problem with standard error screwing up the output of watch?
Any suggestions for cases in which the command I want to pass to watch has quotes in it?
Apr
28
accepted How can I fix a problem with standard error screwing up the output of watch?
Apr
28
accepted Overwrite the terminal output of a bash command that has multi-line output?
Apr
28
comment Overwrite the terminal output of a bash command that has multi-line output?
@Neal: Per an additional question I just asked, the fix for my problem is to add quotes around the jmap command so that its output is redirected rather than watch's: watch 'sudo jmap -heap 31945 2> /dev/null'