open sqlplus with command line parameter

Is there a way to open sqlplus with command line parameters that specify the login/password and host string.....
I tried it with
sqplus scott/tiger myhost
it gives error message......
any suggestions...
Who is Participating?
bellyboyConnect With a Mentor Commented:
sqlplus scott/tiger@myhost

where myhost is the database alias defined in your tnsnames.ora
All Courses

From novice to tech pro — start learning today.