10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi everyone, I have problems with this script.
This script should check for a folder for each server in the list of the list.txt file.
The script only checks the first host, and then exits, why?
#!/bin/bash
file='/etc/list.txt'
while read line; do
echo $line
if ssh root@$line "stat /var >... (2 Replies)
Discussion started by: nashrik
2 Replies
2. Shell Programming and Scripting
Hi All,
Am trying to write wrapper shell/bash script on a utility tool for which i need to pass 2 files as arugment to execute utility tool.
Wraper script am trying is to do with above metion 2 files.
utility tool accepts :
a. userinfo file : which contains username
b. item file : which... (2 Replies)
Discussion started by: Optimus81
2 Replies
3. Red Hat
Hey , can we read an xml file and make changes in it through shell script.
Thanks (4 Replies)
Discussion started by: ramsavi
4 Replies
4. Shell Programming and Scripting
Hi unix Gurus,
I am really new to Unix Scripting. Please help me to create a shell script which reads the xml file and from that i need to fetch a particular information.
For example
<SOURCE BUSINESSNAME ="" DATABASETYPE ="Teradata" DBDNAME ="DWPROD3" DESCRIPTION ="" NAME... (5 Replies)
Discussion started by: SmilePlease
5 Replies
5. UNIX for Dummies Questions & Answers
Hello All,
i am a newbie and need some help when reading a csv file in a bourne shell script. I want to read 10 lines, then wait for a minute and then do a reading of another 10 lines and so on in the same way. I want to do this till the end of file.
Any inputs are appreciated
... (3 Replies)
Discussion started by: victor.s
3 Replies
6. Shell Programming and Scripting
Dear All,
I have one log file and it contains lot of XML as below.
... (1 Reply)
Discussion started by: murtujak
1 Replies
7. Shell Programming and Scripting
Hi Experts,
I need a unix shell script which can copy the xml file from the below pasted website and paste in in my unix directory.
http://www.westpac.co.nz/olcontent/olcontent.nsf/fx.xml
Thanks in Advance... (8 Replies)
Discussion started by: phani333
8 Replies
8. Shell Programming and Scripting
Hi Everyone.
I am new in this scripting world. I need to know about script that I can use on linux/sun operating systems. I have 2 input file.
File 1: Its has an header information and then data in 2 different columns.
File 2 : It has data in 9 different columns/
I need an script that... (3 Replies)
Discussion started by: syahmed
3 Replies
9. Post Here to Contact Site Administrators and Moderators
Hi ,
I want to read a file starting with "*" up to till it encounters a blank line and to redirect this output to a different file.Plz suggest how to write a script for this.
e.g:-
* PK Sent Email (11.23)
CALYPSO 1243215 9116457 NEW TRAD FAILED Nov 23 2007 9:34AM OASYS: DPS:... (0 Replies)
Discussion started by: adityam
0 Replies
10. Shell Programming and Scripting
In my script i am writing to a counter file the no of processes i had started,
that is each time i start a process, i will increment the content of counter file and also when the process ends i will decrement the content of the file.
after this i do some other activities, by now i want to... (1 Reply)
Discussion started by: senthilk615
1 Replies