11,619 reputation
2755
bio website
location
age
visits member for 2 years, 9 months
seen yesterday

Aug
20
comment Cygwin has no watch command?
@robert, it is a placeholder.
Aug
7
comment Delete all lines containing “..” and “@”
You can also use sed '/@/{/\.\./d}' which is a bit shorter :)
Aug
1
awarded  Enlightened
Aug
1
awarded  Nice Answer
Jul
30
comment replace lines in a text with matching text
Look more carefully on patterns to replace. ps. downvote is not from me.
Jul
30
comment replace lines in a text with matching text
this will not work. OP needs to apply only for strigns with everyone. And obviously not only for the second line.
Jul
30
reviewed Approve suggested edit on replace lines in a text with matching text
Jul
29
reviewed Approve suggested edit on How can I test if a variable is empty or contains only spaces?
Jul
29
reviewed Approve suggested edit on Preserve formatting when command output is sent to a variable?
Jul
28
comment waiting for network in a bash script
no need to redirect grep output to /dev/null. Use -q option instead. And also I don't thing grepping ifconfig is a good idea. Why not to use ping instead?
Jul
28
revised Combining sed statements
typo and formatting
Jul
28
comment Combining sed statements
Note that it will not work if OP has 3 or more lines with numbers. If it's just like in example, then it's fine.
Jul
28
answered Combining sed statements
Jul
28
reviewed Approve suggested edit on Is `-` used only with cd?
Jul
21
comment sed regex issue
Do not redirect file to itself. In the end you may stay with an empty file. Use sed -i (only for gnu sed) instead or separate temporary file. Also you can use \s instead of [[:space:]] as it also includes \t and all other whitespaces.
Jul
21
answered Print last element of each row
Jul
17
comment Excessively high disk usage freezes my server
Logs? Did you check logs? like /var/log/messages or /var/log/dmesg.0 and so on?
Jul
3
accepted force ssh to change dir after login based on config
Jul
3
comment force ssh to change dir after login based on config
Nope, unfortunately ports usually are the same for different projects on one machine. Ports may differ only between machines.
Jul
3
asked force ssh to change dir after login based on config