[Email protected] ~]$ Vi/etc/oratab
# This file was used by ORACLE utilities. It's created by root.sh
# and updated by the Database Configuration Assistant when creating
# a database.
#
# This file was used by ORACLE utilities. It's created by root.sh
# and updated by the Database Configuration Assistant when creating
# a database.
# A Colon, ': ', is used as the field terminator. A New Line terminates
# The entry. Lines beginning with a pound sign, ' # ', is comments.
#
# Entries is of the form:
# $ORACLE _sid: $ORACLE _home:<n|y>:
#
# The first and second fields is the system identifier and home
# Directory of the database respectively. The third filed indicates
# to the Dbstart utility and the database should, "Y", or should not,
# "N", be brought up at system boot time.
#
# Multiple entries with the same $ORACLE _sid is not allowed.
#
#
Orcl:/u01/app/oracle/product/10.2.0/db_1:n
The last n or y indicates whether the Dbstart is allowed to start the database, and if n is not enabled through Dbstart, the Sqlplus connection instance is displayed connected to an idle instance. If the instance of Y is enabled through Dbstart, the database will be open after the sqlplus is connected.
Reference: http://blog.chinaunix.net/uid-23177306-id-2531086.html
[Transfer]/etc/oratab file use