Script to change the file at one go on different UNIX machines
Hi Folks ,
I have a query that is I have a server (unix machhine) to which I login thru winscp or putty , mostly I use putty and at a particular location there is one xml(abc.xml) while which I change , let say
similiarly there are several unix box machines having hostnames...ccc75, ccc 75, ccc76 , ccc77 , ccc78 and at the same location there is abc.xml
Now please advise me any script , as rite now I login thru winscp and do the changes manually on each xml , please advise any script
---------- Post updated at 11:16 AM ---------- Previous update was at 10:11 AM ----------
Quote:
Originally Posted by tuntun27272727
Hi Folks ,
I have a query that is I have a server (unix machhine) to which I login thru winscp or putty , mostly I use putty and at a particular location there is one xml(abc.xml) while which I change , let say
similiarly there are several unix box machines having hostnames...ccc75, ccc 75, ccc76 , ccc77 , ccc78 and at the same location there is abc.xml
Now please advise me any script , as rite now I login thru winscp and do the changes manually on each xml , please advise any script
Folks please advise
Last edited by tuntun27272727; 07-19-2013 at 12:18 PM..
My shop has just ordained that all UNIX passwords expire after 45 days. We do NOT have a "single logon" facility, so I will need to logon to each of the servers (15+) I interact with and change my password by hand. I thought I could invoke passwd inside a ksh script as a Here document and... (12 Replies)
Hello all
i need to simulate method invocations between 2 machine ( using corba )
now i like to test the method invoke timeout from machine1 to machine2 for that i need to
simulate network being busy , can it be done some how ? (2 Replies)
I want to write a script to go into a unix directory and recursively change all the instances of a word in every file in every directory and sub directory.
Here's where I am now:
I can execute
find . -print | xargs grep "my_word"
to recuresively return all the files with my_word in it. ... (7 Replies)
Hi,
When I run the below script in UNIX it's throwing syntax errors. Actually it's a windows batch script. Could anyone change the below Windows Batch script to UNIX shell script...
Script:
REM :: File Name : Refresh_OTL.bat
REM :: Parameters : %1 - Region
REM :: : %2 - Cube Type
REM ::... (5 Replies)
Hello Gurus
I have little challenge which I do not know how to address it. I have unix account on many servers (let's say over 25). These accounts expire every 60 days. Is there scripts that I can run from my "local computer" and pass a new password to it where it would change it for me on all... (7 Replies)
Hello,
Three of our machines at work were sending out SPAM on the internet. 2 of them were so old I knew that the hackers just exploited the vulnerabilities in the old systems. The cause of concern is that one one of the machines is a new Centos 5.3 box.The only proof we have is that 4-6 emails... (3 Replies)
I have inherited an 80 machine cluster and need to change root on all of them. :confused: Any ideas on an automated way to do that?
---------- Post updated at 11:29 AM ---------- Previous update was at 11:15 AM ----------
Assuming a stronger password, would this be a reasonable method for... (4 Replies)
Hello Experts,
Need some direction on creating shell script for following environment:
We have about 20 people in the team working as Oracle DBA's (sysdba's and appdba's). Total Servers which is a mix of Unix and Linux are 200. We do not have Root user access on any of the servers and... (3 Replies)
Hi,
we have around 50 users and every month we need to change the password manually once its expire.
do we have any script to change the password automatically.
OS -HP-UX
Thanks in advance.. (6 Replies)
Hi Friends,
Every morning i need to change the password, please advise how it can be automated. I am having pre planned password list for 4 months which can be used as input file for new passwords.
Thanks (28 Replies)
Discussion started by: rajjev_saini123
28 Replies
LEARN ABOUT CENTOS
pom_remove_dep
POM_REMOVE_DEP(7) Java Packages Tools POM_REMOVE_DEP(7)NAME
pom_remove_dep - remove dependency on Maven artifact from POM file
SYNOPSIS
%pom_remove_dep [groupId]:[artifactId] [POM-location]
DESCRIPTION
This macro patches specified POM file not to contain dependencies on given Maven artifact.
groupId and artifactId are identifiers of Maven group and artifact of the module on which dependency is to be removed. If they are ommited
then all identifiers are matched.
POM location can be either a full path to the POM file, or a path to the directory containing pom.xml. If POM location is not given then
pom.xml from current working directory is used.
EXAMPLES
%pom_remove_dep com.example: - this call removes dependency on all artifacts with groupId com.example from POM in current working
directory.
%pom_remove_dep boo:bar target/location - this call removes dependency on artifacts with groupId foo and artifactId bar from
target/location/pom.xml.
AUTHOR
Written by Mikolaj Izdebski.
REPORTING BUGS
Bugs should be reported through Red Hat Bugzilla at http://bugzilla.redhat.com/.
SEE ALSO pom_add_dep(7), pom_add_parent(7), pom_add_plugin(7), pom_disable_module(7), pom_remove_parent(7), pom_remove_plugin(7), pom_set_parent(7),
pom_xpath_inject(7), pom_xpath_remove(7), pom_xpath_replace(7), pom_xpath_set(7).
JAVAPACKAGES 06/10/2014 POM_REMOVE_DEP(7)