|
发表于 2003-7-8 00:00:03
|
显示全部楼层
说实话,还真没注意到,原来这两个有一点点区别的。
`ln' makes links between files. By default, it makes hard links;
with the `-s' option, it makes symbolic (or "soft") links. Synopses:
ln [OPTION]... TARGET [LINKNAME]
ln [OPTION]... TARGET... DIRECTORY
* If the last argument names an existing directory, `ln' creates a
link to each TARGET file in that directory, using the TARGETs'
names. (But see the description of the `--no-dereference' option
below.)
* If two filenames are given, `ln' creates a link from the second to
the first.
你用ls -l /
看一下这两个的区别,最后面多一个“/” |
|