Advanced

How to Create Symbolic Links in Linux Using the ln Command

Posted by linuxize on · Post a comment
linuxize.com; By linuxize
Mail this story
Print this story

A symbolic link, also know as symlink or soft link, is a special type of file that points to another file or directory. In this guide, we will cover how to use the ln command to create symbolic links.

There are two types of links in Linux/UNIX systems:

Hard links. You can think a hard link as an additional name for an existing file. Hard links are associating two or more file names with the same inode. You can create one or more hard links for a single file. Hard links cannot be created for directories and for a file on a different filesystem or partition. Soft links. Soft link is something like a shortcut in Windows. It is an indirect pointer to a file or directory. Unlike a hard link, a symbolic link can point to a file or a directory on a different filesystem or partition.

Full Story

  Nav
» Read more about: Groups: Linux

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments

No comments yet. Be the first.

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post