Difference between revisions of "SQWareProduction:oracle:etc:.profile confort"

From Wiki_dbSQWare
Jump to: navigation, search
m (Updated by Expdbtools)
m (Updated by Expdbtools)
Line 4: Line 4:
 
Alias explanation:
 
Alias explanation:
 
<pre>
 
<pre>
  echo => 'echo -e'
+
echo => 'echo -e'
  put => "echo $lvsqw_EchoOpt '\033]0;${gvsqw_UserExec}@$gvsqw_Hostname    ${ORACLE_SID}          (expdbTools v$gvsqw_EdtVersion GPL v3)\033\\'"
+
put => "echo $lvsqw_EchoOpt '\033]0;${gvsqw_UserExec}@$gvsqw_Hostname    ${ORACLE_SID}          (dbSQWare v$gvsqw_EdtVersion GPL v3)\033\\'"
  erase => 'stty erase ^H'
+
erase => 'stty erase ^H'
  so => 'set -o emacs'
+
so => 'set -o emacs'
  h => 'history -100'
+
h => 'history -100'
  ll => 'ls -al'
+
ll => 'ls -al'
  lt => 'ls -altr'
+
lt => 'ls -altr'
  menu_rman => "$gvsqw_OraBin/../menu/sqwora_MenuRman.ksh"
+
menu_rman => "$gvsqw_OraBin/../menu/sqwora_MenuRman.ksh"
  edtarchmon => "$gvsqw_OraBin/sqwora_SqwArchmon.ksh"
+
edtarchmon => "$gvsqw_OraBin/sqwora_SqwArchmon.ksh"
  SqwArchmon => "$gvsqw_OraBin/sqwora_SqwArchmon.ksh"
+
SqwArchmon => "$gvsqw_OraBin/sqwora_SqwArchmon.ksh"
  spm => "$gvsqw_OraBin/../tools/sqwora_Spm.ksh"
+
spm => "$gvsqw_OraBin/../tools/sqwora_Spm.ksh"
  sg => 'size=$(du -sk .|cut -f1);((size=size/1024/1024));echo "$size Go";date +"%d/%m/%Y %H:%M:%S"'
+
sg => 'size=$(du -sk .|cut -f1);((size=size/1024/1024));echo "$size Go";date +"%d/%m/%Y %H:%M:%S"'
  sm => 'size=$(du -sk .|cut -f1);((size=size/1024));echo "$size Mo";date +"%d/%m/%Y %H:%M:%S"'
+
sm => 'size=$(du -sk .|cut -f1);((size=size/1024));echo "$size Mo";date +"%d/%m/%Y %H:%M:%S"'
  rma => 'cd $gvsqw_RootRman; ls -al';
+
rma => 'cd $gvsqw_RootRman; ls -al';
  arc => 'cd $gvsqw_RootArch; ls -al';
+
arc => 'cd $gvsqw_RootArch; ls -al';
  dmp => 'cd $gvsqw_RootExp; ls -al';
+
dmp => 'cd $gvsqw_RootExp; ls -al';
  cfg => 'cd $gvsqw_RootCfg; ls -al';
+
cfg => 'cd $gvsqw_RootCfg; ls -al';
  cre => 'cd $gvsqw_RootAdmin/create; ls -al';
+
cre => 'cd $gvsqw_RootAdmin/create; ls -al';
  log => 'cd $gvsqw_RootAdmin/logs; ls -ltr';
+
log => 'cd $gvsqw_RootAdmin/logs; ls -ltr';
  tmp => 'cd $gvsqw_RootAdmin/tmp; ls -ltr';
+
tmp => 'cd $gvsqw_RootAdmin/tmp; ls -ltr';
  adump => 'cd $gvsqw_RootAdmin/adump; ls -ltr';
+
adump => 'cd $gvsqw_RootAdmin/adump; ls -ltr';
  bdump => 'cd $gvsqw_RootAdmin/bdump; ls -ltr';
+
bdump => 'cd $gvsqw_RootAdmin/bdump; ls -ltr';
  cdump => 'cd $gvsqw_RootAdmin/cdump; ls -ltr';
+
cdump => 'cd $gvsqw_RootAdmin/cdump; ls -ltr';
  ddump => 'cd $gvsqw_RootAdmin/ddump; ls -ltr';
+
ddump => 'cd $gvsqw_RootAdmin/ddump; ls -ltr';
  udump => 'cd $gvsqw_RootAdmin/udump; ls -ltr';
+
udump => 'cd $gvsqw_RootAdmin/udump; ls -ltr';
  dbf => 'cd $gvsqw_RootDbf; ls -al';
+
dbf => 'cd $gvsqw_RootDbf; ls -al';
  bin => 'cd $gvsqw_OraBin; ls -al';
+
bin => 'cd $gvsqw_OraBin; ls -al';
  lib => 'cd $gvsqw_OraBin/../lib; ls -al';
+
lib => 'cd $gvsqw_OraBin/../lib; ls -al';
  men => 'cd $gvsqw_OraBin/../menu; ls -al';
+
men => 'cd $gvsqw_OraBin/../menu; ls -al';
  too => 'cd $gvsqw_OraBin/../tools; ls -al';
+
too => 'cd $gvsqw_OraBin/../tools; ls -al';
  etc => 'cd $gvsqw_OraBin/../etc; ls -al';
+
etc => 'cd $gvsqw_OraBin/../etc; ls -al';
  cbin => 'cd $gvsqw_OraBin/../bin_cust; ls -al';
+
cbin => 'cd $gvsqw_OraBin/../bin_cust; ls -al';
  clib => 'cd $gvsqw_OraBin/../lib_cust; ls -al';
