Search Results

Search: Posts Made By: nareshreddy443
2,581
Posted By nareshreddy443
Shell scripting with case statement
How can i substitute those written server names to adminHost ??
2,581
Posted By nareshreddy443
Really appreciate to all of your efforts.Thanks a...
Really appreciate to all of your efforts.Thanks a million in advance.
I am new to scripting,i will try to explain what i am looking for again.Below is my script which is working fine.As i said...
3,376
Posted By nareshreddy443
Looking for XARGS command Silent options
Perfect that worked.

Thanks
2,581
Posted By nareshreddy443
Shell scripting with case statement
One server per line.
Either way is also ok for me.
3,376
Posted By nareshreddy443
Looking for XARGS command Silent options
ls | grep -E '^[0-9]+$' | xargs --verbose -I{} rm -vfr "{}";

When i execute the command it works fine by removing the directories and its writing the output as below about which files are...
2,581
Posted By nareshreddy443
Shell scripting with case statement
Thanks for you reply.

That worked.

What if i have servers listed in a file called intservers.txt ,qaservers.txt,prodservers.txt and these servers list under some path say /opt/app/serverslist/...
2,581
Posted By nareshreddy443
Shell scripting with case statement
Foe example we have three environments int,qa and prod.Each environment has some number of servers.
int=Server1,Server2,Server3
qa=Server4,Server5,Server6
prod=Server7,Server8,Server9

echo...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 06:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy