linux cd 명령어

“cd -”
가 뭘까.. 궁금했다.

If directory is `-‘, this will change to the previous directory location (equivalent to $OLDPWD ).

Quickly get back
$ cd –

이전 디렉토리로 돌아가는 거라고 한다.
출처 : http://webtools.live2support.com/linux/cd.php


“. .bashrc”
가 뭘까.. 궁금했다.

. 은 bash 에서 source 와 같은 명령이란다.
“. .bashrc” 는 “source .bashrc” 와 같다 (.bashrc 실행)

출처 : http://kldp.org/HOWTO/html/Adv-Bash-Scr-HOWTO/special-chars.html


Leave a Reply

Your email address will not be published. Required fields are marked *