Reputation
19,203
Top tag
Next privilege 20,000 Rep.
Access 'trusted user' tools
Badges
21 55
Impact
~1.3m people reached

1h
reviewed No Action Needed Make python file accessible from anywhere by all users
1h
reviewed No Action Needed How can I print only certain commands from a bash script as they are run?
3h
reviewed Leave Open sh AND and OR in one command
4h
reviewed Close CRON: pam_unix(cron:session): session opened for user root by (uid=0): Is it a must have process?
4h
reviewed Leave Closed Using HID compliant mouse like device in ubuntu
5h
comment sh AND and OR in one command
why tag it as /bash when it's a sh question, not a bash question?
6h
reviewed Leave Closed Linux process scheduling
6h
comment sh AND and OR in one command
in fact, there are several good answers/explanations (many from SE sites) with a simple google search: google.com.au/search?q=bash+boolean+logic
6h
comment sh AND and OR in one command
do you mean A && (B || C) or (A && B) || C? see stackoverflow.com/a/6270803/137158
7h
comment How can I find files with a long first line?
that will check every line of each file, not just the first line of each.
7h
revised How can I find files with a long first line?
fixed to work with most awk implementations (incl. original-awk and mawk)
7h
comment How can I find files with a long first line?
yep, just figured that out myself while testing with original-awk and mawk. nextfile isn't much of a portability problem, the problem was the regexp with {1000,} the -size is a useful improvement.
8h
answered How can I find files with a long first line?
10h
awarded  text-processing
15h
comment Print multiple fields based on partial substring match inside one of the fields
minor variation of @terdon's answer, preserves the original input format exactly: perl -F, -lane '@k = split(/["|]/, $F[6]); @l = grep{/^10\./} @k; print join(",", $F[0], "\"" . join("|",@l) . "\"")' wmin.txt
15h
answered Script input filename or standard input
1d
reviewed Leave Closed How to identify & kill runaway processes that runs, exits, then runs again?
1d
comment Safe way to install .sh script in /usr/local/bin?
@terdon, yes i know. i was commenting on the blanket nature of your "there's nothing wrong..." statement. i.e. that there are circumstances where giving sudo access to vim is very wrong.
1d
reviewed Leave Open How to process only certain columns and ignore header and footer in delimited text file using awk?
1d
reviewed Edit unable to mount NFS with specific permissions