⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ln.1

📁 操作系统设计与实现源码
💻 1
字号:


LN(1)                     Minix Programmer's Manual                      LN(1)


NAME
     ln, clone - create a link to a file

SYNOPSIS
     ln [-ifmrRvx] file [name]
     ln [-ifrRvx] file ... dir
     clone [-ifmvx] file [name]

OPTIONS

     -i   Ask if ok to remove a file

     -f   Remove existing links

     -m   Merge trees, disable the into-a-directory trick

     -rR  Recursively link a directory tree

     -v   Display what ln is doing

     -x   Do not cross device boundaries

EXAMPLES

     ln file newname     # Make newname a synonym for file

     ln /usr/games/chess # Create a link called chess

DESCRIPTION

     A directory entry is created for name  .  The  entry  points  to  file  .
     Henceforth,  name  and  file can be used interchangeably.  If name is not
     supplied, the last component of file is used as the link name.   If  more
     than  one  file  is supplied or the name refers to an existing directory,
     links will be created in that directory.  An existing name  will  not  be
     removed unless the -i or -f flag is specified.

     Clone is a convenient synonym for ln -fmr to  create  a  so-called  "link
     farm", a directory full of links to the original tree.

SEE ALSO
     cp(1), link(2), unlink(2).










                                                                             1

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -