SQWareProduction:generic:etc:.profile confort

From Wiki_dbSQWare
Revision as of 18:32, 22 December 2017 by BatchUser (talk | contribs) (Updated by BatchUser)
Jump to: navigation, search

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

Alias explanation:

 put => "echo $lvsqw_EchoOpt '\033]0;${gvsqw_UserExec}@$gvsqw_Hostname      $gvsqw_Env     ${gvsqw_DbAlias}          (dbSQWare v$gvsqw_SqwVersion)\033\\'"
 erase => 'stty erase ^H'
 so => 'set -o emacs'
 h => 'history -100'
 ll => 'ls -al'
 lt => 'ls -altr'
 cls => 'clear'
 sg => 'size=$(du -sk .|cut -f1);((size=size/1024/1024));echo "$size Go";date +"%Y-%m-%d %H:%M:%S"'
 sm => 'size=$(du -sk .|cut -f1);((size=size/1024));echo "$size Mo";date +"%Y-%m-%d %H:%M:%S"'
 log => "cd $gvsqw_RootAdmin/logs; ls -ltr"