SQWareProduction:db2:etc:.profile confort

From Wiki_dbSQWare
Revision as of 22:19, 17 December 2012 by BatchUser (talk | contribs) (Updated by BatchUser)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

Alias explanation:

 put => "echo $lvsqw_EchoOpt '\033]0;${gvsqw_UserExec}@$gvsqw_Hostname      $gvsqw_Env     ${DB2INSTANCE}          (dbSQWare 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'
 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_RootBackup; ls -al';
 dbf => 'cd $gvsqw_RootDbf; ls -al';
 bin => 'cd $gvsqw_Db2Bin; ls -al';
 lib => 'cd $gvsqw_Db2Bin/../lib; ls -al';
 men => 'cd $gvsqw_Db2Bin/../menu; ls -al';
 too => 'cd $gvsqw_Db2Bin/../tools; ls -al';
 etc => 'cd $gvsqw_Db2Bin/../etc; ls -al';
 cbin => 'cd $gvsqw_Db2Bin/../bin_cust; ls -al';
 clib => 'cd $gvsqw_Db2Bin/../lib_cust; ls -al';
 cmen => 'cd $gvsqw_Db2Bin/../menu_cust; ls -al';
 ctoo => 'cd $gvsqw_Db2Bin/../tools_cust; ls -al';
 cetc => 'cd $gvsqw_Db2Bin/../etc_cust; ls -al';
 hlp => 'cd $gvsqw_Db2Bin/../help; ls -al';
 chlp => 'cd $gvsqw_Db2Bin/../help_cust; ls -al';
 e => '. $gvsqw_Db2Bin/../tools/sqwdb2_SetEnv.ksh'
 cfg => 'cd $gvsqw_RootCfg; ls -al';
 log => 'cd $gvsqw_RootAdmin/logs; ls -ltr';
 tmp => 'cd $gvsqw_RootAdmin/tmp; ls -ltr';