Search Results

Search: Posts Made By: KiranKumarKarre
14,273
Posted By KiranKumarKarre
Read properties file value
Hi,
Here is the sample example.

CD=`pwd`
for i in `ls ${CD}/check.properties`
do
echo "in for loop..."
. ${i}
echo "User Name is $USER_NAME and pass word is $PASS_WORD "
done

Am...
14,273
Posted By KiranKumarKarre
Read properties file value
Hi, I have fileds like
uname="test"
pwd="ujeua"

in host.properties file.

I want to read these values in a sh file.

for i in `ls ${directory}/chk.properties
do

------how to get...
Showing results 1 to 2 of 2

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