<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>gHacks technology news &#187; symbolic links</title>
	<atom:link href="http://www.ghacks.net/tag/symbolic-links/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ghacks.net</link>
	<description>A technology blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description>
	<lastBuildDate>Tue, 24 Nov 2009 23:31:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Get to know Linux: Links</title>
		<link>http://www.ghacks.net/2009/06/18/get-to-know-linux-links/</link>
		<comments>http://www.ghacks.net/2009/06/18/get-to-know-linux-links/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 00:18:13 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[hard links]]></category>
		<category><![CDATA[ln]]></category>
		<category><![CDATA[ln-s]]></category>
		<category><![CDATA[soft links]]></category>
		<category><![CDATA[symbolic links]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=13653</guid>
		<description><![CDATA[During your time using Linux you are going to run into what is called a link. Links are used quite a bit in the world of Linux. Most of the time they go completely unnoticed. There are times, however, when the user will have to create a link. One common link a user will create [...]]]></description>
			<content:encoded><![CDATA[<p>During your time using Linux you are going to run into what is called a link. Links are used quite a bit in the world of Linux. Most of the time they go completely unnoticed. There are times, however, when the user will have to create a link. One common link a user will create is a link pointing to the global <a href="http://www.ghacks.net/tag/firefox/">Firefox</a> java plugin. Because the user can&#8217;t directly access that file in <strong>/usr/lib/mozilla/plugins</strong> a link must be created.</p>
<p>Links are very useful tools for a number of reasons. One very good use of Links is linking to a directory on another drive so you can easily access its contents. Say, for example, you have a hard drive containing mp3 files that is mounted to the directory /data. You want to be able to easily access those mp3 files but you don&#8217;t always want to have to navigate through the directory structure to get to them. Make this easy with a link in your <strong>~/ </strong>(home) directory.</p>
<p><span id="more-13653"></span><strong>Types of links</strong></p>
<p>There are two types of links: Hard and Soft (Symbolic) links. The primary difference between hard and soft links is that hard links can only link to a file and can not span drives or volumes. Soft links, however, can link to directories and can span drives/volumes. At first you may think &#8220;Why even use hard links?&#8221; One major advantage to hard links is that a link will remain even if the original file is moved.</p>
<p>Another difference between hard and soft links, that isn&#8217;t really examined by the end user is that hard links reference an exact inode whereas soft links reference abstract files/directories and are given their own, unique inode.</p>
<p><strong>How to create links</strong></p>
<p>Links are created by using the <em>ln</em> command. Hard links are created by using the <em>ln</em> command alone where soft links are created with the <em>ln</em> command using the <em>-s</em> switch.</p>
<p>Let&#8217;s start out by creating a hard link. We&#8217;ll use a very simple example. Using the Enlightenment E16 window manager requires you to edit the ~/.e16/menus/user_apps file to add to your menu. Let&#8217;s say you want a link in your ~/ directory to that file so you&#8217;re not always having to type so much to get to that file. You can do this with a hard link by entering the following command (as your standard user:</p>
<p><em>ln ~/.e16/menus/user_apps ~/user_apps</em></p>
<p>This will create a link in your home directory called <em>user_apps</em>. The nice thing about this is any time you edit either file, both will change. So you can simply edit the file in your home directory and the changes will reflect in your ~/.e16/menus/user_apps file.</p>
<p>One of the more common uses (as stated earlier) is linking a file from the <strong>/usr/lib/mozilla/plugins </strong>directory to your <strong>~/.mozilla/firefox/XXX/plugins/ </strong>directory. Instead of linking file by file you can just link to the entire directory. NOTE: This is not often the case. Some distributions/installations handle the browser plugin system differently. I am using this as an obvious example of how soft links come in handy.</p>
<p>Where XXX is a random string of characters created upon installation of Firefox.</p>
<p>So to make a soft link from your <strong>/usr/lib/mozilla/plugins</strong> directory to your <strong>~/.mozilla/firefox/XXX/ </strong>directory you would issue the command:</p>
<p><em>ln -s /usr/lib/mozilla/plugins ~/.mozilla/firefox/XXX/</em></p>
<p>Now your user installation of Firefox can see the plugins for the global installation. Of course this doesn&#8217;t always work in the case of plugins. Again, I state it was used as an obvious example to explains links.</p>
<p>One of the nice aspects of soft links is that a standard user can link to files in any directory. But just because they can link to them doesn&#8217;t mean they can edit them. You can create a link from the /etc/hosts.deny file to your home directory but, as the standard user, you can not edit the file. The standard user will, however, see all edits made to this file when edits are made by a user with write permissions.</p>
<p>Confused?</p>
<p>Let me try to explain that in another way. Say, for example, you want your users on your Linux machine to be able to see the contents of file<strong> /data/SAMPLE_DATA</strong>. You don&#8217;t however want them to see the contents of the <strong>/data</strong> directory. Remove the read permissions from the directory <strong>/data</strong> with the command:</p>
<p><em>chmod -R o-w /data</em></p>
<p>and then give the file SAMPLE_DATA back read permission with:</p>
<p><em>chmod o+w /data/SAMPLE_DATA</em></p>
<p>command.</p>
<p>Now link to the SAMPLE_DATA file with the command:</p>
<p><em>ln /data/SAMPLE_DATA ~/</em></p>
<p>and the user will have a hard link to the file that they can read but not edit.</p>
<p><strong>Final thoughts</strong></p>
<p>Although links can be a bit confusing, they are a very helpful tool to use with the Linux operating system. They can make your administration job easier and save hard drive space. Get to know links, they are your friends.</p>

	Tags: <a href="http://www.ghacks.net/tag/hard-links/" title="hard links" rel="tag">hard links</a>, <a href="http://www.ghacks.net/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://www.ghacks.net/tag/ln/" title="ln" rel="tag">ln</a>, <a href="http://www.ghacks.net/tag/ln-s/" title="ln-s" rel="tag">ln-s</a>, <a href="http://www.ghacks.net/tag/soft-links/" title="soft links" rel="tag">soft links</a>, <a href="http://www.ghacks.net/tag/symbolic-links/" title="symbolic links" rel="tag">symbolic links</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/02/02/ntfs-link-windows-shell-extension/" title="NTFS Link Windows Shell Extension (February 2, 2009)">NTFS Link Windows Shell Extension</a> (11)</li>
	<li><a href="http://www.ghacks.net/2008/02/07/yoggie-pico-personal-mobile-security-computer/" title="Yoggie PICO Personal Mobile Security Computer (February 7, 2008)">Yoggie PICO Personal Mobile Security Computer</a> (3)</li>
	<li><a href="http://www.ghacks.net/2009/10/30/with-ubuntu-9-10-arrives-wubi-9-10/" title="With Ubuntu 9.10 Arrives Wubi 9.10 (October 30, 2009)">With Ubuntu 9.10 Arrives Wubi 9.10</a> (2)</li>
	<li><a href="http://www.ghacks.net/2006/12/07/widgets-for-linux-superkaramba/" title="Widgets for Linux: SuperKaramba (December 7, 2006)">Widgets for Linux: SuperKaramba</a> (6)</li>
	<li><a href="http://www.ghacks.net/2006/12/06/widgets-for-linux-gdesklets/" title="Widgets for Linux: gDesklets (December 6, 2006)">Widgets for Linux: gDesklets</a> (3)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/06/18/get-to-know-linux-links/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Application Mover</title>
		<link>http://www.ghacks.net/2009/03/15/application-mover/</link>
		<comments>http://www.ghacks.net/2009/03/15/application-mover/#comments</comments>
		<pubDate>Sun, 15 Mar 2009 10:45:41 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[application mover]]></category>
		<category><![CDATA[junctions]]></category>
		<category><![CDATA[move applications]]></category>
		<category><![CDATA[software mover]]></category>
		<category><![CDATA[symbolic links]]></category>
		<category><![CDATA[windows shell extension]]></category>
		<category><![CDATA[windows software]]></category>
		<category><![CDATA[windows tips]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=11234</guid>
		<description><![CDATA[The hard drive where you install the majority of software programs is filled to the brim and it becomes clear that the need will arise to move some of the installed applications to another hard drive or storage device to make room for additional installs. Some software programs do not take it lightly if you [...]]]></description>
			<content:encoded><![CDATA[<p>The hard drive where you install the majority of software programs is filled to the brim and it becomes clear that the need will arise to move some of the installed applications to another hard drive or storage device to make room for additional installs. Some software programs do not take it lightly if you move them in Windows Explorer. They will stop working as the information in the Windows Registry and their new location do not match up. </p>
<p>Could be fatal for commercial software that has been bought as it will stop working altogether or revert back to a trial version that is most likely expired. You could uninstall and reinstall the software program. Could be trouble for users who do not have the serial number at hand anymore if the software is commercial. Could also be problematic because of custom settings that will most likely be gone unless they are stored globally.</p>
<p>A quick search on the Internet revealed no free software programs that aid the user in the process. The most popular commercial software program seems to be Application Mover by <a href="http://www.funduc.com/app_mover.htm">Funduc</a> which costs $15 for a single user license. We like free here at Ghacks which is why the following way to move applications from one location to another should work as well for you.</p>
<p><span id="more-11234"></span>Symbolic links come to the rescue. They can be used to point from the original folder to a new folder. Windows will recognize this as one folder in the original location although the files are located on another drive. To move c:\program1 to d:\program1 one would move the contents of c:\program1 to the d drive and create a symbolic link in c:\program1 pointing to the new location.</p>
<p>The process would therefor involve the following steps:</p>
<ul>
<li>Move (or copy) the files on c:\program1 to d:\program1</li>
<li>Create a symbolic link from c:\program1 to d:\program1</li>
</ul>
<p>There are several programs that can be used to create symbolic links, for example <a href="http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx">Junction</a> by Sysinternals or <a href="http://www.bitsum.com/shjunc.asp">SHJunction</a> by Bitsum. The first program is command line driven while the second comes with a graphical user interface.</p>
<p>There is also a <a href="http://www.ghacks.net/2009/02/02/ntfs-link-windows-shell-extension/">Windows Shell Extension</a> for those who prefer to create the symbolic links in Windows Explorer.</p>

	Tags: <a href="http://www.ghacks.net/tag/application-mover/" title="application mover" rel="tag">application mover</a>, <a href="http://www.ghacks.net/tag/junctions/" title="junctions" rel="tag">junctions</a>, <a href="http://www.ghacks.net/tag/move-applications/" title="move applications" rel="tag">move applications</a>, <a href="http://www.ghacks.net/tag/software-mover/" title="software mover" rel="tag">software mover</a>, <a href="http://www.ghacks.net/tag/symbolic-links/" title="symbolic links" rel="tag">symbolic links</a>, <a href="http://www.ghacks.net/tag/windows-shell-extension/" title="windows shell extension" rel="tag">windows shell extension</a>, <a href="http://www.ghacks.net/tag/windows-software/" title="windows software" rel="tag">windows software</a>, <a href="http://www.ghacks.net/tag/windows-tips/" title="windows tips" rel="tag">windows tips</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/02/02/ntfs-link-windows-shell-extension/" title="NTFS Link Windows Shell Extension (February 2, 2009)">NTFS Link Windows Shell Extension</a> (11)</li>
	<li><a href="http://www.ghacks.net/2008/10/25/link-shell-extension/" title="Link Shell Extension (October 25, 2008)">Link Shell Extension</a> (1)</li>
	<li><a href="http://www.ghacks.net/2007/12/12/use-favorites-to-access-folders-faster-2/" title="Use Favorites to access Folders faster (December 12, 2007)">Use Favorites to access Folders faster</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/05/30/turn-off-computer-hardware-with-a-single-click/" title="Turn Off Computer Hardware With A Single Click (May 30, 2009)">Turn Off Computer Hardware With A Single Click</a> (6)</li>
	<li><a href="http://www.ghacks.net/2007/11/20/time-for-some-pc-winter-cleaning/" title="Time for some PC Winter Cleaning (November 20, 2007)">Time for some PC Winter Cleaning</a> (10)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/03/15/application-mover/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>NTFS Link Windows Shell Extension</title>
		<link>http://www.ghacks.net/2009/02/02/ntfs-link-windows-shell-extension/</link>
		<comments>http://www.ghacks.net/2009/02/02/ntfs-link-windows-shell-extension/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 14:10:20 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[hard links]]></category>
		<category><![CDATA[junctions]]></category>
		<category><![CDATA[multi-lingual]]></category>
		<category><![CDATA[ntfs link]]></category>
		<category><![CDATA[shell extension]]></category>
		<category><![CDATA[symbolic]]></category>
		<category><![CDATA[symbolic links]]></category>
		<category><![CDATA[windows shell extension]]></category>
		<category><![CDATA[windows software]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=10289</guid>
		<description><![CDATA[NTFS Link is a Windows Shell Extension that provides the functionality to create hard links and junctions on hard drives formatted with the NTFS file system. Hard Links basically make it possible to access one file using multiple paths on the same volume while junctions provides the same functionality for directories with the addition that [...]]]></description>
			<content:encoded><![CDATA[<p>NTFS Link is a Windows Shell Extension that provides the functionality to create hard links and junctions on hard drives formatted with the NTFS file system. Hard Links basically make it possible to access one file using multiple paths on the same volume while junctions provides the same functionality for directories with the addition that it can link directories on different local volumes of a computer.</p>
<p>A practical example would be to store files and directories in a different location than they have to reside in. This could be the <a href="http://www.ghacks.net/tag/firefox/">Firefox</a> profile directory, a Skype directory or the Windows Documents and settings folder. You basically tell Windows to look into the original folder but also in the linked folder for files.</p>
<p><a href="http://elsdoerfer.name/=ntfslink">NTFS Link</a> offers three ways of creating hard links and junctions. The first and probably easiest way is by dragging and dropping a file or folder with the right mouse button to another location. The others are by making use of the New parameter in the right-click menu in Windows Explorer while the last works by right-clicking on an empty folder only.</p>
<p><span id="more-10289"></span><a href="http://www.ghacks.net/wp-content/uploads/2009/02/ntfs_links.jpg"><img src="http://www.ghacks.net/wp-content/uploads/2009/02/ntfs_links.jpg" alt="ntfs links" title="ntfs links" width="175" height="167" class="alignnone size-full wp-image-10290" /></a></p>
<p>The drag and drop function proves to be really useful and an uncomplicated way of creating hard links and junctions. It should however be noted that NTFS Links works best when run in pre-Vista operating systems as Windows Vista comes with its own possibilities to create symbolic links.</p>

	Tags: <a href="http://www.ghacks.net/tag/hard-links/" title="hard links" rel="tag">hard links</a>, <a href="http://www.ghacks.net/tag/junctions/" title="junctions" rel="tag">junctions</a>, <a href="http://www.ghacks.net/tag/multi-lingual/" title="multi-lingual" rel="tag">multi-lingual</a>, <a href="http://www.ghacks.net/tag/ntfs-link/" title="ntfs link" rel="tag">ntfs link</a>, <a href="http://www.ghacks.net/tag/shell-extension/" title="shell extension" rel="tag">shell extension</a>, <a href="http://www.ghacks.net/tag/symbolic/" title="symbolic" rel="tag">symbolic</a>, <a href="http://www.ghacks.net/tag/symbolic-links/" title="symbolic links" rel="tag">symbolic links</a>, <a href="http://www.ghacks.net/tag/windows-shell-extension/" title="windows shell extension" rel="tag">windows shell extension</a>, <a href="http://www.ghacks.net/tag/windows-software/" title="windows software" rel="tag">windows software</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2008/10/25/link-shell-extension/" title="Link Shell Extension (October 25, 2008)">Link Shell Extension</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/03/15/application-mover/" title="Application Mover (March 15, 2009)">Application Mover</a> (9)</li>
	<li><a href="http://www.ghacks.net/2009/01/30/windows-vista-taskbar-resize/" title="Windows Vista Taskbar Resize (January 30, 2009)">Windows Vista Taskbar Resize</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/01/30/print-management-software/" title="Print Management Software (January 30, 2009)">Print Management Software</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/01/30/launch-software-automatically-with-xecutor/" title="Launch Software Automatically With Xecutor (January 30, 2009)">Launch Software Automatically With Xecutor</a> (6)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/02/02/ntfs-link-windows-shell-extension/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Link Shell Extension</title>
		<link>http://www.ghacks.net/2008/10/25/link-shell-extension/</link>
		<comments>http://www.ghacks.net/2008/10/25/link-shell-extension/#comments</comments>
		<pubDate>Sat, 25 Oct 2008 17:05:10 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[hardlinks]]></category>
		<category><![CDATA[junctions]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[mountpoints]]></category>
		<category><![CDATA[ntfs]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[shell extension]]></category>
		<category><![CDATA[symbolic links]]></category>
		<category><![CDATA[windows software]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=7863</guid>
		<description><![CDATA[Link Shell Extension is a software program for Windows NT operating systems like Windows XP, Windows Vista or Windows Server 2003 that supports the creation of hardlinks, junctions, volume mountpoints and Vista&#8217;s symbolic links. It provides the functionality as a shell extension in all supported operating systems meaning that it can be accessed from Windows [...]]]></description>
			<content:encoded><![CDATA[<p>Link Shell Extension is a software program for Windows NT operating systems like Windows XP, Windows Vista or Windows Server 2003 that supports the creation of hardlinks, junctions, volume mountpoints and Vista&#8217;s symbolic links. It provides the functionality as a shell extension in all supported operating systems meaning that it can be accessed from Windows Explorer or compatible file managers.</p>
<p>Users installing the software need to have administrator rights to do so and should note that only NTFS drives support the creation which means that it cannot be used on partitions formatted with FAT file systems. It should also be noted that Link Shell Extension is compatible with 64-bit editions of Windows XP and Windows Vista.</p>
<p>The type of link that is created depends on the source that is picked by the user. Picking files will create hardlinks, folders will create junctions and a partition will create a volume mountpoint. The benefit of creating that file system is that files and folders can be accessed in multiple places instead of just the source location.</p>
<p><span id="more-7863"></span><img src="http://www.ghacks.net/wp-content/uploads/2008/10/link_shell_extension-500x393.png" alt="link shell extension" title="link shell extension" width="500" height="393" class="alignnone size-medium wp-image-7864" /></p>
<p>In addition to the three link types specified above the Windows Vista version of <a href="http://schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext.html">Link Shell Extension</a> supports the creation of Symbolic Links which have been introduced in the operating system.</p>
<p>The creation of remote links within SMB mapped network NTFS drives is supported by the software program as well. The easiest way to get an overview of the capabilities of Link Shell Extension is to visit the homepage which lists all supported modes and functions. </p>

	Tags: <a href="http://www.ghacks.net/tag/hardlinks/" title="hardlinks" rel="tag">hardlinks</a>, <a href="http://www.ghacks.net/tag/junctions/" title="junctions" rel="tag">junctions</a>, <a href="http://www.ghacks.net/tag/links/" title="links" rel="tag">links</a>, <a href="http://www.ghacks.net/tag/mountpoints/" title="mountpoints" rel="tag">mountpoints</a>, <a href="http://www.ghacks.net/tag/ntfs/" title="ntfs" rel="tag">ntfs</a>, <a href="http://www.ghacks.net/tag/shell/" title="shell" rel="tag">shell</a>, <a href="http://www.ghacks.net/tag/shell-extension/" title="shell extension" rel="tag">shell extension</a>, <a href="http://www.ghacks.net/tag/symbolic-links/" title="symbolic links" rel="tag">symbolic links</a>, <a href="http://www.ghacks.net/tag/windows-software/" title="windows software" rel="tag">windows software</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/02/02/ntfs-link-windows-shell-extension/" title="NTFS Link Windows Shell Extension (February 2, 2009)">NTFS Link Windows Shell Extension</a> (11)</li>
	<li><a href="http://www.ghacks.net/2008/11/27/hash-tab-shell-extension/" title="Hash Tab Shell Extension (November 27, 2008)">Hash Tab Shell Extension</a> (2)</li>
	<li><a href="http://www.ghacks.net/2009/03/15/application-mover/" title="Application Mover (March 15, 2009)">Application Mover</a> (9)</li>
	<li><a href="http://www.ghacks.net/2009/06/26/check-file-integrity-with-hashtab/" title="Check File Integrity With HashTab (June 26, 2009)">Check File Integrity With HashTab</a> (8)</li>
	<li><a href="http://www.ghacks.net/2009/03/09/better-file-management-with-open/" title="Better File Management with Open++ (March 9, 2009)">Better File Management with Open++</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2008/10/25/link-shell-extension/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
