I do not like to reveal my passwords on screen if possible.
ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA
Additional quotes are needed with ezconnect, when I do not want to write the password on command line.
SQL> conn system@"localhost/orcl"
Seems like 11.2 client does not need NAMES.DIRECTORY_PATH= (ezconnect) line in sqlnet.ora anymore to use the method. 10.1, 10.2 and 11.1 version client installations need that line there.