whereami
Package: WA2L/edrc 1.5.57
Section: General Commands (1)
Updated: 24 January 2009
Index
Return to Main Contents
NAME
whereami - print server environment/system information
SYNOPSIS
edrc/bin/whereami
[
-h
]
whereami
[
-l
] [
-u username
]
AVAILABILITY
WA2L/edrc
DESCRIPTION
print the server environment name and the name of the related
customer where logged on.
In addition the
structured user definition information of the current user can be
printed.
This command is intended for interactive human information.
Basically to display where logged on. To compute this
information in other scripts, use the
server_environment(3)
and/or the
user_info(3)
command.
OPTIONS
- -h
-
usage message.
- -l
-
long output. The long output extends the normal output with
the user account information details.
- -u username
-
name of the user account whose detail information should be
printed if the information of a user account that differs from the
user that executes the
whereami
command.
ENVIRONMENT
-
EXIT STATUS
- 0
-
no error.
- 2
-
operating system is not supported, yet. See
osid(3)
if you get this error.
- 4
-
usage printed.
FILES
-
EXAMPLES
- 1) common usage
-
The following output is returned when logged on to a system
that is used as part of the
PRODUCTION
environment for the customer
ACME.
[ / ]
[ jdoe@acme001 ][bash]: whereami
LOGGED ON TO SERVER ENVIRONMENT:
Customer : ACME
Environment : PRODUCTION
Description : ACME Corp. Production, Switzerland
SEE ALSO
edrcintro(1),
server_environment(3),
user_info(3)
NOTES
-
BUGS
-
AUTHOR
whereami was developed by Christian Walther. Send suggestions
and bug reports to wa2l@users.sourceforge.net .
COPYRIGHT
Copyright © 2009
Christian Walther
This is free software; see
edrc/doc/COPYING
for copying conditions. There is ABSOLUTELY NO WARRANTY; not
even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This document was created by man2html
using the manual pages.
Time: 16:55:06 GMT, August 28, 2024