- 追加された行はこの色です。
- 削除された行はこの色です。
- bash へ行く。
[[bash]]
最近使うことが増えたので、[[詳細はことらを参照>http://ja.wikipedia.org/wiki/Bash]]
** とりあえず、環境設定 [#n3cb3efe]
vi $HOME/.bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin::$HOME/vim/bin
export PATH
vi $HOME/.bash_profile
# .bashrc from .bash_profile
# see also
ulimit -c 0
# alias
alias h='history 25'
alias j='jobs -l'
alias la='ls -a'
alias lf='ls -FA'
alias ll='ls -lA'
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
alias more='less'
alias vi='vim'
alias view='vim -R'
# A righteous umask
umask 22
# shell environment variables
export LANG=ja_JP.UTF-8
export EDITOR=vim
export PAGER=less
export PS1="\u@\h \w % "
export TMPDIR=/tmp
export TZ=JST-09
# An interactive shell -- set some stuff up
set filec
set history = 100
set savehist = 100
stty dec crt erase ^H eof ^D quit ^\\ start ^- stop ^-
----
[[UNIX]]