| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 2 years, 11 months |
| seen | May 5 at 20:53 | |
| stats | profile views | 10 |
|
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' |
|
Apr 28 |
comment |
Overwrite the terminal output of a bash command that has multi-line output? @Neal: piping through cat leads to the same problem. |
|
Apr 28 |
asked | How can I fix a problem with standard error screwing up the output of watch? |
|
Apr 28 |
comment |
Overwrite the terminal output of a bash command that has multi-line output? It seems that there is some stderror output that may create this problem (I'm running watch sudo jmap -heap <pid>, which begins with four lines of stderror output). If I append 2> /dev/null to the command outside of watch, this strips the output. However, appending 2> /dev/null causes the output to be messed up and missing lines. |
|
Apr 28 |
awarded | Commentator |
|
Apr 28 |
comment |
Overwrite the terminal output of a bash command that has multi-line output? This looks like it should be what I want, but the output is screwed up. The first call to the command by watch produces good output, and then with each additional call the output becomes increasingly messed up. The alignment progressively worsens until I can't even read it anymore. EDIT: strangely, if I resize the terminal window the output is good again, but still continues to degrade with each passing call. |
|
Apr 28 |
asked | Overwrite the terminal output of a bash command that has multi-line output? |
|
Apr 27 |
comment |
How to read one line from `tail -f` through a pipeline, and then terminate? Thanks for the explanation. The second solution is what I needed, since only one line from tail -f would match. |
|
Apr 27 |
accepted | How to read one line from `tail -f` through a pipeline, and then terminate? |
|
Apr 27 |
revised |
How to read one line from `tail -f` through a pipeline, and then terminate? added 147 characters in body; deleted 147 characters in body |
|
Apr 27 |
revised |
How to read one line from `tail -f` through a pipeline, and then terminate? edited title |
|
Apr 27 |
asked | How to read one line from `tail -f` through a pipeline, and then terminate? |
|
Apr 22 |
accepted | Problem using `cut` with `tail -f` |
|
Apr 22 |
comment |
Problem using `cut` with `tail -f` Is there a way to force unbuffering with cut? Incidentally, I switched to using awk, and the buffering problem went away. |
|
Apr 22 |
asked | Problem using `cut` with `tail -f` |
|
Mar 24 |
asked | “No protocol specified” error while trying to run forticlientsslvpn for the first time |
|
Mar 18 |
comment |
Copy chrome browser history from windows to linux? I actually just tried this, and ran into some problems. Chrome wasn't quite behaving as expected (got some 'couldn't load profile' errors or something). |