sh shell_ln_symbol_attention

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh shell_ln_symbol_attention相关的知识,希望对你有一定的参考价值。

# ln -s Refer
# http://mrhopehub.github.io/2014/04/27/ln.html

# 1. Recommand |  use both ABSOLUTE path when using ln -s command
ln -s /absolute/path/source /absolute/path/output

# 2. Relative directory | source`$1` is relative the output path`$2`
ln -s /relative/to/output(which is `SOURCE`) /absolute/path/output

# NOT Recommand | More specific example: ln /tmp/dir1/source TO /tmp/dir2/output
ln -s ../dir1/source /tmp/dir2/output

# 3. Relative directory $2 | output`$2` is relative CURRENT directory.
# NOT Recommand | Same goal, but pwd='/tmp'
ln -s ../dir1/source dir2/output

以上是关于sh shell_ln_symbol_attention的主要内容,如果未能解决你的问题,请参考以下文章

sh sh_template.sh

sh sh.sh

Linux下面如何运行 SH文件

配置告警系统主脚本main.sh mon.sh load.sh 502.sh disk.sh

shell 脚本各种执行方式(source ./*.sh, . ./*.sh, ./*.sh)的区别

linux下sh文件的运行