Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2042839
  • 博文数量: 519
  • 博客积分: 10070
  • 博客等级: 上将
  • 技术积分: 3985
  • 用 户 组: 普通用户
  • 注册时间: 2006-05-29 14:05
个人简介

只问耕耘

文章分类

全部博文(519)

文章存档

2016年(1)

2013年(5)

2011年(46)

2010年(220)

2009年(51)

2008年(39)

2007年(141)

2006年(16)

我的朋友

分类:

2007-08-14 10:42:44

#ln -s sourceDir targetLinkName

 -s    Create a symbolic link.

       If the -s option is used with  two  arguments,  target
       may  be  an existing directory or a non-existent file.
       If target already exists and is not  a  directory,  an
       error  is  returned.  source_file may be any path name
       and need not exist. If it exists, it may be a file  or
       directory  and  may  reside on a different file system
       from target. If target is  an  existing  directory,  a
       file  is  created  in  directory  target whose name is
       source_file or the last component of source_file. This
       file  is  a symbolic link that references source_file.
       If target does not exist, a file with name  target  is
       created  and  it  is  a  symbolic link that references
       source_file.

       If the -s option is used with more than two arguments,
       target  must be an existing directory or an error will
       be returned. For each source_file, a link  is  created
       in   target  whose  name  is  the  last  component  of
       source_file. Each new source_file is a  symbolic  link
       to  the original source_file. The files and target may
       reside on different file systems.

阅读(4267) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~