Search Results

Search: Posts Made By: nareshreddy443
2,581
Posted By RudiC
Assuming you're using bash (which you failed to...
Assuming you're using bash (which you failed to mention), try
declare -A SRVFILES=([int]=intservers.txt [qa]=qaservers.txt [prod]=prodservers.txt)
read -p"Enter env: " ENV
Enter env: int
while...
3,376
Posted By Aia
You can try by removing the -v from rm and...
You can try by removing the -v from rm and --verbose from xargs.
2,581
Posted By bakunin
echo "Enter the Environment i.e int,qa,prod" ...
echo "Enter the Environment i.e int,qa,prod"
read env
case $env in
int)
Servers="Server1 Server2 Server3"
;;

qa)
Servers="Server4 Server5 Server6"
...
Showing results 1 to 3 of 3

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