블로그 이미지
올해목표 // 10월 어학연수 떠나자~ 자수씨

카테고리

전체글 (1457)
Brand New! (28)
주절주절 (213)
MOT (11)
해외쇼핑 (49)
쇼핑노트 (150)
취미생활 (94)
iPhone (4)
Eclipse (121)
Google (83)
Spring (31)
JAVA (176)
JavaScript (59)
WEB (49)
Database (20)
OS (26)
Tools (8)
Tips (26)
IT정보 (1)
Book (21)
Programming (37)
외부행사 (43)
주변인들 (17)
여행노트 (60)
학교생활 (30)
회사생활 (52)
사회생활 (5)
외국어공부 (12)
잡동사니 (30)
Total
Today
Yesterday
 
04-23 19:30
 

달력

« » 2024.4
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
 

최근에 올라온 글

최근에 달린 댓글

'bash shell'에 해당되는 글 1건

  1. 2008.05.26 [AIX] AIX 서버에 bash shell 을 설치하자! 1
1. 새로들여온 회사의 ASP 서버... 대학때 부터 bash shell 에 익숙한지라 c-shell 은 손에 맞지 않아
  bash shell 을 설치합니다.

2. http://www-03.ibm.com/systems/p/os/aix/linux/toolbox/download.html 이 곳에서 bash 를 다운
  받습니다. (rpm 으로.. source 는 설치가 안되요.. gcc 도 깔아야 하고.. 귀찮은게 많음)
 
    bash 3.0 License RPM Source The GNU Bourne Again shell (bash).


3. 서버에 접속해서 알맞은 위치에 놓고 다음과 같이 실행시킵니다.
# rpm - ivh bash-3.0-1.aix5.1.ppc.rpm
bash ################


4. 설치가 완료되었으나 모양이 별로...
  설정을 고쳐봅니다.
# cd ~
# vi .bashrc

.bashrc 파일

PS1='${debian_chroot:+($debian_chroot)}[\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\] ]\$ '
#PS1="[\u@\h \w] \\$"

# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
    PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}\007"'
    ;;
*)
    ;;
esac

# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.

#if [ -f ~/.bash_aliases ]; then
#    . ~/.bash_aliases
#fi

# 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

# some more ls aliases
#alias ll='ls -l'
#alias la='ls -A'
#alias l='ls -CF'

alias la='ls -la'
alias ll='ls -ll'
alias lk='ls -alk'
alias tarz='tar vxzf'
alias tarj='tar vxjf'


# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
fi
PATH=$PATH:/usr/lib/oss/bin # ADDED_BY_OSS
SDL_DSP_NOSELECT=1 # ADDED_BY_OSS
export PATH SDL_DSP_NOSELECT # ADDED_BY_OSS

export PATH=$PATH:/usr/sbin


위와 같은 작업을 거치면 bash 는 설치 완료~~

Posted by 자수씨
, |

글 보관함

최근에 받은 트랙백