將/ftp_TestServer/test.sh鏈接到/usr/local/bin/test2.sh
[root@TestServer /]# ln -s /ftp_TestServer/test.sh /usr/local/bin/test2.sh
查看../bin的文件如下,可以看出test2.sh是一個鏈接文件
[root@TestServer /]# ls -l /usr/local/bin/
lrwxrwxrwx 1 root root 23 3月 31 10:13 test2.sh -> /ftp_TestServer/test.sh