Son g�ncelleme: 2006.01.06
# #.bashrc # # Olmazsa olmaz alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' # tin, haber gruplari alias tin.anet='tin -A -r -G 300 -g news.anet.net.tr' alias tin.tin='tin -r -G 300 -g news.tin.org' alias tin.lapis='tin -r -G 300 -g news.linux-sevenler.org' # Bu kadar vim kullanırsam olacağı budur! alias :wq='exit' # Useful ones alias ..='cd ..' alias cd..='cd ..' alias cls='clear' alias h='history 50' # ping alias p='ping' alias p.google='ping www.google.com' alias p.kozgun.net='ping www.kozgun.net' alias p.ofis='ping ofis' alias p.ib1='ping ib1' # tail alias tailf.syslog='su -c "tail -f /var/log/syslog"' alias tailf.messages='su -c "tail -f /var/log/messages"' alias tailf.auth='su -c "tail -f /var/log/auth"' alias tailf.apache.access='su -c "tail -f /var/log/apache/access.log"' alias tailf.apache.error='su -c "tail -f /var/log/apache/error.log"' alias tailf.qmail.smtpd='su -c "tail -f /var/log/qmail/qmail-smtpd/current"' alias tailf.qmail.pop3d='su -c "tail -f /var/log/qmail/qmail-pop3d/current"' alias tailf.qmail.send='su -c "tail -f /var/log/qmail/qmail-send/current"' alias tailf.mail.log='su -c "tail -f /var/log/mail.log"' alias tailf.mail.err='su -c "tail -f /var/log/mail.err"' alias tailf.mail.info='su -c "tail -f /var/log/mail.info"' alias tailf.clamav.clamd='su -c "tail -f /var/log/clamav/clamd.log"' alias tailf.clamav.update='su -c "tail -f /var/log/clamav/clam-update.log"' # less alias less.syslog='su -c "less /var/log/syslog"' alias less.messages='su -c "less /var/log/messages"' alias less.auth='su -c "less /var/log/auth"' alias less.apache.access='su -c "less /var/log/apache/access.log"' alias less.apache.error='su -c "less /var/log/apache/error.log"' alias less.qmail.smtpd='su -c "less /var/log/qmail/qmail-smtpd/current"' alias less.qmail.pop3d='su -c "less /var/log/qmail/qmail-pop3d/current"' alias less.qmail.send='su -c "less /var/log/qmail/qmail-send/current"' alias less.mail.log='su -c "less /var/log/mail.log"' alias less.mail.err='su -c "less /var/log/mail.err"' alias less.mail.info='su -c "less /var/log/mail.info"' alias less.clamav.clamd='su -c "less /var/log/clamav/clamd.log"' alias less.clamav.update='su -c "less /var/log/clamav/clam-update.log"' # ps alias ps.efg='ps -ef |grep' alias ps.auxg='ps -ef |grep' # Flightgear FG_ROOT=/usr/local/FlightGear export FG_ROOT # editor EDITOR=vim export EDITOR # Fortune teller if [ -x /usr/bin/fortune ] ; then echo /usr/bin/fortune echo fi # Change XKB on the fly alias xkb_tr="setxkbmap -layout tr" alias xkb_us="setxkbmap -layout us" alias xkb_en="setxkbmap -layout en" # mount alias mount_dvd0="mount -t iso9660 /dev/dvd /media/dvd0" alias mount_usb='mount /dev/sda1 /media/usb/' # cd alias cd.Downloads="cd ~/Downloads" alias cd.LinuxDocs="cd ~/LinuxDocs" alias cd.Ebooks="cd ~/Ebooks" alias cd.LinDepo="cd ~/LinDepo" alias cd.LinDepo2="cd ~/LinDepo2" alias cd.WinDepo2="cd ~/WinDepo2" # Edit - vim alias ed.profile="vim ~/.profile" alias ed.bashrc="vim ~/.bashrc" alias ed.xinitrc="vim ~/.xinitrc" alias ed.httpd.conf='su -c "vim /etc/apache/httpd.conf"' alias ed.httpd.hosts='su -c "vim /etc/apache/httpd.hosts"' alias ed.named.conf='su -c "vim /etc/named.conf"' alias ed.badmailfrom='su -c "vim /var/qmail/control/badmailfrom"' alias ed.smb.conf='su -c "vim /etc/samba/smb.conf"' alias ed.programlar.txt='vim ~/.programlar.txt' # Perl alias perl_ins_mod="perl -MCPAN -e shell" # Network tools alias netstat.nlp="netstat -nlp" alias f='finger' # Dikkat!!! Asagidakiler 1 satir olacak. PATH=$PATH:$HOME/bin :/usr/local/OpenOffice/program :/usr/local/share/mysql-administrator/bin :$HOME/bin/network :$HOME/bin/network/scp :$HOME/bin/convert :$HOME/bin/cross_office :$HOME/bin/games :$HOME/bin/rsync :/usr/local/lib/java/bin :/opt/netbeans/bin :$HOME/bin/est :/opt/java/bin :/opt/java/jre/bin :$HOME/bin/mysql :/opt/acrobat5/bin :$HOME/bin/image :$HOME/bin/multimedia :$HOME/bin/office :$HOME/bin/watch :$HOME/bin/security # Java CLASSPATH=$CLASSPATH:. JAVA_HOME="/opt/java" JAVAWS_HOME="/opt/java/jre/javaws" # history dosyasi fazla abarmasin. HISTFILESIZE=30 HISTSIZE=30 # Charset for MIME headers. MM_CHARSET=ISO-8859-9 export MM_CHARSET # Encoding for SGML-DSSSL processing. SP_ENCODING=ISO-8859-9 export SP_ENCODING # enable color support of ls and also add handy aliases if [ "$TERM" != "dumb" ]; then eval "`dircolors -b`" alias ls='ls --color=auto' #alias dir='ls --color=auto --format=vertical' #alias vdir='ls --color=auto --format=long' fi PS1="\[\033[1;30;47m[\033[1;30;47m\u@\h:\w\033[1;30;47m]\033[1;30;47m $\033[0;37;0m\] "