The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
N00b question on CPU % in top kskywr UNIX for Dummies Questions & Answers 3 01-10-2007 12:01 AM
Absolute n00b questions about Unix / Linux CodeHunter UNIX for Dummies Questions & Answers 2 02-24-2005 09:46 AM
OpenBSD N00b: HELP ME!!! AGGGH!! deckard UNIX for Dummies Questions & Answers 1 02-23-2005 05:24 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 09-20-2007
davesimm davesimm is offline
Registered User
  
 

Join Date: Sep 2007
Location: Chorley, Lancashire
Posts: 3
N00b In Need!

Howdy all, just joined the forums after finding them on a good ole' google search. very impressed from what i've seen so far! I'm pretty new to the world of Unix/Linux, have just had a change of job role and been thrown in at the deep end! I'm now working on an Oracle 9i database using HPUX boxes with Redhat applications tiers..... And am having great difficulty getting my head around some scripting!

As part of patch installs from our in house developers i regularly have to clear a cache directory on our applications tiers boxes, i would really appreciate a script to make this easier, and i could really do with a little guidance on how to acheive it!

We have 7 apps boxes (named genapp01/02/03/04/08/09) and each has the cache directory in one of 2 places, either...

/u01/data/app/PROD/comn/_pages
or
/u01/data/app/PROD/comn/html/_pages

each box has the same user/password running the oracle environment, so all the files are owned by the same user. Same goes for the root user, should i run the script as the root user, or as the environment owner?

Should my script seperatly ssh to each box and rm -rf * inside the _pages folder? Or can i use an SCP command or similar?

Any help greatly appreciated!

Cheers

Dave
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:21 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0