starland

Unix shell 본문

Progrming관련

Unix shell

starland 2009. 11. 19. 22:15
반응형
http://blog.naver.com/norther80/80010304158

1. Shell Program 소개

 

u      Shell 종류

 

/usr/bin/sh      POSIX Shell

/usr/bin/ksh     Korn Shell

/usr/old/bin/sh  Bourne Shell

/usr/bin/csh     C Shell

/usr/bin/keysh   Key Shell

/usr/bin/rksh    Restricted Korn Shell

/usr/bin/rsh     Restricted Shell

 

u      Shell Startup 파일

 

Korn Shell     /etc/profile -> $HOME/.profile -> $HOME/.kshrc

Bourne Shell   /etc/profile -> $HOME/.profile

POSIX Shell    /etc/profile -> $HOME/.profile -> $HOME/.kshrc

C Shell        $HOME/.login -> $HOME/.cshrc

 

2.Shell Parameter

 

u      Parameter Substitution

 

l         Parameter Setting

 

# Parameter=Value

# 변수명=값  : Named Parameter

 

l         Parameter의 Unsetting

 

# unset parameter

  # unset 변수명

u        Command Substitution

 

# $(command)       # `command`

 

반응형