4 Eylül 2013 Çarşamba

bashrc dosyası



Aşağıdakileri kendi .bashrc dosya ilave ederek sonuçlarını görebilirsiniz.

export HISTSIZE=999999
export HISTTIMEFORMAT='%F %T '

export PS1='\nSunucu : \[\033[0;34m\]\h \nKullanici  : \[\033[0m\]\u \[\033[0;32m\]\nDizin      : \w \nSaat       : \@ \n\[\033[0;34m\]Yeni Komut \$ \[\033[0m\]'


alias psu='ps -o pid,euser,ruser,%cpu,%mem,command'
echo Saat : `/bin/date '+%H:%M'`
printf ".u anda bash kabu.unu kullanmaktas.n.z. \n"
printf "Bu kabuk ile her seyi yapabilirsiniz. \n"

export HISTTIMEFORMAT="%Y/%h/%d - %H:%M:%S  : "
export checkjobs=on
export histappend=on
export histreedit=on
export histverify=on
export hostcomplete=on

shopt -s hostcomplete
shopt -s checkjobs
shopt -s histappend
shopt -s histreedit
shopt -s histverify
shopt -s huponexit
shopt -s checkwinsize

#root kullanıcısı iseniz ve her giriş yaptığınızda  yaptığınız işlemler giriş zamanınız ile oluşturulan günlük dosyasında tutulacaktır.
export HISTFILE="$HOME/.bash_history-"`date +%s`




Hiç yorum yok:

Yorum Gönder

Not: Yalnızca bu blogun üyesi yorum gönderebilir.

Ne işe yarar; sar -n DEV

sar -n DEV|awk 'BEGIN{mak=0} !/txpck|x86|CPU|^[ \t]*$/{if (mak