Difference between revisions of "SQWareProduction:ingres: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    ${INGRES_SID}          (dbsqware GPL v3)\033\\'"
+
put => "echo $lvsqw_EchoOpt '\033]0;${gvsqw_UserExec}@$gvsqw_Hostname    ${INGRES_SID}          (dbSQWare 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'
  top => '/usr/local/bin/top'
+
top => '/usr/local/bin/top'
  cls => 'clear'
+
cls => 'clear'
  l => 'ls -l'
+
l => 'ls -l'
  lrt => 'ls -rtl'
+
lrt => 'ls -rtl'
  p => 'pwd'
+
p => 'pwd'
  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"'
  dmp => 'cd $gvsqw_RootDump; ls -al';
+
dmp => 'cd $gvsqw_RootDump; ls -al';
  ckp => 'cd $gvsqw_RootCkpdb; ls -al';
+
ckp => 'cd $gvsqw_RootCkpdb; ls -al';
  jnl => 'cd $gvsqw_RootJnl; ls -al';
+
jnl => 'cd $gvsqw_RootJnl; ls -al';
  bck => 'cd $gvsqw_RootBck; ls -al';
+
bck => 'cd $gvsqw_RootBck; ls -al';
  dbf => 'cd $gvsqw_RootDbf; ls -al';
+
dbf => 'cd $gvsqw_RootDbf; ls -al';
  err => "cd $(ingprenv II_CONFIG); ls -al";
+
err => "cd $(ingprenv II_CONFIG); ls -al";
  bin => 'cd $gvsqw_IngBin; ls -al';
+
bin => 'cd $gvsqw_IngBin; ls -al';
  lib => 'cd $gvsqw_IngBin/../lib; ls -al';
+
lib => 'cd $gvsqw_IngBin/../lib; ls -al';
  men => 'cd $gvsqw_IngBin/../menu; ls -al';
+
men => 'cd $gvsqw_IngBin/../menu; ls -al';
  too => 'cd $gvsqw_IngBin/../tools; ls -al';
+
too => 'cd $gvsqw_IngBin/../tools; ls -al';
  etc => 'cd $gvsqw_IngBin/../etc; ls -al';
+
etc => 'cd $gvsqw_IngBin/../etc; ls -al';
  cbin => 'cd $gvsqw_IngBin/../bin_cust; ls -al';
+
cbin => 'cd $gvsqw_IngBin/../bin_cust; ls -al';
  clib => 'cd $gvsqw_IngBin/../lib_cust; ls -al';
+
clib => 'cd $gvsqw_IngBin/../lib_cust; ls -al';
  cmen => 'cd $gvsqw_IngBin/../menu_cust; ls -al';
+
cmen => 'cd $gvsqw_IngBin/../menu_cust; ls -al';
  ctoo => 'cd $gvsqw_IngBin/../tools_cust; ls -al';
+
ctoo => 'cd $gvsqw_IngBin/../tools_cust; ls -al';
  cetc => 'cd $gvsqw_IngBin/../etc_cust; ls -al';
+
cetc => 'cd $gvsqw_IngBin/../etc_cust; ls -al';
  hlp => 'cd $gvsqw_IngBin/../help; ls -al';
+
hlp => 'cd $gvsqw_IngBin/../help; ls -al';
  chlp => 'cd $gvsqw_IngBin/../help_cust; ls -al';
+
chlp => 'cd $gvsqw_IngBin/../help_cust; ls -al';
  cfg => 'cd $gvsqw_RootCfg; ls -al';
+
e => '. $gvsqw_IngBin/../tools/sqwing_SetEnv.ksh'
  log => 'cd $gvsqw_RootAdmin/logs; ls -ltr';
+
cfg => 'cd $gvsqw_RootCfg; ls -al';
  tmp => 'cd $gvsqw_RootAdmin/tmp; ls -ltr';
+
log => 'cd $gvsqw_RootAdmin/logs; ls -ltr';
 +
tmp => 'cd $gvsqw_RootAdmin/tmp; ls -ltr';
 
</pre>
 
</pre>
 
<br>
 
<br>

Revision as of 23:39, 22 December 2010

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

Alias explanation:

	 echo => 'echo -e'
 put => "echo $lvsqw_EchoOpt '\033]0;${gvsqw_UserExec}@$gvsqw_Hostname     ${INGRES_SID}          (dbSQWare GPL v3)\033\\'"
 erase => 'stty erase ^H'
 so => 'set -o emacs'
 h => 'history -100'
 ll => 'ls -al'
 lt => 'ls -altr'
 top => '/usr/local/bin/top'
 cls => 'clear'
 l => 'ls -l'
 lrt => 'ls -rtl'
 p => 'pwd'
 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"'
 dmp => 'cd $gvsqw_RootDump; ls -al';
 ckp => 'cd $gvsqw_RootCkpdb; ls -al';
 jnl => 'cd $gvsqw_RootJnl; ls -al';
 bck => 'cd $gvsqw_RootBck; ls -al';
 dbf => 'cd $gvsqw_RootDbf; ls -al';
 err => "cd $(ingprenv II_CONFIG); ls -al";
 bin => 'cd $gvsqw_IngBin; ls -al';
 lib => 'cd $gvsqw_IngBin/../lib; ls -al';
 men => 'cd $gvsqw_IngBin/../menu; ls -al';
 too => 'cd $gvsqw_IngBin/../tools; ls -al';
 etc => 'cd $gvsqw_IngBin/../etc; ls -al';
 cbin => 'cd $gvsqw_IngBin/../bin_cust; ls -al';
 clib => 'cd $gvsqw_IngBin/../lib_cust; ls -al';
 cmen => 'cd $gvsqw_IngBin/../menu_cust; ls -al';
 ctoo => 'cd $gvsqw_IngBin/../tools_cust; ls -al';
 cetc => 'cd $gvsqw_IngBin/../etc_cust; ls -al';
 hlp => 'cd $gvsqw_IngBin/../help; ls -al';
 chlp => 'cd $gvsqw_IngBin/../help_cust; ls -al';
 e => '. $gvsqw_IngBin/../tools/sqwing_SetEnv.ksh'
 cfg => 'cd $gvsqw_RootCfg; ls -al';
 log => 'cd $gvsqw_RootAdmin/logs; ls -ltr';
 tmp => 'cd $gvsqw_RootAdmin/tmp; ls -ltr';