582 reputation
312
bio website
location
age
visits member for 4 years, 2 months
seen Mar 24 at 19:27

Mar
22
revised list all symbolic links to valid directories only with find
Response to comment
Mar
22
answered list all symbolic links to valid directories only with find
Mar
20
comment How can I quickly find the 20 most recently modified files on Mac OS X?
You are searching the entire file system, so yes, it will take time. What is your definition of quick?
Mar
20
answered How can I quickly find the 20 most recently modified files on Mac OS X?
Mar
14
suggested rejected edit on Uses of hash in shell scripting
Mar
12
revised Not getting the desired output for echo command
formatted code
Mar
12
suggested approved edit on Not getting the desired output for echo command
Mar
11
comment How to Save variables in a script that can be shared between two runs of awk against the same input file in the script?
@SteveCohen That's great; if you don't mind, post an answer to your question so others can benefit from your good work.
Mar
11
comment How to Save variables in a script that can be shared between two runs of awk against the same input file in the script?
@SteveCohen Does this work: awk -F"|" '$2 ~ 05478900172 {print $3}' input.log | sort -u | xargs -I {} grep {} input.log ... assuming you know $2s ahead of time? This will also return rows that match the $3s where $2s are missing.
Mar
10
comment How to Save variables in a script that can be shared between two runs of awk against the same input file in the script?
For $2 in the input file, you want the unique values in $3 and then search the entire input for rows containing those $3s? Do you know values of $2 ahead of time?
Mar
9
comment SUID accidently removed from /bin/su file
Do you have console access? Boot the host into single user mode and see if that helps ... ?
Mar
8
answered To remove \n but not \n\n
Mar
8
comment How do I synchronize 2 xml files?
This may be a better question for stackoverflow.com, however, using a language with an XML parser may be the best option if you want to maintain any form of integrity of the resulting contents.
Mar
7
answered Unable to configure the Network Settings in centos 7
Mar
6
answered Writing a character N times using the printf command
Mar
6
comment how to find URLs accessed by a process
Web server logs ... ?
Mar
6
comment cURL does not recognize certificate
What is the curl command + any flags that causes this? What flags are you using with wget?
Mar
4
comment Change Multiple (Including No) File Extensions
This should be a good start: stackoverflow.com/a/1224786/297629
Mar
2
answered What does the -R switch mean when used with chmod or chown commands?
Feb
27
revised CRON session entries in logs
Code formatting