본문 바로가기
리눅스

ln -Tfs /servers/test/applications/jdk1.7.0_79 jdk 심볼릭링크 변경

by 혜룐 2017. 12. 7.



test@server-dev001:~/applications$ ll

total 28

drwxr-xr-x  7 test test 4096 Aug 10 10:04 ./

drwxr-xr-x 29 test test 4096 Dec  7 06:19 ../

lrwxrwxrwx  1 test test   29 Aug 10 10:04 jdk -> /servers/test/applications/jdk1.8.0_131/

drwxr-xr-x  8 test test 4096 Apr 10  2015 jdk1.7.0_79/

drwxr-xr-x  8 test test 4096 Mar 15  2017 jdk1.8.0_131/

drwxr-xr-x  8 test test 4096 Mar 21  2016 jdk1.8.0_77/

lrwxrwxrwx  1 test test   29 Aug 10 10:04 jdk8 -> /servers/test/applications/jdk1.8.0_131/

test@server-dev001:~/applications$ ln -Tfs /servers/test/applications/jdk1.7.0_79 jdk

test@server-dev001:~/applications$ ll

total 28

drwxr-xr-x  7 test test 4096 Dec  7 06:37 ./

drwxr-xr-x 29 test test 4096 Dec  7 06:19 ../

lrwxrwxrwx  1 test test   28 Dec  7 06:37 jdk -> /servers/test/applications/jdk1.7.0_79/

drwxr-xr-x  8 test test 4096 Apr 10  2015 jdk1.7.0_79/

drwxr-xr-x  8 test test 4096 Mar 15  2017 jdk1.8.0_131/

drwxr-xr-x  8 test test 4096 Mar 21  2016 jdk1.8.0_77/

lrwxrwxrwx  1 test test   29 Aug 10 10:04 jdk8 -> /servers/test/applications/jdk1.8.0_131/