Skip Headers
Oracle® Secure Backup Reference
Release 10.1

Part Number B14236-03
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

id

Purpose

Use the id command to display the name of the currently logged in user.

See Also:

"Miscellaneous Commands" for related commands

Prerequisites

No rights are required to run the id command.

Syntax

id::=

id [ --long/-l ] 

Semantics

--long/-l

Displays user and class. By default id displays only the class.

Example

Example 2-37 displays the current user, logs out, logs in again as a different user, and then displays current user information.

Example 2-37 Displaying the Current User

ob> id --long
user: admin, class: admin
ob> lsuser
admin            admin
sbt              admin
tadmin           admin
ob> logout
% obtool
Oracle Secure Backup 10.2
login: sbt
ob> id
sbt