ln Flashcards

1
Q

ln

A

n the 1st form, create a link to TARGET with the name LINK_NAME. In the 2nd form, create a link to TARGET in the current directory. In the 3rd and 4th forms, create links to each TARGET in DIRECTORY. Create hard links by default, symbolic links with –symbolic.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

ln

–backup[=CONTROL]

-b

A

–backup[=CONTROL], Make a backup of each existing destination file.

CONTROL: none, off = Never make backups (even if –backup is given)

numbered, t = make numbered backups

existing, nil = numbered if numbered backups exist, simple otherwise

simple, never = always make simple backups

-b, Like –backup with no arguments.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

ln

  • d, -F, –directory
  • f, –force
  • i, –interactive
  • L, –logical
  • n, –no-dereference
A
  • d, -F, –directory, Allow the superuser to attempt to hard link directories.
  • f, –force
  • i, –interactive
  • L, –logical, Dereference TARGETs that are symbolic links.
  • n, –no-dereference, Treat LINK_NAME as a normal file if it is a symbolic link to a directory.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

ln

  • P, –physical
  • r, –relative
  • s, –symbolic
  • S, –suffix=SUFFIX
  • t, –target-directory=DIRECTORY
  • T, –no-target-directory
  • v, –verbose
A
  • P, –physical, Make hard links directly to symbolic links.
  • r, –relative, Creat symbolic links relative to link location.
  • s, –symbolic, Make symbolic links instead of hard links.
  • S, –suffix=SUFFIX, Override the usual backup suffix.
  • t, –target-directory=DIRECTORY, Specify the DIRECTORY in which to create the links.
  • T, –no-target-directory, Treat LINK_NAME as a normal file always.
  • v, –verbose
How well did you know this?
1
Not at all
2
3
4
5
Perfectly