The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Поиск:  Каталог документации

Examples of using the ln command

To link files in the same directory:

   ln notes circular

This creates a link circular to the file notes in the current working directory.


To make several links to a file in different directories:

   ln part1.txt ../helpdata/sect1 /public/helpdoc/part1

This links part1.txt to ../helpdata/sect1 and /public/helpdoc/part1.


To use ln together with special pattern matching characters:

   ln project/*.xdh $PWD

This links all the files with the extension ".xdh" in the sub-directory project to the current directory.

The value of the environment variable PWD is used instead of giving the path to the current directory.


[Home] [Search] [Index]



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру