Sponsored Content
Top Forums Shell Programming and Scripting Perl Script to compare between two baseline in UCM Post 302445571 by ram_unx on Monday 16th of August 2010 09:08:43 AM
Old 08-16-2010
why cant you use cleartool diffbl baseline1 baseline2?
 

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

compare 2 coloum of 2 diff files using perl script

Hi, i am new to perl scripting.. i am still learing it.. i am asked to write a perl script which should compare 2 coloums of 2 different files. if those 2 coloumn are same the script should store the both the lines in 2 diff files. these are files, file 1: 21767016 226112 char 19136520... (3 Replies)
Discussion started by: vasuki
3 Replies

2. Shell Programming and Scripting

Use Perl In Bash Script To Compare Floationg Points

Is there a way to compare two floating points numbers in a bash script using perl? I've tried just using a bash if statement and it doesn't seem to support floating point numbers. Can the perl line read vars from bash then output a var to bash? a=1.1 #from bash b=1.5 #from bash if... (3 Replies)
Discussion started by: Grizzly
3 Replies

3. Shell Programming and Scripting

Perl script to compare two files

hi, As such I am new to perl on google search I found a code for Perl script to compare two files and print differences between them and instead of prinintg I want to store the diff. in a outputfile so can sombody provide assistance upon this from where can I edit in script to store the diff in... (1 Reply)
Discussion started by: dinesh.4126
1 Replies

4. Shell Programming and Scripting

Need Perl script to compare two CSV files

Need perl script to compare the two CSV files and and give out put in CSV format File MsPMTP.csv File ProfileNames.csv MsPMTP.csv is having lines like below JBL_VIJ_A_A962/r01sr4sl12/port#01-#13-Au4P-4c-TMi-PMNETR15 JBL_VIJ_A_A962/r01sr4sl12/port#01-#13-Au4P-4c-TMi-PMFETR15... (9 Replies)
Discussion started by: sreedhargouda
9 Replies

5. Shell Programming and Scripting

shell script for clearcase ucm

how to write shell script to get the checkin information between two composite baselines in clearcase ucm . (0 Replies)
Discussion started by: saku
0 Replies

6. Shell Programming and Scripting

Clearcase ucm baseline differences report in xls format

Hi All, Can any one help me to get the shell/perl scripts for the below requirements. 1: To get the clearcase checkin's information between two lables generate a formatted Xls output and to find the added changed and removed files and versions between the ClearCase baselines. 2... (2 Replies)
Discussion started by: saku
2 Replies
FCHECK(8)						User Contributed Perl Documentation						 FCHECK(8)

NAME
fcheck - IDS filesystem baseline integrity checker SYNOPSIS
fcheck [OPTIONS] OPTIONS
The options to fcheck are defined below: -a Automatic mode, do all directories in configuration file. -c Create a new base line database for the given directory. -d Directory names are to be monitored for changes also. -f filename Use alternate 'filename' as the configuration file. -i Ignore creation times, check permissions, adds, deletes only. -h Append the $HOSTNAME to the configuration filename. -l Log information to logger rather than stdout messages. -r Report mode, great for emailed status reports. -s Sign each file with a CRC/hash signature. -v Verbose mode, not used for report generation. -x eXtended unix checks, # of links, UID, GID, Major/Minor checks. DESCRIPTION
Overview The fcheck utility is an IDS (Intrusion Detection System) which can be used to monitor changes to any given filesystem. Essentially, fcheck has the ability to monitor directories, files or complete filesystems for any additions, deletions, and modifications. It is configurable to exclude active log files, and can be ran as often as needed from the command line or cron making it extremely difficult to circumvent. Operation and Getting Started Flag passing is a fairly simple process. Primarily you will be using two commands. One builds (or rebuilds) your baseline database files (system snapshots). The second runs in a scanning comparison mode. "fcheck -ac" Builds the baseline database. "fcheck -a" Comparison scans the system against the baseline database. For normal operation: Initially you will run fcheck by issuing the command "fcheck -ac" to create the initial baseline file used for comparison. Any runs after the creation of the basline will normally be with the following flags "fcheck "-a"" to scan for any system modifications. After a scan is completed, you will probably want to have fcheck re-create its baseline database for the next comparison cycle. Otherwise you will be seeing every system modification since the last baseline re-build. In other words, run the "fcheck -ac" command again. (Advanced Note:) A more intensive system check would be accomplished by building your database to include GID/UID checks, directories, and CRC checks by using the following sample syntax: "fcheck -cadsxlf /etc/fcheck/fcheck.cfg" And provide periodic integrity scans from cron by using the following sample syntax: "fcheck -adsxlf /etc/fcheck/fcheck.cfg" AUTHOR
Author: Copyright (C) 1996 Michael A. Gumienny <gumienny@hotmail.com> Debianized by: Graham Simpson <gsi@eggconnect.net> SEE ALSO
Please also refer to the excellent README and INSTALL instructions provided with the package /usr/share/doc/fcheck. perl v5.14.2 2012-02-18 FCHECK(8)
All times are GMT -4. The time now is 08:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy