cdh
cd network
cd admin
cat tnsnames.ora
vi tnsnames.ora
orcl_1=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=mmm111.example.com)(PORT=1621)
(RECV_BUF_SIZE=87380)(SEND_BUF_SIZE=87380))
(CONNECT_DATA=
(SERVICE_NAME=orcl.example.com)))
sqlplus system/oracle@orcl_1