Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~375 People Reached
Favorite Forums
Favorite Tags
Member Avatar for shyamalaa

Hi sed -f /opt/DBACheck.sql.sed /opt/DBACheck.sql > /opt/DBACheck.sql.tmp mv -f $DBACheck.sql.tmp $DBACheck.sql where the contents of DBACheck.sql.sed is { s%${DBMS_USER}%SYSTEM%g } DBACheck.sql is a one line file , that contains line with string DBMS_USER which i want to replace it with SYSTEM. But on executing i get DBACheck.sql to be an …

Member Avatar for shyamalaa
0
176
Member Avatar for shyamalaa

I hve code like echo $1 echo $2 and am executing the code as ./script.sh /home/*.txt /home/*.xsd [B]The corresponding .txt files and .xsd files of the directory are getting substitued as the command line argument .[/B] and it prints smething like data.txt value.xsd [B] Apart frm using * [/B]if i …

Member Avatar for masijade
0
80
Member Avatar for shyamalaa

file_list='find /home/attrib/ -name *.csv' for fn in $file_list do echo "Inside the loop" echo $fn done I need the list files available in the specified directory find /home/attrib/ -name *.csv - This works on the command line and gives the desired output . But the above script Gives me output …

Member Avatar for shyamalaa
0
119