SQWareProduction:generic:etc:.profile confort : Différence entre versions
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
Ligne 4 : | Ligne 4 : | ||
Explication des alias: | Explication des alias: | ||
<pre> | <pre> | ||
− | put => "echo $ | + | put => "echo $gvsqw_EchoOpt '\033]0;${gvsqw_UserExec}@$gvsqw_Hostname $gvsqw_Env ${gvsqw_DbAlias} (dbSQWare v$gvsqw_SqwVersion / $gvsqw_SqwVersionDbms)\033\\'" |
erase => 'stty erase ^H' | erase => 'stty erase ^H' | ||
so => 'set -o emacs' | so => 'set -o emacs' | ||
Ligne 11 : | Ligne 11 : | ||
lt => 'ls -altr' | lt => 'ls -altr' | ||
cls => 'clear' | cls => 'clear' | ||
− | sg => 'size=$(du -sk .|cut -f1);((size=size/1024/1024));echo "$size Go";date +"%Y-%m-%d %H:%M:%S"' | + | sg => 'size=$(du -sk .|cut -f1);((size=size/1024/1024));echo $gvsqw_EchoOpt "$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"' | + | sm => 'size=$(du -sk .|cut -f1);((size=size/1024));echo $gvsqw_EchoOpt "$size Mo";date +"%Y-%m-%d %H:%M:%S"' |
log => "cd $gvsqw_RootAdmin/logs; ls -ltr" | log => "cd $gvsqw_RootAdmin/logs; ls -ltr" | ||
</pre> | </pre> | ||
<br> | <br> |
Version actuelle datée du 27 septembre 2021 à 20:25
Fichier pour mettre les aliases $gvsqw_GenBin/../etc/.profile_confort:
Contenu des aliases de confort de SQWareProduction pour generic.
Explication des alias:
put => "echo $gvsqw_EchoOpt '\033]0;${gvsqw_UserExec}@$gvsqw_Hostname $gvsqw_Env ${gvsqw_DbAlias} (dbSQWare v$gvsqw_SqwVersion / $gvsqw_SqwVersionDbms)\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 $gvsqw_EchoOpt "$size Go";date +"%Y-%m-%d %H:%M:%S"' sm => 'size=$(du -sk .|cut -f1);((size=size/1024));echo $gvsqw_EchoOpt "$size Mo";date +"%Y-%m-%d %H:%M:%S"' log => "cd $gvsqw_RootAdmin/logs; ls -ltr"