9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have a file, sol_servers_global, which is list of all solaris global servers in my environment and another file,
solaris_non_global_zones_from_DB. I have a gateway server, from where all servers are contactable via ssh. I have collected name of zones running on these servers with below... (3 Replies)
Discussion started by: solaris_1977
3 Replies
2. Shell Programming and Scripting
i am working on a shell script and need help in the comparing part of it. for e.g. there two text files like this:
file1.txt
name1
name2
name3
file1 has to be comared with file2
defaultfile.txt
name1
name2
name3
name4
and during comparision with defaultfile.txt
if... (2 Replies)
Discussion started by: draghun9
2 Replies
3. Shell Programming and Scripting
I need a script to compare 1 file with all others then print off any new lines which the other files do not have.
Running:
Solaris 10 5/09 s10s_u7wos_08 SPARC
Any help or pointers would be appreciated (26 Replies)
Discussion started by: llcooljatt
26 Replies
4. Shell Programming and Scripting
Hi All,
I wil be having Files as below in SourceFile_Path DIR
AA.20110131
AA.20110228
AA.20110202
AA.20110330
BB.20091031
I want to Keep only monthly (20110131,20110228,20100229,20110330) in First SourceFile_Path, If it is not monthly file then want to Move files to some another... (5 Replies)
Discussion started by: samadhanpatil
5 Replies
5. Shell Programming and Scripting
Hi All,
I am very new to scripting and wanted to write a script for comparison of folder including binary files like ear's and jars. Following is the job for which I need it:
1. Compare two folders recursively
2. Compare the binaries like ear's but exclude files like MANIFEST files
3.... (1 Reply)
Discussion started by: maverick.topgun
1 Replies
6. UNIX Desktop Questions & Answers
From couple of hours i try to do a script to compare file MD5.
Help would be very appreciated :)
First i read the md5 stored into a text file (no problem): md5=`grep -P "^{32}" $file`
then i want to calculate the checksum and store it :
cmd5=`md5sum licence.gvcl`
then problems arrives, i... (5 Replies)
Discussion started by: giova
5 Replies
7. Shell Programming and Scripting
I need a simple script to parse a file with this data in it and have that script output a warning when CurrCapacity is more that 50% of MaxCapacity for a given pool Name, can anyone help ?
CurrCapacity: 5
MaxCapacity: 20
Name: fhlwDSource
CurrCapacity: 5
... (3 Replies)
Discussion started by: init0
3 Replies
8. Shell Programming and Scripting
Hello,
I am looking for a script, or pointer to an approach to creating a script, that will compare two versions of a codebase and output a third directory structure containing only the files that differ between the two. I use diff quite often, but it will only create patch files (AFAIK). Does... (3 Replies)
Discussion started by: jwilliams108
3 Replies
9. Shell Programming and Scripting
HI
i wil get input from sql query and that too i can get a list o f files or just one.
i have to pick up a file from another directory which hads prefix to this prefix.x.x.x.x.x. And we have to discard prefix and use that file name.
we have to compare this file name(no need... (0 Replies)
Discussion started by: pulse2india
0 Replies