+
clib => 'cd $gvsqw_OraBin/../lib_cust; ls -al';
  cmen => 'cd $gvsqw_OraBin/../menu_cust; ls -al';
+
cmen => 'cd $gvsqw_OraBin/../menu_cust; ls -al';
  ctoo => 'cd $gvsqw_OraBin/../tools_cust; ls -al';
+
ctoo => 'cd $gvsqw_OraBin/../tools_cust; ls -al';
  cetc => 'cd $gvsqw_OraBin/../etc_cust; ls -al';
+
cetc => 'cd $gvsqw_OraBin/../etc_cust; ls -al';
  hlp => 'cd $gvsqw_OraBin/../help; ls -al';
+
hlp => 'cd $gvsqw_OraBin/../help; ls -al';
  chlp => 'cd $gvsqw_OraBin/../help_cust; ls -al';
+
chlp => 'cd $gvsqw_OraBin/../help_cust; ls -al';
  ob => 'cd $ORACLE_BASE; ls -al';
+
ob => 'cd $ORACLE_BASE; ls -al';
  oh => 'cd $ORACLE_HOME; ls -al';
+
oh => 'cd $ORACLE_HOME; ls -al';
  dbs => 'cd $ORACLE_HOME/dbs; ls -al';
+
dbs => 'cd $ORACLE_HOME/dbs; ls -al';
  tns => 'cd $ORACLE_HOME/network/admin; ls -al';
+
tns => 'cd $ORACLE_HOME/network/admin; ls -al';
  e => '. $gvsqw_OraBin/../tools/sqwora_SetEnv.ksh'
+
e => '. $gvsqw_OraBin/../tools/sqwora_SetEnv.ksh'
  psid => 'ps -fu $(id | cut -d\) -f1 | cut -d\( -f2)'
+
psid => 'ps -fu $(id | cut -d\) -f1 | cut -d\( -f2)'
 
</pre>
 
</pre>
 
<br>
 
<br>

Revision as of 23:40, 22 December 2010

File to put aliases $gvsqw_OraBin/../etc/.profile_confort:
Contains confort aliases of SQWareProduction for RDBMS oracle.

Alias explanation:

	 echo => 'echo -e'
 put => "echo $lvsqw_EchoOpt '\033]0;${gvsqw_UserExec}@$gvsqw_Hostname     ${ORACLE_SID}          (dbSQWare v$gvsqw_EdtVersion GPL v3)\033\\'"
 erase => 'stty erase ^H'
 so => 'set -o emacs'
 h => 'history -100'
 ll => 'ls -al'
 lt => 'ls -altr'
 menu_rman => "$gvsqw_OraBin/../menu/sqwora_MenuRman.ksh"
 edtarchmon => "$gvsqw_OraBin/sqwora_SqwArchmon.ksh"
 SqwArchmon => "$gvsqw_OraBin/sqwora_SqwArchmon.ksh"
 spm => "$gvsqw_OraBin/../tools/sqwora_Spm.ksh"
 sg => 'size=$(du -sk .|cut -f1);((size=size/1024/1024));echo "$size Go";date +"%d/%m/%Y %H:%M:%S"'
 sm => 'size=$(du -sk .|cut -f1);((size=size/1024));echo "$size Mo";date +"%d/%m/%Y %H:%M:%S"'
 rma => 'cd $gvsqw_RootRman; ls -al';
 arc => 'cd $gvsqw_RootArch; ls -al';
 dmp => 'cd $gvsqw_RootExp; ls -al';
 cfg => 'cd $gvsqw_RootCfg; ls -al';
 cre => 'cd $gvsqw_RootAdmin/create; ls -al';
 log => 'cd $gvsqw_RootAdmin/logs; ls -ltr';
 tmp => 'cd $gvsqw_RootAdmin/tmp; ls -ltr';
 adump => 'cd $gvsqw_RootAdmin/adump; ls -ltr';
 bdump => 'cd $gvsqw_RootAdmin/bdump; ls -ltr';
 cdump => 'cd $gvsqw_RootAdmin/cdump; ls -ltr';
 ddump => 'cd $gvsqw_RootAdmin/ddump; ls -ltr';
 udump => 'cd $gvsqw_RootAdmin/udump; ls -ltr';
 dbf => 'cd $gvsqw_RootDbf; ls -al';
 bin => 'cd $gvsqw_OraBin; ls -al';
 lib => 'cd $gvsqw_OraBin/../lib; ls -al';
 men => 'cd $gvsqw_OraBin/../menu; ls -al';
 too => 'cd $gvsqw_OraBin/../tools; ls -al';
 etc => 'cd $gvsqw_OraBin/../etc; ls -al';
 cbin => 'cd $gvsqw_OraBin/../bin_cust; ls -al';
 clib => 'cd $gvsqw_OraBin/../lib_cust; ls -al';
 cmen => 'cd $gvsqw_OraBin/../menu_cust; ls -al';
 ctoo => 'cd $gvsqw_OraBin/../tools_cust; ls -al';
 cetc => 'cd $gvsqw_OraBin/../etc_cust; ls -al';
 hlp => 'cd $gvsqw_OraBin/../help; ls -al';
 chlp => 'cd $gvsqw_OraBin/../help_cust; ls -al';
 ob => 'cd $ORACLE_BASE; ls -al';
 oh => 'cd $ORACLE_HOME; ls -al';
 dbs => 'cd $ORACLE_HOME/dbs; ls -al';
 tns => 'cd $ORACLE_HOME/network/admin; ls -al';
 e => '. $gvsqw_OraBin/../tools/sqwora_SetEnv.ksh'
 psid => 'ps -fu $(id | cut -d\) -f1 | cut -d\( -f2)'