Monday, May 14, 2012

Getting TNS strings from tnsnames.ora file in Linux

grep '^[A-Za-z]' tnsnames.ora | sed 's/=.*//;s/,.*//'