Search Results

Search: Posts Made By: Citricut
16,317
Posted By Citricut
Hi there, The script I'm calling is not...
Hi there,
The script I'm calling is not infinite but it can hang so it won't finish. That's why I force the timeout.
About the background, you made me doubt, as far as I know it's running in...
16,317
Posted By Citricut
If it helps you, here I paste one of my scripts...
If it helps you, here I paste one of my scripts where I launch a query script and send CR while it's running for my connection not to timeout. Hope it helps:
#!/bin/ksh
#set -x
# lanzamiento del...
5,986
Posted By Citricut
Hi eric, I think AWK is the right stuff for you....
Hi eric, I think AWK is the right stuff for you. Try to evaluate some fields (or the entire line) to look for the headers so you know that next lines follow that pattern until a new header comes. At...
6,235
Posted By Citricut
And thanks to era's help, here is the code! ...
And thanks to era's help, here is the code!
nawk '/zone "180.20.10.in-addr.arpa"/,/^};/{ if ($0 !~ /[^ .0-9;]/) print }' /opt/bind/etc/named.conf |sed 's/^[ \t]*//;s/\;//'

I wanted to parse this...
6,235
Posted By Citricut
Parse "masters" ip from named.conf
Hi there, Im' trying to make a script to parse the BIND configuration file from my slave DNS server and obtain a certain parameter. The named.conf file has this format:
zone...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 04:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy