10,575 reputation
2431
bio website
location Sydney, Australia
age
visits member for 3 years, 11 months
seen 3 hours ago

15h
comment grepping of common lines between two file based on specific columns values in case of multi matching
@yogendrasingh: I have used bash features in this answer. If you are not using bash, you will need to do it as separate steps.
23h
answered grepping of common lines between two file based on specific columns values in case of multi matching
Jul
28
awarded  Good Answer
Jul
25
comment Can grep output only specified groupings that match?
@XichenLi: I can't say. I just built v2.5.1 of grep (it's pretty old - from 2006) and it worked for me.
Jun
29
comment What are the world writable directories by default?
On modern systems, one of those compatibility symlinks is /var/lock/run/lock
Jun
24
awarded  Nice Answer
Jun
23
awarded  Nice Answer
Jun
5
awarded  Good Answer
May
20
awarded  Nice Answer
Mar
29
reviewed Reject suggested edit on I deleted /bin/rm. How do I recover it?
Mar
29
answered iptables rules - input and output
Mar
28
answered GNU Stow: How to stow only selected files/folders?
Mar
24
revised bash script and local env variable namespace collision
added 1 characters in body
Mar
24
revised bash script and local env variable namespace collision
deleted 34 characters in body
Mar
24
answered bash script and local env variable namespace collision
Feb
25
awarded  Enlightened
Feb
25
awarded  Nice Answer
Feb
5
comment How to get over “device or resource busy”?
@marines: Check if another filesystem is mounted beneath /path. That is one cause of hidden "open files".
Feb
4
comment Grep from the end of a file to the beginning
Why do you say "tac [...] needs to process the entire file"? The first thing tac does is seek to the end of the file and read a block from the end. You can verify this yourself with strace(1). When combined with grep -m, it should be quite efficient.
Jan
3
awarded  Good Answer