SEARCH

Linux Install

Android

Linux Tools

Linux AV

Linux Memo

WINDOWS

PROGRAM

動画 Memo

音楽 Memo

モバイルアプリ Memo

FILE FORMAT

PROTOCOL

DEVICE

BookMark

その他


bash   

/etc/bashrc

emacs /etc/bashrc
export PS1="\n<\u@\h>\n[\w]: "
export PATH=/usr/bin:/usr/local/bin:/sbin:/usr/sbin:$PATH:$HOME/bin

# primitive command
alias ls='ls -F'
alias .='cd `/bin/pwd`'
alias ..='cd `/bin/pwd`; cd ..'
alias rm='rm -f'
alias mv='mv -i'
alias pwd='/bin/pwd'
alias emacs='emacs -no-splash'
alias emasc='emacs -no-splash'
complete -d cd
function date2unix(){
  date +%s --date "$1 $2"
}
function unix2date(){
  date -d @$1 +'%Y/%m/%d %H:%M:%S'
}
export _JAVA_OPTIONS="-Djava.net.preferIPv4Stack=true -Dfile.encoding=UTF-8"

cygwin bash

 function emacs(){
	/cygdrive/c/Program\ Files/xyzzy/xyzzy.exe `echo $1 | sed 's!^/!/cygwin/!' |sed 's!^~!/cygwin/home/【username】!'`  &
 }
 alias ifconfig='ipconfig /all |nkf -w'
 export PGHOST='localhost'