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

From Wiki_dbSQWare
Jump to: navigation, search
m (Updated by Expdbtools)
 
m (Updated by Expdbtools)
Line 1: Line 1:
Fichier de positionnement d'alias $gvsqw_MssBin/../etc/.profile_confort:<br>
+
File to put aliases $gvsqw_MssBin/../etc/.profile_confort:<br>
 +
Contains confort aliases of SQWareProduction for RDBMS mssql.<br>
 +
<br>
 +
Alias explanation:
 +
<pre>
 
  echo => 'echo -e'
 
  echo => 'echo -e'
   put => "echo $lvsqw_EchoOpt '\033]0;${USER}@$gvsqw_Hostname    ${lvsqw_InstanceParam}          (dbsqware GPL v3)\033\\'"
+
   put => "echo $lvsqw_EchoOpt '\033]0;${gvsqw_UserExec}@$gvsqw_Hostname    ${lvsqw_InstanceParam}          (expdbTools v$gvsqw_EdtVersion GPL v3)\033\\'"
 
   erase => 'stty erase ^H'
 
   erase => 'stty erase ^H'
 
   so => 'set -o emacs'
 
   so => 'set -o emacs'
Line 28: Line 32:
 
   ctoo => 'cd $gvsqw_MsqBin/../tools_cust; ls -al'
 
   ctoo => 'cd $gvsqw_MsqBin/../tools_cust; ls -al'
 
   cetc => 'cd $gvsqw_MsqBin/../etc_cust; ls -al'
 
   cetc => 'cd $gvsqw_MsqBin/../etc_cust; ls -al'
 +
  hlp => 'cd $gvsqw_MsqBin/../help; ls -al';
 +
  chlp => 'cd $gvsqw_MsqBin/../help_cust; ls -al';
 
   e => '. ~/.profile'
 
   e => '. ~/.profile'
 
   cfg => 'cd $gvsqw_RootCfg; ls -al'
 
   cfg => 'cd $gvsqw_RootCfg; ls -al'
Line 34: Line 40:
 
   pass => 'ls -l $gvsqw_MssqlPassFile'
 
   pass => 'ls -l $gvsqw_MssqlPassFile'
 
   CFG => 'ls -l $FREETDSCONF $FREETDS'
 
   CFG => 'ls -l $FREETDSCONF $FREETDS'
 +
</pre>
 
<br>
 
<br>

Revision as of 23:26, 15 December 2010

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

Alias explanation:

	  echo => 'echo -e'
  put => "echo $lvsqw_EchoOpt '\033]0;${gvsqw_UserExec}@$gvsqw_Hostname     ${lvsqw_InstanceParam}          (expdbTools v$gvsqw_EdtVersion 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'
un  rm 2>/dev/null
un  cp 2>/dev/null
un  mv 2>/dev/null
un  ls 2>/dev/null
  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"'
  bin => 'cd $gvsqw_MsqBin; ls -al'
  lib => 'cd $gvsqw_MsqBin/../lib; ls -al'
  men => 'cd $gvsqw_MsqBin/../menu; ls -al'
  too => 'cd $gvsqw_MsqBin/../tools; ls -al'
  etc => 'cd $gvsqw_MsqBin/../etc; ls -al'
  cbin => 'cd $gvsqw_MsqBin/../bin_cust; ls -al'
  clib => 'cd $gvsqw_MsqBin/../lib_cust; ls -al'
  cmen => 'cd $gvsqw_MsqBin/../menu_cust; ls -al'
  ctoo => 'cd $gvsqw_MsqBin/../tools_cust; ls -al'
  cetc => 'cd $gvsqw_MsqBin/../etc_cust; ls -al'
  hlp => 'cd $gvsqw_MsqBin/../help; ls -al';
  chlp => 'cd $gvsqw_MsqBin/../help_cust; ls -al';
  e => '. ~/.profile'
  cfg => 'cd $gvsqw_RootCfg; ls -al'
  log => 'cd $gvsqw_RootAdmin/logs; ls -ltr'
  tmp => 'cd $gvsqw_RootAdmin/tmp; ls -ltr'
  pass => 'ls -l $gvsqw_MssqlPassFile'
  CFG => 'ls -l $FREETDSCONF $FREETDS'