10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am new at scripting. I have a file that each line is the shortname for a server.
ie -
Server1
Server2
Server3
I want to read in that file, do a nslookup and print the FQDN to a file.
I added an echo statement to make sure my variable was being read and changing. But the nslookup... (5 Replies)
Discussion started by: kellyhkc
5 Replies
2. Shell Programming and Scripting
I want to perform the below division operation in shell script and round the value.
val1=6000
val2=5000
res=val1/val2 ----> 1.2---> Round to 2
Please help. (3 Replies)
Discussion started by: vel4ever
3 Replies
3. UNIX for Dummies Questions & Answers
I have value like ABCDEF,BBCCDD in a shell variable, now i would like to have ABQWEF,BBQWDD in the same shell variable. How can i replace the char at position 3&4 with QW in shell script? (3 Replies)
Discussion started by: vel4ever
3 Replies
4. Shell Programming and Scripting
Hi Expert,
Is there anyway for me to nslookup more than one host at one time, instead of doing it one by one.
Thank you. (2 Replies)
Discussion started by: regmaster
2 Replies
5. Shell Programming and Scripting
HI all,
I want to script where all the server names will be in a text file like
server1
server2
server3 . and the script should take servernames from a text file and perform copy of files if the files are not present on those servers.after which it should take next servername till the end of... (0 Replies)
Discussion started by: joseph.dmello
0 Replies
6. Shell Programming and Scripting
Hi All
i am creating a script to perform a nslookup on a specified host (so in otherwords it will be: zong(script name) 172.x.x.10(ip adress). i am scripting in tcsh. unfortunately i think i am doing something wrong as it keeps giving me syntax error. can someone help?
@ num=1
set arg='ping... (2 Replies)
Discussion started by: brian112
2 Replies
7. Shell Programming and Scripting
Hi all
i need help :)
i need to create a script (tcsh) to do a nslookup on all my hosts to see which ones do not have reverse lookup..etc.
can someone please help? (1 Reply)
Discussion started by: brian112
1 Replies
8. Shell Programming and Scripting
Hi,
I have a small basic script encryption.sh as shown below. All I am trying to do is to encrypt a file which is passed through the script.
It works fine when I execute this script directly from command line via putty or telnet but it does not work when I call this script in an... (3 Replies)
Discussion started by: simi28
3 Replies
9. Shell Programming and Scripting
Hi,
Can someone help me with creating a bash shell script.
I need to create a script that gets a positive number n as an argument.
The script must create n directories in the current directory with names like map_1, map_2 etcetera. Each directory must be contained within its predecessor. So... (7 Replies)
Discussion started by: I-1
7 Replies
10. Shell Programming and Scripting
Hi
Anyone know of a quick and simple way to script an NSLOOKUP's from a list/text file?
Thanks,
Gav (1 Reply)
Discussion started by: gavcollins
1 Replies