Difference between revisions of "SQWareProduction:sybase: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    ${DSQUERY}          (expdbTools v$gvsqw_EdtVersion GPL v3)\033\\'"
+
put => "echo $lvsqw_EchoOpt '\033]0;${gvsqw_UserExec}@$gvsqw_Hostname    ${DSQUERY}          (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'
  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"'
  spm => '$gvsqw_SybBin/../tools/sqwsyb_Spm.ksh';
+
spm => '$gvsqw_SybBin/../tools/sqwsyb_Spm.ksh';
  bin => 'cd $gvsqw_SybBin; ls -al';
+
bin => 'cd $gvsqw_SybBin; ls -al';
  lib => 'cd $gvsqw_SybBin/../lib; ls -al';
+
lib => 'cd $gvsqw_SybBin/../lib; ls -al';
  men => 'cd $gvsqw_SybBin/../menu; ls -al';
+
men => 'cd $gvsqw_SybBin/../menu; ls -al';
  too => 'cd $gvsqw_SybBin/../tools; ls -al';
+
too => 'cd $gvsqw_SybBin/../tools; ls -al';
  etc => 'cd $gvsqw_SybBin/../etc; ls -al';
+
etc => 'cd $gvsqw_SybBin/../etc; ls -al';
  cbin => 'cd $gvsqw_SybBin/../bin_cust; ls -al';
+
cbin => 'cd $gvsqw_SybBin/../bin_cust; ls -al';
  clib => 'cd $gvsqw_SybBin/../lib_cust; ls -al';
+
clib => 'cd $gvsqw_SybBin/../lib_cust; ls -al';
  cmen => 'cd $gvsqw_SybBin/../menu_cust; ls -al';
+
cmen => 'cd $gvsqw_SybBin/../menu_cust; ls -al';
  ctoo => 'cd $gvsqw_SybBin/../tools_cust; ls -al';
+
ctoo => 'cd $gvsqw_SybBin/../tools_cust; ls -al';
  cetc => 'cd $gvsqw_SybBin/../etc_cust; ls -al';
+
cetc => 'cd $gvsqw_SybBin/../etc_cust; ls -al';
  hlp => 'cd $gvsqw_SybBin/../help; ls -al';
+
hlp => 'cd $gvsqw_SybBin/../help; ls -al';
  chlp => 'cd $gvsqw_SybBin/../help_cust; ls -al';
+
chlp => 'cd $gvsqw_SybBin/../help_cust; ls -al';
  dmp => 'cd $gvsqw_RootDump; ls -al';
+
e => '. $gvsqw_SybBin/../tools/sqwsyb_SetEnv.ksh'
  cfg => 'cd $gvsqw_RootCfg; ls -al';
+
dmp => 'cd $gvsqw_RootDump; ls -al';
  log => 'cd $gvsqw_RootAdmin/logs; ls -ltr';
+
cfg => 'cd $gvsqw_RootCfg; ls -al';
  dev => 'cd $gvsqw_RootDev; ls -al';
+
log => 'cd $gvsqw_RootAdmin/logs; ls -ltr';
 +
dev => 'cd $gvsqw_RootDev; ls -al';
 
</pre>
 
</pre>
 
<br>
 
<br>

Revision as of 23:40, 22 December 2010

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

Alias explanation:

	 echo => 'echo -e'
 put => "echo $lvsqw_EchoOpt '\033]0;${gvsqw_UserExec}@$gvsqw_Hostname     ${DSQUERY}          (dbSQWare v$gvsqw_EdtVersion GPL v3)\033\\'"
 erase => 'stty erase ^H'
 so => 'set -o emacs'
 h => 'history -100'
 ll => 'ls -al'
 lt => 'ls -altr'
 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"'
 spm => '$gvsqw_SybBin/../tools/sqwsyb_Spm.ksh';
 bin => 'cd $gvsqw_SybBin; ls -al';
 lib => 'cd $gvsqw_SybBin/../lib; ls -al';
 men => 'cd $gvsqw_SybBin/../menu; ls -al';
 too => 'cd $gvsqw_SybBin/../tools; ls -al';
 etc => 'cd $gvsqw_SybBin/../etc; ls -al';
 cbin => 'cd $gvsqw_SybBin/../bin_cust; ls -al';
 clib => 'cd $gvsqw_SybBin/../lib_cust; ls -al';
 cmen => 'cd $gvsqw_SybBin/../menu_cust; ls -al';
 ctoo => 'cd $gvsqw_SybBin/../tools_cust; ls -al';
 cetc => 'cd $gvsqw_SybBin/../etc_cust; ls -al';
 hlp => 'cd $gvsqw_SybBin/../help; ls -al';
 chlp => 'cd $gvsqw_SybBin/../help_cust; ls -al';
 e => '. $gvsqw_SybBin/../tools/sqwsyb_SetEnv.ksh'
 dmp => 'cd $gvsqw_RootDump; ls -al';
 cfg => 'cd $gvsqw_RootCfg; ls -al';
 log => 'cd $gvsqw_RootAdmin/logs; ls -ltr';
 dev => 'cd $gvsqw_RootDev; ls -al';