10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi, i want the loop to move to 3rd item, when it encounters 2 while runing
for i in 1 2 3 4 5 6
do
if
then
#jump to element 3
else
echo $i
fi
done
o/p
1
3
4
5
6 (4 Replies)
Discussion started by: sam05121988
4 Replies
2. Shell Programming and Scripting
I have searched in a variety of ways in a variety of places but have come up empty.
I would like to prepend a portion of a section header to each following line until the next section header. I have been using sed for most things up until now but I'd go for a solution in just about anything--... (7 Replies)
Discussion started by: pagrus
7 Replies
3. Solaris
Hi
I'm trying to understand the difference between installation methods of Solaris 10, Jump Start vs Flash Archive ?
thx for help. (6 Replies)
Discussion started by: presul
6 Replies
4. Shell Programming and Scripting
Hi,
can someone point out a solution to my problem below.
Within a shell script TEST.ksh I have to run two commands CmdA & CmdB one after the other as below.
-------------
TEST.ksh
#!/usr/bin/ksh
A
B
-------------
I am running this script from KSH with PID 12345 as below.
... (5 Replies)
Discussion started by: krishnaux
5 Replies
5. Shell Programming and Scripting
Hello Team ,
I have to extract date section from the below file output. The output of the file is as shown below.
I have to extract the "" this section from the above output of the file. can anyone please let me know how can we acheive this? (4 Replies)
Discussion started by: coolguyamy
4 Replies
6. Shell Programming and Scripting
I have a list of Servers in no particular order as follows:
virtualMachines="IIBSBS IIBVICDMS01 IIBVICMA01"And I am generating some output from a pre-existing script that gives me the following (this is a sample output selection).
9/17/2010 8:00:05 PM: Normal backup using VDRBACKUPS... (2 Replies)
Discussion started by: jelloir
2 Replies
7. Shell Programming and Scripting
Attached is the exact ouput of a vmware VDR log file I am working with but what I am trying to achieve is as follows:
I need to output sections of the file using the string "Normal backup" as the start and "Duration" as the end to seperate files so I can then manipulate them further to create... (2 Replies)
Discussion started by: jelloir
2 Replies
8. AIX
hi everyone,
i need to know if is that possible insert in a batch KSH a "GO TO" sentence to jump at the top or at the end of the job.
e.g.
top:
step1
step2
go to top:
thanks in advance (4 Replies)
Discussion started by: enge
4 Replies
9. Shell Programming and Scripting
Hi,
if I have a lot of files like (AABBCC0010, AABBCC0011, AABBCC0012....AABBCC1000), can I write a small script to check any sequence number jump and show me the result which sequence number?
#The first sequence may start from 0010 or 0101... :confused:
Thank you!! (10 Replies)
Discussion started by: happyv
10 Replies
10. Shell Programming and Scripting
If I cat a file
And want to go to the first instance of a particular value - what command would I use?
And then from that point where I jumped to search for another value - but only search from that point forward not before the file?
Thanks~ (2 Replies)
Discussion started by: llsmr777
2 Replies