The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Getting latest file from ftp arunavlp UNIX for Dummies Questions & Answers 3 02-08-2008 06:19 AM
latest version of bsd chilaka BSD 1 12-18-2006 04:24 AM
Dual Xeon 2.6, RedHat EL 4 ES, up to latest release version. 2.6.9 kernel Garp Linux Benchmarks 2 08-01-2005 07:01 AM
What is the latest version of Unix? LANSTARR.COM UNIX for Dummies Questions & Answers 2 06-13-2003 07:23 AM
Downloading vs buying latest version of os lavonte UNIX for Dummies Questions & Answers 4 09-10-2001 09:51 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-15-2005
Registered User
 

Join Date: Dec 2005
Posts: 1
Smile Latest version of a file across the servers ..

How do I confirm that the script on one server is latest compare to other servers? Is there any script which can tell me the latest version of a file across the servers?

Thanks,
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 12-16-2005
Just Ice's Avatar
Lights on, brain off.
 

Join Date: Mar 2005
Location: in front of my computer
Posts: 627
do "ls -l" on the file and compare across servers
Reply With Quote
  #3 (permalink)  
Old 12-16-2005
Moderator
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,422
Another idea: put your script under version control like CVS or Subversion, then you can easily check whether each copy on each server is latest, manually or as a script regularly triggered by cron, or can be instructed to update automatically to ensure all copies are always the latest without human intervention.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:53 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0