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

From Wiki_dbSQWare
Jump to: navigation, search
m (Updated by BatchUser)
 
m (Updated by BatchUser)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
File to put aliases $gvsqw_GenBin/../etc/.profile_confort:<br>
 
File to put aliases $gvsqw_GenBin/../etc/.profile_confort:<br>
Contains confort aliases of SQWareProduction for RDBMS generic.<br>
+
Contains confort aliases of SQWareProduction for generic.<br>
 
<br>
 
<br>
 
Alias explanation:
 
Alias explanation:
 
<pre>
 
<pre>
  put => "echo $lvsqw_EchoOpt '\033]0;${gvsqw_UserExec}@$gvsqw_Hostname      $gvsqw_Env    ${gvsqw_DbAlias}          (dbSQWare v$gvsqw_SqwVersion GPL v3)\033\\'"
+
  p_cms => 'PS1="$PS1_cms"'
 +
p_cml => 'PS1="$PS1_cml"'
 +
p_c2s => 'PS1="$PS1_c2s"'
 +
p_c2l => 'PS1="$PS1_c2l"'
 +
p_cos => 'PS1="$PS1_cos"'
 +
p_col => 'PS1="$PS1_col"'
 +
p_bms => 'PS1="$PS1_bms"'
 +
p_bml => 'PS1="$PS1_bml"'
 +
p_b2s => 'PS1="$PS1_b2s"'
 +
p_b2l => 'PS1="$PS1_b2l"'
 +
p_bos => 'PS1="$PS1_bos"'
 +
p_bol => 'PS1="$PS1_bol"'
 
  erase => 'stty erase ^H'
 
  erase => 'stty erase ^H'
 
  so => 'set -o emacs'
 
  so => 'set -o emacs'
  h => 'history -100'
+
  h => 'history'
 +
ht => 'HISTTIMEFORMAT="%Y-%m-%d %T ";history;unset HISTTIMEFORMAT'
 
  ll => 'ls -al'
 
  ll => 'ls -al'
 
  lt => 'ls -altr'
 
  lt => 'ls -altr'
 
  cls => 'clear'
 
  cls => 'clear'
  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 $gvsqw_EchoOpt "$size Go";date +"%Y-%m-%d %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 $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"
 +
p_cms => 'PS1="$PS1_cms"'
 +
p_cml => 'PS1="$PS1_cml"'
 +
p_c2s => 'PS1="$PS1_c2s"'
 +
p_c2l => 'PS1="$PS1_c2l"'
 +
p_cos => 'PS1="$PS1_cos"'
 +
p_col => 'PS1="$PS1_col"'
 +
p_bms => 'PS1="$PS1_bms"'
 +
p_bml => 'PS1="$PS1_bml"'
 +
p_b2s => 'PS1="$PS1_b2s"'
 +
p_b2l => 'PS1="$PS1_b2l"'
 +
p_bos => 'PS1="$PS1_bos"'
 +
p_bol => 'PS1="$PS1_bol"'
 
</pre>
 
</pre>
 
<br>
 
<br>

Latest revision as of 23:21, 2 March 2025

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

Alias explanation:

 p_cms => 'PS1="$PS1_cms"'
 p_cml => 'PS1="$PS1_cml"'
 p_c2s => 'PS1="$PS1_c2s"'
 p_c2l => 'PS1="$PS1_c2l"'
 p_cos => 'PS1="$PS1_cos"'
 p_col => 'PS1="$PS1_col"'
 p_bms => 'PS1="$PS1_bms"'
 p_bml => 'PS1="$PS1_bml"'
 p_b2s => 'PS1="$PS1_b2s"'
 p_b2l => 'PS1="$PS1_b2l"'
 p_bos => 'PS1="$PS1_bos"'
 p_bol => 'PS1="$PS1_bol"'
 erase => 'stty erase ^H'
 so => 'set -o emacs'
 h => 'history'
 ht => 'HISTTIMEFORMAT="%Y-%m-%d %T ";history;unset HISTTIMEFORMAT'
 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"
 p_cms => 'PS1="$PS1_cms"'
 p_cml => 'PS1="$PS1_cml"'
 p_c2s => 'PS1="$PS1_c2s"'
 p_c2l => 'PS1="$PS1_c2l"'
 p_cos => 'PS1="$PS1_cos"'
 p_col => 'PS1="$PS1_col"'
 p_bms => 'PS1="$PS1_bms"'
 p_bml => 'PS1="$PS1_bml"'
 p_b2s => 'PS1="$PS1_b2s"'
 p_b2l => 'PS1="$PS1_b2l"'
 p_bos => 'PS1="$PS1_bos"'
 p_bol => 'PS1="$PS1_bol"'