342 reputation
519
bio website
location
age
visits member for 4 years, 6 months
seen Dec 15 at 18:40

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).
Mar
17
comment Copy chrome browser history from windows to linux?
History is not currently synced by chrome.
Mar
17
asked Copy chrome browser history from windows to linux?
Mar
17
accepted Easy way to shrink a Windows partition with unmovable files without buying Partition Magic?
Mar
16
comment Easy way to shrink a Windows partition with unmovable files without buying Partition Magic?
@Rafael: vista's built in utility to shrink partitions cannot move unmovable system files, so it's limited in how much it can shrink the partition by.
Mar
16
asked Easy way to shrink a Windows partition with unmovable files without buying Partition Magic?