Alias
일종의 단축키
아래에 작성되면 로그인할 때 자동으로 적용됨
~/.bashrc : 계정의 shall에 기본 설정
/etc/profile : 모든 사용자의 기본 설정
만약 변경하고 바로 적용되길 원한다면 $ source ~/.bashrc 를 입력
$ alias
현재 alias 내역 확인
예제
alias rm='rm -rf'
alias win='mount -t smbfs //192.168.0.1/data /media/samba'
alias web='/etc/init.d/httpd'
web {start|stop|restart}
'Git > Environment' 카테고리의 다른 글
저장소 만들기 (0) | 2013.04.30 |
---|---|
환경 설정 (0) | 2013.04.29 |
Basic (0) | 2013.04.29 |
Git and Git utils Install (0) | 2013.04.19 |
댓글