DB Creation   «Prev  Next»
Lesson 7 Oracle EXIT Command
Objective Use the EXIT command to leave Server Manager.
Now that you know how to start Server Manager, I should probably tell you how to get out of it. The command to do that is simply EXIT.
The EXIT command disconnects you from the database, terminates the Server Manager program, and returns you to your operating system prompt.

Database Connection

Once you have started Server Manager and have connected to a database, try issuing the EXIT command.
If you make a mistake while entering a command, you may find that your prompt will change and Server Manager will let you type in more commands, but no matter how many times you press Enter, Server Manager stubbornly refuses to do anything. The next lesson shows you how to deal with that situation.
Environment variables are set in the sign-on scripts, and the system-wide scripts are located in
/usr/local/etc (for HP/UX):
/usr/local/etc/profile (sh, ksh, bash)
/usr/local/etc/cshrc (csh)
/usr/local/etc/login (use for csh programs) 
For individual users, you can create session start-up scripts in your default home directory (as specified in /etc/passwd),
by placing a file in that directory.
For example, if the /etc/password file shows this for the Oracle user, we would add a dot-file called

.profile in /home/oracle.
root> cat /etc/passwd|grep oracle
Other dot-file depend on the shell specified in /etc/passwd:
.profile (sh, ksh, bash)
.cshrc (csh)
.login (use for csh programs)