Skip to content

Commit 4447e5b

Browse files
committed
Create oracle_aliases.sh
1 parent 50d4c86 commit 4447e5b

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

oracle_aliases.sh

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# oracle_aliases.sh
2+
# Copyright (C) 2004, 2013 Sean Scott [email protected]
3+
4+
# This program is free software; you can redistribute it and/or modify
5+
# it under the terms of the GNU General Public License as published by
6+
# the Free Software Foundation; either version 2 of the License, or
7+
# (at your option) any later version.
8+
9+
# This program is distributed in the hope that it will be useful,
10+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
# GNU General Public License for more details.
13+
14+
# You should have received a copy of the GNU General Public License along
15+
# with this program; if not, write to the Free Software Foundation, Inc.,
16+
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17+
18+
# Useful aliases for working with Oracle databases
19+
alias goalert="cd /oracle/diag/$INST_TYPE/$ORACLE_DBNAME/$ORACLE_SID/trace"
20+
alias goinit="cd $ORACLE_HOME/dbs"
21+
alias gotns="cd $ORACLE_HOME/network/admin"
22+
alias h="fc -l"
23+
alias ll="ls -latr"
24+
alias psg="ps -ef|grep"
25+
alias sqlasm='sqlplus "/as sysasm"'

0 commit comments

Comments
 (0)