If you need to log in to the current physical machine in a shell script, and the current machine has a sqlplus file, you can
Log in directly with sqlplus -s username / password. If you need to log in across machines, you need to add the need
Log into the machine's ip, the command is as follows sqlplus -s username / password @ net_service_name, after login
You can also use the conn command to connect to other users, conn username / password @ net_service_name