Archive for the tag 'links'

Customizing Service Links for Domain Registration and Management Services

To customize the Register Domain Names button URL:

On Linux systems, issue the following command:

/usr/local/psa/bin/interface_template -p -domain_registration_url [url]

Customizing Service Links

This chapter describes how to customize items of the Panel graphical user interface which let your customers do the following:

* Register domain names.
* Purchase SSL certificates.
* Access you website providing the mentioned or other services.

These items are customized using the interface_template command line utility.
The utility is located in /usr/local/psa/bin directory on Linux systems.

SBDavid

Hard links have two limitations

Users are not allowed to create hard links for directories. This might transform the directory tree into a graph with cycles, thus making it impossible to locate a file according to its name.

Links can be created only among files included in the same file system. This is a serious limitation since modern Unix systems may include several file systems located on different disks and/or partitions, and users may be unaware of the physical divisions between them.

In order to overcome these limitations, soft links (also called symbolic links) have been introduced. Symbolic links are short files that contain an arbitrary path name of another file. The path name may refer to any file located in any file system; it may even refer to a nonexistent file.

The Unix command:

$ ln -s f1 f2

Creates a new soft link with path name f2 that refers to path name f1.

SBDavid

ln Make links between files

ln: Make links between files

A “hard link” is another name for an existing file; the link and the original are indistinguishable. Technically speaking, they share the same inode, and the inode contains all the information about a
file–indeed, it is not incorrect to say that the inode _is_ the file. On all existing implementations, you cannot make a hard link to a directory, and hard links cannot cross file system boundaries. (These
restrictions are not mandated by POSIX, however.)

“Symbolic links” (”symlinks” for short), on the other hand, are a special file type (which not all kernels support: System V release 3 (and older) systems lack symlinks) in which the link file actually
refers to a different file, by name.

`ln’ makes links between files. By default, it makes hard links; with the `-s’ option, it makes symbolic (or “soft”) links. Synopses:

ln [OPTION]… [-T] TARGET LINKNAME
ln [OPTION]… TARGET
ln [OPTION]… TARGET… DIRECTORY
ln [OPTION]… -t DIRECTORY TARGET…

* If two file names are given, `ln’ creates a link to the first file from the second.

* If one TARGET is given, `ln’ creates a link to that file in the current directory.

Example:

@dell:~/x$ ls -li
total 0
1268369 -rw-r–r– 1 user1 user1 0 Jan 13 16:42 1
1268732 lrwxrwxrwx 1 user1 user1 1 Jan 13 16:42 2 -> 1

1268733 -rw-r–r– 2 user1 user1 0 Jan 13 16:43 3
1268733 -rw-r–r– 2 user1 user1 0 Jan 13 16:43 4
@dell:~/x$