Difference between revisions of "SQWareCentral:etc:.profile confort"

From Wiki_dbSQWare
Jump to: navigation, search
(Page créée avec « Fichier de positionnement d'environnement confort $gvsqw_RootexpdbCentral/etc/.profile_confort:<br> contient l'initialisation des alias, prompt, ... de SQWareCentral.<br> <b… »)
 
(No difference)

Latest revision as of 21:45, 13 July 2010

Fichier de positionnement d'environnement confort $gvsqw_RootexpdbCentral/etc/.profile_confort:
contient l'initialisation des alias, prompt, ... de SQWareCentral.

Source les environnements de confort quand on est rattaché à un terminal.

        alias show='$gvsqw_RootexpdbCentral/bin/sqwc_Show.ksh'
        alias c='$gvsqw_RootexpdbCentral/bin/sqwc_Connect.ksh'
        alias ch='$gvsqw_RootexpdbCentral/bin/sqwc_SearchInstance.ksh'
        alias cb='$gvsqw_RootexpdbCentral/bin/sqwc_SearchDatabase.ksh'
        alias src='cd $gvsqw_RootSQWareProduction;ls -al'
        alias cent='cd $gvsqw_RootexpdbCentral;ls -al'
        alias h='history -100'
        alias ll='ls -al'
        alias lt='ls -altr'
        alias sg='size=$(du -sk .|cut -f1);((size=size/1024/1024));echo "$size Go";date +"%d/%m/%Y %H:%M:%S"'
        alias sm='size=$(du -sk .|cut -f1);((size=size/1024));echo "$size Mo";date +"%d/%m/%Y %H:%M:%S"'

        alias binc='cd $gvsqw_RootexpdbCentral/bin; ls -al'
        alias libc='cd $gvsqw_RootexpdbCentral/lib; ls -al'
        alias menc='cd $gvsqw_RootexpdbCentral/menu; ls -al'
        alias etcc='cd $gvsqw_RootexpdbCentral/etc; ls -al'
        alias logc='cd $gvsqw_RootexpdbCentral/logs; ls -al'
        alias cbinc='cd $gvsqw_RootexpdbCentral/bin_cust; ls -al'
        alias clibc='cd $gvsqw_RootexpdbCentral/lib_cust; ls -al'
        alias cmenc='cd $gvsqw_RootexpdbCentral/menu_cust; ls -al'
        alias cetcc='cd $gvsqw_RootexpdbCentral/etc_cust; ls -al'

        alias reload='[ -r $gvsqw_RootexpdbCentral/etc/.profile ] && . $gvsqw_RootexpdbCentral/etc/.profile'