PATH=$PATH:폴더
기존의 PATH 뒤에 추가하고 싶은 폴더를 쓰면 된다. 윈도우에서는 폴더 사이의 구분자가 세미콜론(;)이지만 리눅스에서는 콜론(:)이다.
[root@localhost ~]# echo $PATH /usr/local/sbin:/bin:/usr/sbin:/usr/bin
[root@localhost ~]# PATH=$PATH:/home:/var [root@localhost ~]# echo $PATH /usr/local/sbin:/bin:/usr/sbin:/usr/bin:/home:/var
'Brain imaging & Unix command > command' 카테고리의 다른 글
randomized and fslmath, fslreorient2st (0) | 2016.09.28 |
---|---|
linux tips and shell script homepage (0) | 2016.09.28 |
Install lesstif on Mac OSX (0) | 2016.09.22 |
처음으로 만든 Shell script (0) | 2016.09.15 |
리눅스 명령어 site (0) | 2016.09.15 |