ln (1)


NAME
SYNOPSIS
DESCRIPTION
OPTIONS
OPERANDS
COPYRIGHT
Source Code

NAME

ln - link files

SYNOPSIS

ln

[-fs] [-L|-P] source_file target_file

ln

[-fs] [-L|-P] source_file... target_dir

DESCRIPTION

The ln utility is used to create symbolic and hard-links to files and directories.

OPTIONS

-f

Force existing destination pathname to be removed to allow to link.

-s

Create symbolic links instead of hard-links.

-L

For each source_file operand that names a symbolic link, create a hard-link to the file referenced by the symbolic link.

-P

For each source_file operand that names a symbolic link, create a hard-link to the symbolic link itself.

If the -s option is not specified and neither a -L nor a -P option is specified, the ln utility behaves as if -L was specified.

OPERANDS

The following operands are supported:

source_file

A pathname of a file to be linked.

target_file

A new pathname of the new file to be created.

target_dir

A pathname of an existing directory in which the new files will be created.

COPYRIGHT

Copyright © 2021 Benjamin Stürz
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


Generated using groff on 2022-07-19 01:11:30 (UTC)

Look at my source code on GitHub Memes
This website is licensed under the terms of the AGPLv3.
Tor link: 3gto4zix3cpwhq32sh5ygsr3brlmgy4pdf26md46e4zpzfzmbftw3cyd.onion