10 More Discussions You Might Find Interesting
1. Red Hat
Dear all ,
Very recently our DNS server ip got changed. I have entered the DNS ip in /etc/resolv.conf ...but I could not resolv it for my ip address.
Verified that , the IP is added in the DNS also.
It is still working with the old DNS ip.
Please let me know what could be... (11 Replies)
Discussion started by: jegaraman
11 Replies
2. Shell Programming and Scripting
Hello everyone,
I am a newbie on the world Shell Script. I just can build some scripts basically with the command which I used on the terminal. With the part algorithmic I don't have problem, but some functionality I can't and didn't know how around the situation.
I have the file .txt with... (5 Replies)
Discussion started by: enodev
5 Replies
3. Shell Programming and Scripting
My script
----------
for i in `cat n`;do
export k=`echo "CSN: "$i` //combining CSN: and value from n
echo "$k"
awk ''{print "CSN: "$0;}'{_=29}_&&_--' file1|tail -1 >> file2
done
In the above script i cannot able to resolve $k in awk command
file n contains
------------
0000
1111
2222... (2 Replies)
Discussion started by: Mohana29_1988
2 Replies
4. Shell Programming and Scripting
Hello everyone,
I have written a one liner which looks in a configuration file for remote hosts to connect to. It then resolves them by first ping, and nslookup if it fails, then places the info in the hosts file.
The whole thing works, seemingly, apart from one slight issue. I would like to... (0 Replies)
Discussion started by: haggismn
0 Replies
5. UNIX for Dummies Questions & Answers
Good day,
I would like to resolve IP's to Hostnames using Putty.
I'm using Mandriva Linux 2008.0.
Is this possible?
Perhaps with nmap? (13 Replies)
Discussion started by: McGuywer
13 Replies
6. UNIX for Dummies Questions & Answers
#!/bin/sh# 'clear'for i in $(seq -w 15 37)doecho $iecho The content in ZZ=`wget --dns-timeout=0.001 http://napdweb${i}.eao.abn-iad.ea.co.../test/test.jsp`echo $ZA="Connection timed out."echo The content in Aecho $Aexpr "$A" : '..\(...\)'echo $Adone
Hi,Please see the above program.
The above... (9 Replies)
Discussion started by: veerumahanthi41
9 Replies
7. Shell Programming and Scripting
#!/bin/sh
# 'clear'
for i in $(seq -w 15 37)
do
echo $i
echo The content in Z
Z=`wget --dns-timeout=0.001 http://napdweb${i}.eao.abn-iad.ea.com:8000/webcore/test/test.jsp`
echo $Z
A="Connection timed out."
echo The content in A
echo $A
expr "$A" : '..\(...\)'
echo $A
done
... (1 Reply)
Discussion started by: veerumahanthi41
1 Replies
8. Shell Programming and Scripting
Hi
I have a variable which is a path ie:
UBERROR=/cobwrk/mchr/prodsup/ub/wrk/../error
is there anyway I can get the output of an echo to read:
#echo $UBERROR
/cobwrk/mchr/prodsup/ub/error
instead of
#echo $UBERROR
/cobwrk/mchr/prodsup/ub/wrk/../error
Many thanks! (2 Replies)
Discussion started by: serm
2 Replies
9. UNIX for Dummies Questions & Answers
Please help me on how to resolve:
1-unresponsive terminals
2-unresponsive applications
3-how to interrupt processe
p.s unix/linux OS (1 Reply)
Discussion started by: zizu
1 Replies
10. IP Networking
I am running LexMark MarkNetPro-3 print servers on my AIX network. All of the sudden, none of my printers will print anymore. I am getting an error message on the console:
Unable to resolve host name.
This message comes up everytime a user submits a print job.
Any Ideas? (1 Reply)
Discussion started by: Docboyeee
1 Replies