Connect system@db01

where db01 is service name(connect string defined in tnsnames.ora) to connect to the database.