{"id":72915,"date":"2021-05-18T12:36:45","date_gmt":"2021-05-18T16:36:45","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/?p=72915"},"modified":"2023-10-31T15:02:30","modified_gmt":"2023-10-31T19:02:30","slug":"symlinks","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/","title":{"rendered":"How to Create &#8220;Symlinks&#8221; (Symbolic Links) In Your File System"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/05\/Symlinks-1024x538.png\" alt=\"How to create symlinks in your file system for Linux \/ BSD \/ GNU \" class=\"wp-image-72917\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/05\/Symlinks-1024x538.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/05\/Symlinks-300x158.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/05\/Symlinks-768x403.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/05\/Symlinks.png 1200w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p> All InMotion Hosting plans allow you to create symbolic links (or, symlinks) on the command line.  All you have to do is access your server via SSH.  The only caveat here is that you create links to files you have access to.  For example, you cannot create links that would require <a href=\"https:\/\/www.inmotionhosting.com\/support\/amp\/obtain-root-access\/\">root access<\/a> \u2014 unless you have a <a href=\"https:\/\/www.inmotionhosting.com\/vps-hosting\">VPS plan<\/a> or above and have obtained root access to that server. (Learn about the differences between <a href=\"https:\/\/www.inmotionhosting.com\/vps-vs-dedicated-server\">VPS hosting vs dedicated server<\/a>.)<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#basics-symlinks\">Target and Link Basics<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#create\">How to Create Symlinks<\/a><\/li>\n\n\n\n<li><a href=\"#rel-and-abs-paths-symlinks\">Absolute and Relative Paths<\/a> <\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><a href=\"#info-symlinks\">Additional Information About <code>ln<\/code><\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#diff-based-symlinks\">Differences Between Symlinks and \u201cHard\u201d Links<\/a><\/li>\n\n\n\n<li><a href=\"#running-ln-4-symlinks\">Running <code>ln<\/code> In Different Environments<\/a> <\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><a href=\"#addition-ln-options-symlinks\">Additional <code>ln<\/code> Options<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#symlinks-rewrite-force\">Force Rewrite of File with <code>-f<\/code><\/a><\/li>\n\n\n\n<li><a href=\"#symlinks-v-option\">Give Yourself Some Extra Verbosity<\/a> <\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"basics-symlinks\">Target and Link Basics<\/h2>\n\n\n\n<p>\nThe most basic operation of <code>ln -s<\/code> requires only two arguments:\n<\/p>\n\n\n\n<ol class=\"org-ol wp-block-list\">\n<li>Target<\/li>\n\n\n\n<li>Link name<\/li>\n<\/ol>\n\n\n\n<p>\nThe resulting process will be the creation of a linked file that will point to the target.  In essence, both files will be identical, but one will merely be a reference to the other.\n<\/p>\n\n\n\n<p>\nIt is important to understand these concepts before proceeding on to making your own links.  As you have no doubt realized, there are many different ways to achieve the same outcomes in any Unix-like operating system.  So why create links instead of doing something else?  Better to learn in advance what this operation intends to accomplish before determining whether or not it is the appropriate action.\n<\/p>\n\n\n\n<p>\nBy creating symlinks, you are in effect taking one file and mirroring it to another.  To put it another way, you are taking information passed to a linked file and sending it to a target file.\n<\/p>\n\n\n\n<p>\nThe basic construction of creating symlinks follows this pattern:\n<\/p>\n\n\n\n<pre class=\"wp-block-preformatted example\">ln -s &lt;target file&gt; &lt;link file&gt;\n<\/pre>\n\n\n\n<p>\nThis can be confusing because the information does not pass from left to right, but rather from right to left.  Information passed to the link file will take effect on the target file.  Modifications made to the target file will stay there.\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"create\">How to Create Symlinks<\/h3>\n\n\n\n<p>\nBefore creating symlinks it\u2019s important to understand how the direction of the link works.  The link will be created <i>from<\/i> the second file <i>to<\/i> the first file provided to <code>ln<\/code>.\n<\/p>\n\n\n\n<pre class=\"wp-block-preformatted example\">ln -s file1 file2\n<\/pre>\n\n\n\n<p>\nThe example above links <code>file2<\/code> -&gt; <code>file1<\/code>.  If <code>file2<\/code> already exists, <code>ln<\/code> will throw an error.  The <code>ln<\/code> program creates the linked file as well as the link itself.\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"rel-and-abs-paths-symlinks\">Absolute and Relative Paths<\/h3>\n\n\n\n<p>\nJust like when linking files on your website, you can give relative or absolute links.  A relative path allows you to give a different path to the file based on different circumstances rather than an absolute path which, as its name suggests, will never change.\n<\/p>\n\n\n\n<p>\nBut why would you want to create a relative symlink?  Imagine you are <a href=\"https:\/\/feryn.eu\/blog\/relative-symlinks\/\" target=\"_blank\" rel=\"noopener noreferrer\">working with the same file on different machines<\/a>, and the path to that file is different on each machine.  You can create a relative symlink in your scripts, so that you can keep referencing the same file in both places.\n<\/p>\n\n\n\n<p>\nYou can create a relative symlink by passing the <code>-r<\/code> option.\n<\/p>\n\n\n\n<pre class=\"wp-block-preformatted example\">ln -rs &lt;target&gt; &lt;link&gt;\n<\/pre>\n\n\n\n<p> In general, absolute links where possible can save you some trouble down the road if you have to do some troubleshooting.  The <code>-r<\/code> option is exactly that, an <em>option<\/em>, if you need it. <\/p>\n\n\n\n<p>\nIn most every day cases the <code>-s<\/code> option will be enough.\n<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"info-symlinks\">Additional Information About <code>ln<\/code><\/h2>\n\n\n\n<p>\nFor those who are interested, below you will find some additional information about how the <code>ln<\/code> program works, and some other issues you might run into while using this command.\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"diff-based-symlinks\">Differences Between Symlinks and \u201cHard\u201d Links<\/h3>\n\n\n\n<p>\nThe default behavior of <code>ln<\/code> (that is, without the <code>-s<\/code> option) creates a hard link to a file.  This means that the target and the linked file are in essence the same \u2014 but not exactly.  This can create some complications, and so is generally not recommended.  You are best advised to use the symlinks option (<code>-s<\/code>) instead of creating hard links.\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"running-ln-4-symlinks\">Running <code>ln<\/code> In Different Environments<\/h3>\n\n\n\n<p> If you find that you are unable to create symlinks but are quite sure you are using the <code>ln<\/code> program correctly there may be a few reasons why problems persist.  Check to make sure that the link name points to an actual target file.  You may also need to check and see that you have the necessary privileges to create a link in the file system, and in the desired location. <\/p>\n\n\n\n<p> Also, some symlinks behave differently depending on your server environment.  Links created in a GNU\/Linux system will not always function in exactly the same way as they would in a BSD system. <\/p>\n\n\n\n<p>\nIf you continue to get an error when trying to create symlinks it\u2019s possible your system configuration does not allow it.  At this point it would be best to check with an IT person, system administrator, or, depending on the situation, your <a href=\"https:\/\/www.inmotionhosting.com\/support\/amp\/how-to-get-great-technical-support\/\">hosting support<\/a>.\n<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"addition-ln-options-symlinks\">Additional <code>ln<\/code> Options<\/h2>\n\n\n\n<p>\nHere are a few good options you might want to take note of when crafting symlinks:\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"symlinks-rewrite-force\">Force Rewrite of File with <code>-f<\/code><\/h3>\n\n\n\n<p> As mentioned the <a href=\"#create\">section above<\/a>, a link file will be created if it does not exist already, and <code>ln<\/code> will throw an error if a link file already exists.  If you think about it, this makes a lot of sense.  If you have a <code>file2<\/code> that exists on your system and it has information in it, but you tell the computer to point that file to <code>file1<\/code>, the computer will say, \u201cNo you can\u2019t do that because <code>file2<\/code> has information in it and will be overwritten.\u201d  This can save you from data loss.  But if you want to go ahead with that operation, and you want to save the step of having to go back and erase <code>file2<\/code>, there\u2019s an option for that.  If you use the <code>-f<\/code> option, you can <em>force<\/em> overwrite of <code>file2<\/code>, effectively using it as a link name to the target (<code>file1<\/code>). <\/p>\n\n\n\n<p>\nHere is the <code>ln<\/code> command using the <code>-s<\/code> (soft) and <code>-f<\/code> (force) options:\n<\/p>\n\n\n\n<pre class=\"wp-block-preformatted example\">ln -sf file1 file2\n<\/pre>\n\n\n\n<p> Notice you can put the options together, or in different places on the line, and the command will still work as expected: <\/p>\n\n\n\n<pre class=\"wp-block-preformatted src src-sh\">ln -s file1 file2 -f\n<\/pre>\n\n\n\n<p>\nBut the latter is not as aesthetically pleasing.\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"symlinks-v-option\">Give Yourself Some Extra Verbosity<\/h3>\n\n\n\n<p>\nThe <code>ln<\/code> utility also accepts a <code>-v<\/code> for verbose output.  This gives you some additional output to make sure that you have created the desired link properly.  It accomplishes this by printing out to you the name of each file after successfully linking the files.  Check out the example below.\n<\/p>\n\n\n\n<p>\nThe command given the <code>-s<\/code> (soft), <code>-r<\/code> (relative, to denote the creation of a relative link), and <code>-v<\/code> (verbose) options:\n<\/p>\n\n\n\n<pre class=\"wp-block-preformatted example\">ln -srv \/a\/file \/tmp\n<\/pre>\n\n\n\n<p>\nAnd here is result printed back to the standard output:\n<\/p>\n\n\n\n<pre class=\"wp-block-preformatted example\">'\/tmp\/file' -&gt; '..\/a\/file'\n<\/pre>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\">\n\n\n\n<p> Creating symlinks is a great way to simplify your life when writing scripts, dealing with your server file system, or just to create convenient pathways to files you use frequently on various machines.  And it may be part of your essential maintenance if you use a <a href=\"https:\/\/www.inmotionhosting.com\/cloud-vps\">VPS cloud server<\/a>. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>All InMotion Hosting plans allow you to create symbolic links (or, symlinks) on the command line. All you have to do is access your server via SSH. The only caveat here is that you create links to files you have access to. For example, you cannot create links that would require root access \u2014 unless<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57014,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4308],"tags":[],"class_list":["post-72915","post","type-post","status-publish","format-standard","hentry","category-linux"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Using Symlinks In Your File System (Explained)<\/title>\n<meta name=\"description\" content=\"Using symlinks in your file system is a great way to create reliable file paths without moving files around or creating extraneous copies.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using Symlinks In Your File System (Explained)\" \/>\n<meta property=\"og:description\" content=\"Using symlinks in your file system is a great way to create reliable file paths without moving files around or creating extraneous copies.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-05-18T16:36:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-31T19:02:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/05\/Symlinks.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\"How to Create &#8220;Symlinks&#8221; (Symbolic Links) In Your File System\",\"datePublished\":\"2021-05-18T16:36:45+00:00\",\"dateModified\":\"2023-10-31T19:02:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/\"},\"wordCount\":1122,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/05\/Symlinks-1024x538.png\",\"articleSection\":[\"Linux\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/\",\"name\":\"Using Symlinks In Your File System (Explained)\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/05\/Symlinks-1024x538.png\",\"datePublished\":\"2021-05-18T16:36:45+00:00\",\"dateModified\":\"2023-10-31T19:02:30+00:00\",\"description\":\"Using symlinks in your file system is a great way to create reliable file paths without moving files around or creating extraneous copies.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/05\/Symlinks.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/05\/Symlinks.png\",\"width\":1200,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Create &#8220;Symlinks&#8221; (Symbolic Links) In Your File System\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Using Symlinks In Your File System (Explained)","description":"Using symlinks in your file system is a great way to create reliable file paths without moving files around or creating extraneous copies.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/","og_locale":"en_US","og_type":"article","og_title":"Using Symlinks In Your File System (Explained)","og_description":"Using symlinks in your file system is a great way to create reliable file paths without moving files around or creating extraneous copies.","og_url":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2021-05-18T16:36:45+00:00","article_modified_time":"2023-10-31T19:02:30+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/05\/Symlinks.png","type":"image\/png"}],"author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":"How to Create &#8220;Symlinks&#8221; (Symbolic Links) In Your File System","datePublished":"2021-05-18T16:36:45+00:00","dateModified":"2023-10-31T19:02:30+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/"},"wordCount":1122,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/05\/Symlinks-1024x538.png","articleSection":["Linux"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/","url":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/","name":"Using Symlinks In Your File System (Explained)","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/05\/Symlinks-1024x538.png","datePublished":"2021-05-18T16:36:45+00:00","dateModified":"2023-10-31T19:02:30+00:00","description":"Using symlinks in your file system is a great way to create reliable file paths without moving files around or creating extraneous copies.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/05\/Symlinks.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/05\/Symlinks.png","width":1200,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/symlinks\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Create &#8220;Symlinks&#8221; (Symbolic Links) In Your File System"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":4308,"name":"Linux","slug":"linux","link":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/72915","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57014"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=72915"}],"version-history":[{"count":7,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/72915\/revisions"}],"predecessor-version":[{"id":107572,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/72915\/revisions\/107572"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=72915"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=72915"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=72915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}