-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathosql.1
77 lines (65 loc) · 1.69 KB
/
osql.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
.\" <rcs id>
.TH osql 1 "January 20, 2013" "Dennis Koegel" "OSQL - Oracle DBA shell"
.SH NAME
.B osql
- Oracle DBA shell
.SH SYNOPSIS
.B osql
.SH DESCRIPTION
.B osql
is an Oracle command-line interface alternative to the stock
.B sqlplus
shell.
.PP
Especially "modern" UNIX conveniences like
.B readline
input and dynamic output formatting are the main focus. Furthermore,
.B osql
is aimed at DBAs and provides several shortcuts for common tasks.
.PP
Functionality for normal users may be implemented later, but currently
is not the primary goal. Currently, it's not even possible to logon
as user (i.e., without preliminary or SYSDBA authentication).
.PP
.B osql
works interactively only. This will change to support input from
files and
.I stdin
later.
.SH OPTIONS
No options.
.SH "INTERNAL COMMANDS"
The interactive shell recognizes several internal commands, e.g.
.B SHUTDOWN
and several aliases for DBA-centric SQL commands. Use
.B \e?
at the interactive prompt to get a complete list.
.SH FILES
.IP "$HOME/.osql_history"
Location to store
.BR readline 's
command history.
.SH "WRAPPER SCRIPT"
.B osql
is actually a shell wrapper script that tries to guess a sensible
.I LD_LIBRARY_PATH
and then calls
.BR osql.bin ,
the actual binary.
.SH ENVIRONMENT
.IP ORACLE_HOME
The wrapper script uses
.I ORACLE_HOME
to determine the appropriate
.I LD_LIBRARY_PATH
to use when starting
.BR osql .
The actual binary uses the standard Oracle Client library, which uses
.I ORACLE_HOME
for establishing the Oracle connection or, in the case of preliminary
authentication, to locate files necessary for startup.
.IP ORACLE_SID
Used to indicate which SID shall be connected to.
.SH AUTHOR
Dennis Koegel,
.IR "<[email protected]>" .