{"id":84591,"date":"2025-07-07T14:13:23","date_gmt":"2025-07-07T14:13:23","guid":{"rendered":"https:\/\/mailinvest.blog\/index.php\/2025\/07\/07\/what-is-the-linux-working-directory\/"},"modified":"2025-07-07T14:14:32","modified_gmt":"2025-07-07T14:14:32","slug":"what-is-the-linux-working-directory","status":"publish","type":"post","link":"https:\/\/mailinvest.blog\/index.php\/2025\/07\/07\/what-is-the-linux-working-directory\/","title":{"rendered":"What Is the Linux Working Directory?"},"content":{"rendered":"<p> <a href=\"https:\/\/go.fiverr.com\/visit\/?bta=1052423&nci=17043\" Target=\"_Top\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" src=\"https:\/\/fiverr.ck-cdn.com\/tn\/serve\/?cid=40081059\"  width=\"601\" height=\"201\"><\/a>\n<\/p>\n<div>\n<section class=\"emaki-custom-block emaki-custom-key-points\" data-nosnippet=\"\">\n<div class=\"emaki-custom key-points\" id=\"custom_block_0\">\n<h3 class=\"title icon i-list\">Abstract<\/h3>\n<div class=\"custom_block-content key-points\">\n<ul>\n<li>\n                                        The working listing in Linux is crucial for navigating the file system by way of the terminal.\n                        <\/li>\n<li>\n                                        Use the cd command to alter the working listing, with both absolute or relative paths.\n                        <\/li>\n<li>\n                                        The pwd command shows the working listing&#8217;s path, with choices for logical or bodily paths.\n                        <\/li>\n<\/ul>\n<\/div><\/div>\n<\/section>\n<p><!-- No AdsNinja v10 Client! --><\/p>\n<p>Once you\u2019re working in a Linux terminal, a particular listing will all the time be energetic. Linux refers to this because the working listing, and this important idea allows you to navigate your file system, record information, and run instructions.<\/p>\n<p>    <!-- No AdsNinja v10 Client! --><\/p>\n<h2 id=\"what-is-the-working-directory\">\n                        What Is the Working Listing?<br \/>\n               <\/h2>\n<p>The \u201cworking listing\u201d (or \u201cpresent listing,\u201d \u201cpresent working listing\u201d) is an idea that\u2019s particular to the Linux command line, though it must be acquainted even should you\u2019ve by no means opened a terminal. You&#8217;ll be able to consider the working listing as an equal of a listing that you simply could be viewing in your file supervisor, like Recordsdata or Dolphin:<\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img  image-expandable  img-article-item\" style=\"padding-bottom:66.666666666667%\" data-img-url=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/09\/53784642004_3a0f518a4b_o.jpg\" data-modal-id=\"single-image-modal\" data-modal-container-id=\"single-image-modal-container\" data-img-caption=\"&quot;Jerome Thomas \/ How-To Geek&quot;\">\n<figure>\n        <picture><source media=\"(min-width: 1024px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/09\/53784642004_3a0f518a4b_o.jpg?q=49&amp;fit=crop&amp;w=825&amp;dpr=2\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/09\/53784642004_3a0f518a4b_o.jpg?q=49&amp;fit=crop&amp;w=825&amp;dpr=2\"\/><source media=\"(min-width: 768px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/09\/53784642004_3a0f518a4b_o.jpg?q=49&amp;fit=crop&amp;w=825&amp;dpr=2\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/09\/53784642004_3a0f518a4b_o.jpg?q=49&amp;fit=crop&amp;w=825&amp;dpr=2\"\/><source media=\"(min-width: 481px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/09\/53784642004_3a0f518a4b_o.jpg?q=49&amp;fit=crop&amp;w=800&amp;dpr=2\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/09\/53784642004_3a0f518a4b_o.jpg?q=49&amp;fit=crop&amp;w=800&amp;dpr=2\"\/><source media=\"(min-width: 0px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/09\/53784642004_3a0f518a4b_o.jpg?q=49&amp;fit=crop&amp;w=500&amp;dpr=2\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/09\/53784642004_3a0f518a4b_o.jpg?q=49&amp;fit=crop&amp;w=500&amp;dpr=2\"\/><img width=\"2100\" height=\"1400\" loading=\"lazy\" decoding=\"async\" alt=\"The Dolphin file browser open on a Kubuntu desktop showing the Home contents of the directory.\" data-img-url=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/09\/53784642004_3a0f518a4b_o.jpg\" src=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/09\/53784642004_3a0f518a4b_o.jpg\" style=\"display:block;height:auto;max-width:100%;\"\/><\/p>\n<\/picture><figcaption class=\"body-img-caption\">Jerome Thomas \/ How-To Geek<\/figcaption><\/figure>\n<\/p><\/div>\n<\/p><\/div>\n<p> Once you open a terminal, your working listing will often begin as your property listing (e.g. \/residence\/$USER). You&#8217;ll be able to navigate to totally different directories by altering your present working listing, utilizing the cd command. For instance, typing <strong>cd \/<\/strong> will set your working listing to the basis listing. Some instructions you run\u2014like ls, for instance\u2014will function on the working listing, by default:<\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img  image-expandable  img-article-item\" style=\"padding-bottom:38.414634146341%\" data-img-url=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-cd-ls.png\" data-modal-id=\"single-image-modal\" data-modal-container-id=\"single-image-modal-container\" data-img-caption=\"&quot;&quot;\">\n<figure>\n        <picture><source media=\"(min-width: 1024px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-cd-ls.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-cd-ls.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\"\/><source media=\"(min-width: 768px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-cd-ls.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-cd-ls.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\"\/><source media=\"(min-width: 481px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-cd-ls.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-cd-ls.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\"\/><source media=\"(min-width: 0px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-cd-ls.png?q=70&amp;fit=crop&amp;w=500&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-cd-ls.png?q=70&amp;fit=crop&amp;w=500&amp;dpr=1\"\/><img width=\"820\" height=\"315\" loading=\"lazy\" decoding=\"async\" alt=\"A Mac terminal showing effects of cd and ls commands.\" data-img-url=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-cd-ls.png\" src=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-cd-ls.png\" style=\"display:block;height:auto;max-width:100%;\"\/><\/p>\n<\/picture>\n<\/figure><\/div>\n<\/p><\/div>\n<p> With out arguments, ls lists the contents of the working listing. You&#8217;ll be able to override this conduct by passing at the least one path to a file or listing as an argument to ls.<\/p>\n<p>You don\u2019t all the time want to alter the working listing as a result of many instructions can function on any listing or file you cross as an argument. However altering directories could make issues far more handy: you may get away with out typing lengthy paths, for a begin.<\/p>\n<h2 id=\"how-to-change-working-directory\">\n                        The way to Change Working Listing<br \/>\n               <\/h2>\n<p>The cd command may be very easy. You\u2019ll virtually all the time use it like this:<\/p>\n<pre>\n        <code class=\"hljs xml\"><span class=\"hljs-selector-tag\">cd<\/span>\u00a0<span class=\"hljs-selector-attr\">[directory]<\/span><br\/><\/code>\n    <\/pre>\n<p>So <strong>cd \/<\/strong> will change to the basis listing and <strong>cd \/usr\/native\/bin<\/strong> will change to the listing that comprises native binaries in your machine:<\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img  image-expandable  img-article-item\" style=\"padding-bottom:32.394366197183%\" data-img-url=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-bin-ls.png\" data-modal-id=\"single-image-modal\" data-modal-container-id=\"single-image-modal-container\" data-img-caption=\"&quot;&quot;\">\n<figure>\n        <picture><source media=\"(min-width: 1024px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-bin-ls.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-bin-ls.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\"\/><source media=\"(min-width: 768px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-bin-ls.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-bin-ls.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\"\/><source media=\"(min-width: 481px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-bin-ls.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-bin-ls.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\"\/><source media=\"(min-width: 0px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-bin-ls.png?q=70&amp;fit=crop&amp;w=500&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-bin-ls.png?q=70&amp;fit=crop&amp;w=500&amp;dpr=1\"\/><img width=\"852\" height=\"276\" loading=\"lazy\" decoding=\"async\" alt=\"A MacOS terminal showing the results of changing the working directory with cd.\" data-img-url=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-bin-ls.png\" src=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-bin-ls.png\" style=\"display:block;height:auto;max-width:100%;\"\/><\/p>\n<\/picture>\n<\/figure><\/div>\n<\/p><\/div>\n<p> It\u2019s often extra sensible to make use of relative paths as an alternative of typing full absolute paths like within the earlier instance. So, in case your present working listing is \/usr\/native, you possibly can run <strong>cd bin<\/strong> to alter to the listing named \u201cbin\u201d that&#8217;s inside your working listing.<\/p>\n<div class=\"display-card  article article-card small  no-badge  active-content                      \" data-include-community-rating=\"false\" id=\"90d9-48f1-b62637229a0b\" data-nosnippet=\"\">\n<p>\t\t<a class=\"dc-img-link\" href=\"https:\/\/www.howtogeek.com\/666127\/how-to-use-the-cd-command-on-linux\/\"><\/p>\n<div class=\"w-img \">\n<div class=\"body-img landscape \">\n<div class=\"responsive-img  img-featured-4-pin-single-size-featured-secondary\" style=\"padding-bottom:56.25%\" data-img-url=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/02\/52849124270_37375d86a3_o.jpg\" data-modal-id=\"single-image-modal\" data-modal-container-id=\"single-image-modal-container\" data-img-caption=\"&quot;&quot;\">\n<figure>\n        <picture><source media=\"(min-width: 1024px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/02\/52849124270_37375d86a3_o.jpg?q=49&amp;fit=crop&amp;w=422&amp;h=268&amp;dpr=2\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/02\/52849124270_37375d86a3_o.jpg?q=49&amp;fit=crop&amp;w=422&amp;h=268&amp;dpr=2\"\/><source media=\"(min-width: 768px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/02\/52849124270_37375d86a3_o.jpg?q=49&amp;fit=crop&amp;w=310&amp;h=220&amp;dpr=2\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/02\/52849124270_37375d86a3_o.jpg?q=49&amp;fit=crop&amp;w=310&amp;h=220&amp;dpr=2\"\/><source media=\"(min-width: 481px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/02\/52849124270_37375d86a3_o.jpg?q=49&amp;fit=crop&amp;w=720&amp;h=400&amp;dpr=2\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/02\/52849124270_37375d86a3_o.jpg?q=49&amp;fit=crop&amp;w=720&amp;h=400&amp;dpr=2\"\/><source media=\"(min-width: 0px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/02\/52849124270_37375d86a3_o.jpg?q=49&amp;fit=crop&amp;w=432&amp;h=260&amp;dpr=2\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/02\/52849124270_37375d86a3_o.jpg?q=49&amp;fit=crop&amp;w=432&amp;h=260&amp;dpr=2\"\/><img width=\"1920\" height=\"1080\" loading=\"lazy\" decoding=\"async\" alt=\"A terminal open on Ubuntu Linux. \" data-img-url=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/02\/52849124270_37375d86a3_o.jpg\" src=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/02\/52849124270_37375d86a3_o.jpg\" style=\"display:block;height:auto;max-width:100%;\"\/><\/p>\n<\/picture>\n<\/figure><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<p>\t\t<\/a><\/p>\n<p>                    <span data-field=\"label\" class=\"article-card-label\">Associated<\/span><\/p>\n<div class=\"w-display-card-content regular article-block\">\n<h5 class=\"display-card-title \">\n<p>\t\t<a href=\"https:\/\/www.howtogeek.com\/666127\/how-to-use-the-cd-command-on-linux\/\" title=\"How to Use the cd Command on Linux\" target=\"_blank\"><br \/>\n\t\t\tHow to Use the cd Command on Linux<br \/>\n\t\t<\/a><br \/>\n\t<\/h5>\n<p class=\"display-card-excerpt\">You in all probability use the cd command on Linux with out considering a lot about it. However it&#8217;s full of a lot of additional options! <\/p>\n<\/p><\/div>\n<\/p><\/div>\n<p>The cd command additionally has particular conduct while you don\u2019t cross it a listing, i.e. <strong>cd<\/strong>. On this case, it should try to run <strong>cd $HOME<\/strong> which makes it a really fast method of returning to your property listing.<\/p>\n<p>Notice that your shell will often show the title of your working listing within the immediate at first of every line. This will help to orient you, appearing as a helpful \u201cyou&#8217;re right here\u201d reminder. But when your immediate doesn\u2019t embrace this, otherwise you select to take away it, you possibly can all the time use the pwd command to find your present listing.<\/p>\n<h2 id=\"all-about-the-pwd-command\">\n                        All In regards to the pwd Command<br \/>\n               <\/h2>\n<p>The pwd command stands for \u201cprint working listing.\u201d It writes the complete path of your working listing to output:<\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img  image-expandable  img-article-item\" style=\"padding-bottom:29.840848806366%\" data-img-url=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd.png\" data-modal-id=\"single-image-modal\" data-modal-container-id=\"single-image-modal-container\" data-img-caption=\"&quot;&quot;\">\n<figure>\n        <picture><source media=\"(min-width: 1024px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\"\/><source media=\"(min-width: 768px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\"\/><source media=\"(min-width: 481px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\"\/><source media=\"(min-width: 0px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd.png?q=70&amp;fit=crop&amp;w=500&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd.png?q=70&amp;fit=crop&amp;w=500&amp;dpr=1\"\/><img width=\"754\" height=\"225\" loading=\"lazy\" decoding=\"async\" alt=\"The pwd command prints the path of the working directory, in this case, \/usr\/local\/bin.\" data-img-url=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd.png\" src=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd.png\" style=\"display:block;height:auto;max-width:100%;\"\/><\/p>\n<\/picture>\n<\/figure><\/div>\n<\/p><\/div>\n<p> There\u2019s not far more to it, however pwd does assist a pair of complementary choices: -L and -P. These decide how the command offers with symbolic hyperlinks. Take into account the next case:<\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img  image-expandable  img-article-item\" style=\"padding-bottom:30.901856763926%\" data-img-url=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-link.png\" data-modal-id=\"single-image-modal\" data-modal-container-id=\"single-image-modal-container\" data-img-caption=\"&quot;&quot;\">\n<figure>\n        <picture><source media=\"(min-width: 1024px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-link.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-link.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\"\/><source media=\"(min-width: 768px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-link.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-link.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\"\/><source media=\"(min-width: 481px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-link.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-link.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\"\/><source media=\"(min-width: 0px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-link.png?q=70&amp;fit=crop&amp;w=500&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-link.png?q=70&amp;fit=crop&amp;w=500&amp;dpr=1\"\/><img width=\"754\" height=\"233\" loading=\"lazy\" decoding=\"async\" alt=\"The listing of a directory showing one sub-directory and a symbolic link to that sub-directory.\" data-img-url=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-link.png\" src=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-link.png\" style=\"display:block;height:auto;max-width:100%;\"\/><\/p>\n<\/picture>\n<\/figure><\/div>\n<\/p><\/div>\n<p> On this instance, a listing comprises a subdirectory and a hyperlink to that subdirectory. In case you change to the notes listing, pwd will output \u201c&#8230;\/notes\u201d as you\u2019d count on. Nevertheless, should you change to the link-to-notes listing\u2014which is a symbolic hyperlink to notes\u2014you\u2019ll get a special response: \u201c&#8230;\/link-to-notes.\u201d<\/p>\n<p>What\u2019s taking place right here is that pwd is exhibiting the logical present listing. This is sensible because the default; it makes use of the symbolic hyperlinks you\u2019ve already outlined and used, presumably for good motive. Nevertheless, in order for you the bodily path to your working listing as an alternative, use the -P possibility:<\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img  image-expandable  img-article-item\" style=\"padding-bottom:35.818908122503%\" data-img-url=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd-p.png\" data-modal-id=\"single-image-modal\" data-modal-container-id=\"single-image-modal-container\" data-img-caption=\"&quot;&quot;\">\n<figure>\n        <picture><source media=\"(min-width: 1024px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd-p.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd-p.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\"\/><source media=\"(min-width: 768px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd-p.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd-p.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\"\/><source media=\"(min-width: 481px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd-p.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd-p.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\"\/><source media=\"(min-width: 0px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd-p.png?q=70&amp;fit=crop&amp;w=500&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd-p.png?q=70&amp;fit=crop&amp;w=500&amp;dpr=1\"\/><img width=\"751\" height=\"269\" loading=\"lazy\" decoding=\"async\" alt=\"Examples of different output from the pwd command, including the -P option to show the full physical path.\" data-img-url=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd-p.png\" src=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd-p.png\" style=\"display:block;height:auto;max-width:100%;\"\/><\/p>\n<\/picture>\n<\/figure><\/div>\n<\/p><\/div>\n<p> If you wish to ensure of the logical conduct, as an alternative of counting on it because the default, use -L. This may account for any aliases which will have altered the default conduct, for instance. The cd command additionally helps -P and -L choices which have the identical corresponding impact.<\/p>\n<div class=\"display-card  article article-card small  no-badge  active-content                      \" data-include-community-rating=\"false\" id=\"0584-48f8-8758ea7cc366\" data-nosnippet=\"\">\n<p>\t\t<a class=\"dc-img-link\" href=\"https:\/\/www.howtogeek.com\/287014\/how-to-create-and-use-symbolic-links-aka-symlinks-on-linux\/\"><\/p>\n<div class=\"w-img \">\n<div class=\"body-img landscape \">\n<div class=\"responsive-img  img-featured-4-pin-single-size-featured-secondary\" style=\"padding-bottom:66.666666666667%\" data-img-url=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/09\/53784642004_3a0f518a4b_o.jpg\" data-modal-id=\"single-image-modal\" data-modal-container-id=\"single-image-modal-container\" data-img-caption=\"&quot;&quot;\">\n<figure>\n        <picture><source media=\"(min-width: 1024px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/09\/53784642004_3a0f518a4b_o.jpg?q=49&amp;fit=crop&amp;w=422&amp;h=268&amp;dpr=2\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/09\/53784642004_3a0f518a4b_o.jpg?q=49&amp;fit=crop&amp;w=422&amp;h=268&amp;dpr=2\"\/><source media=\"(min-width: 768px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/09\/53784642004_3a0f518a4b_o.jpg?q=49&amp;fit=crop&amp;w=310&amp;h=220&amp;dpr=2\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/09\/53784642004_3a0f518a4b_o.jpg?q=49&amp;fit=crop&amp;w=310&amp;h=220&amp;dpr=2\"\/><source media=\"(min-width: 481px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/09\/53784642004_3a0f518a4b_o.jpg?q=49&amp;fit=crop&amp;w=720&amp;h=400&amp;dpr=2\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/09\/53784642004_3a0f518a4b_o.jpg?q=49&amp;fit=crop&amp;w=720&amp;h=400&amp;dpr=2\"\/><source media=\"(min-width: 0px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/09\/53784642004_3a0f518a4b_o.jpg?q=49&amp;fit=crop&amp;w=432&amp;h=260&amp;dpr=2\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/09\/53784642004_3a0f518a4b_o.jpg?q=49&amp;fit=crop&amp;w=432&amp;h=260&amp;dpr=2\"\/><img width=\"2100\" height=\"1400\" loading=\"lazy\" decoding=\"async\" alt=\"The Dolphin file browser open on a Kubuntu desktop showing the Home contents of the directory.\" data-img-url=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/09\/53784642004_3a0f518a4b_o.jpg\" src=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2024\/09\/53784642004_3a0f518a4b_o.jpg\" style=\"display:block;height:auto;max-width:100%;\"\/><\/p>\n<\/picture>\n<\/figure><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<p>\t\t<\/a><\/p>\n<p>                    <span data-field=\"label\" class=\"article-card-label\">Associated<\/span><\/p>\n<div class=\"w-display-card-content regular article-block\">\n<h5 class=\"display-card-title \">\n<p>\t\t<a href=\"https:\/\/www.howtogeek.com\/287014\/how-to-create-and-use-symbolic-links-aka-symlinks-on-linux\/\" title=\"How to Create and Use Symbolic Links (aka Symlinks) on Linux\" target=\"_blank\"><br \/>\n\t\t\tHow to Create and Use Symbolic Links (aka Symlinks) on Linux<br \/>\n\t\t<\/a><br \/>\n\t<\/h5>\n<p class=\"display-card-excerpt\">Let&#8217;s get symbologic.<\/p>\n<\/p><\/div>\n<\/p><\/div>\n<h2 id=\"what-about-the-pwd-environment-variable\">\n                        What In regards to the PWD Surroundings Variable?<br \/>\n               <\/h2>\n<p>The pwd command makes use of an surroundings variable referred to as PWD to hold out its work. This surroundings variable must be set by any command that alters the present working listing, like cd. You&#8217;ll be able to confirm this by inspecting the worth of $PWD:<\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img  image-expandable  img-article-item\" style=\"padding-bottom:34.308510638298%\" data-img-url=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd-envvar.png\" data-modal-id=\"single-image-modal\" data-modal-container-id=\"single-image-modal-container\" data-img-caption=\"&quot;&quot;\">\n<figure>\n        <picture><source media=\"(min-width: 1024px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd-envvar.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd-envvar.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\"\/><source media=\"(min-width: 768px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd-envvar.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd-envvar.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\"\/><source media=\"(min-width: 481px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd-envvar.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd-envvar.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\"\/><source media=\"(min-width: 0px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd-envvar.png?q=70&amp;fit=crop&amp;w=500&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd-envvar.png?q=70&amp;fit=crop&amp;w=500&amp;dpr=1\"\/><img width=\"752\" height=\"258\" loading=\"lazy\" decoding=\"async\" alt=\"Printing the value of the linux PWD environment variable confirms it is the same as the output from the pwd command.\" data-img-url=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd-envvar.png\" src=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/07\/linux-cwd-pwd-envvar.png\" style=\"display:block;height:auto;max-width:100%;\"\/><\/p>\n<\/picture>\n<\/figure><\/div>\n<\/p><\/div>\n<p> Because of this, in impact, you don\u2019t really want pwd, though PWD will all the time comprise the logical path, not the bodily one.<\/p>\n<div class=\"display-card  article article-card small  no-badge  active-content                      \" data-include-community-rating=\"false\" id=\"785f-4879-b94d6f81677e\" data-nosnippet=\"\">\n<p>\t\t<a class=\"dc-img-link\" href=\"https:\/\/www.howtogeek.com\/668503\/how-to-set-environment-variables-in-bash-on-linux\/\"><\/p>\n<div class=\"w-img \">\n<div class=\"body-img landscape \">\n<div class=\"responsive-img  img-featured-4-pin-single-size-featured-secondary\" style=\"padding-bottom:56.25%\" data-img-url=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2023\/12\/52848911684_7df4a13c44_o-2.jpg\" data-modal-id=\"single-image-modal\" data-modal-container-id=\"single-image-modal-container\" data-img-caption=\"&quot;&quot;\">\n<figure>\n        <picture><source media=\"(min-width: 1024px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2023\/12\/52848911684_7df4a13c44_o-2.jpg?q=49&amp;fit=crop&amp;w=422&amp;h=268&amp;dpr=2\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2023\/12\/52848911684_7df4a13c44_o-2.jpg?q=49&amp;fit=crop&amp;w=422&amp;h=268&amp;dpr=2\"\/><source media=\"(min-width: 768px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2023\/12\/52848911684_7df4a13c44_o-2.jpg?q=49&amp;fit=crop&amp;w=310&amp;h=220&amp;dpr=2\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2023\/12\/52848911684_7df4a13c44_o-2.jpg?q=49&amp;fit=crop&amp;w=310&amp;h=220&amp;dpr=2\"\/><source media=\"(min-width: 481px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2023\/12\/52848911684_7df4a13c44_o-2.jpg?q=49&amp;fit=crop&amp;w=720&amp;h=400&amp;dpr=2\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2023\/12\/52848911684_7df4a13c44_o-2.jpg?q=49&amp;fit=crop&amp;w=720&amp;h=400&amp;dpr=2\"\/><source media=\"(min-width: 0px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2023\/12\/52848911684_7df4a13c44_o-2.jpg?q=49&amp;fit=crop&amp;w=432&amp;h=260&amp;dpr=2\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2023\/12\/52848911684_7df4a13c44_o-2.jpg?q=49&amp;fit=crop&amp;w=432&amp;h=260&amp;dpr=2\"\/><img width=\"1920\" height=\"1080\" loading=\"lazy\" decoding=\"async\" alt=\"A Linux Terminal with the manual for \" data-img-url=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2023\/12\/52848911684_7df4a13c44_o-2.jpg\" src=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2023\/12\/52848911684_7df4a13c44_o-2.jpg\" style=\"display:block;height:auto;max-width:100%;\"\/><\/p>\n<\/picture>\n<\/figure><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<p>\t\t<\/a><\/p>\n<p>                    <span data-field=\"label\" class=\"article-card-label\">Associated<\/span><\/p>\n<div class=\"w-display-card-content regular article-block\">\n<h5 class=\"display-card-title \">\n<p>\t\t<a href=\"https:\/\/www.howtogeek.com\/668503\/how-to-set-environment-variables-in-bash-on-linux\/\" title=\"How to Set Environment Variables in Bash on Linux\" target=\"_blank\"><br \/>\n\t\t\tHow to Set Environment Variables in Bash on Linux<br \/>\n\t\t<\/a><br \/>\n\t<\/h5>\n<p class=\"display-card-excerpt\">A good way to save lots of your self a while. <\/p>\n<\/p><\/div>\n<\/p><\/div>\n<p>Once you change your working listing, your shell can even hold observe of the listing you simply left in OLDPWD. That is helpful for the cd command, which can deal with <strong>cd &#8211;<\/strong> the identical as <strong>cd $OLDPWD<\/strong>, returning you to your earlier working listing. If you have to repeatedly toggle your working listing between two particular directories, you are able to do so with repeated <strong>cd &#8211;<\/strong> instructions.<\/p>\n<\/p><\/div>\n<iframe src=\"https:\/\/www.fiverr.com\/gig_widgets?id=U2FsdGVkX18x7XQvttUTrv1oEqmGNGTgvvCUiUoJ\/AP4z\/UyMz8lXGOLpu15jIMxBbTR0gmD5uBoFvhC4KWeALQRp3h\/X\/AwcVD0K8Wj9H\/ZzYKzcCNHosB9oS4SCJJFWiN85P9ICAc4OgCoE\/wHKIY7CDkf2\/DQ1vqGvk4smVe5cRDEmrLPCWi4FC8p40VUhSmWQ5udCm0zoJtorgWv3vbDQw0kKYkwn39ozAnQXDe+YvWMxkLFWA+O3TFwkJvdkIK+\/AUSnRssPKt5WHY0FhNOxnSPcLslEL4G4\/RfP95ve99U+kRnDy3X+KtzdQLY+u935ghON\/o3UE4IMv9oN6JX9RnxzL\/LRcOgnHigxStSGPKsZYtnz8RWNVT\/rOLAibqiWJadC5MYHRbekF3eg6FOGrQGkXYbsn0+a5aovnlLCbLwIqY9fcS17UX8J235iQ6cdmHNbrPeS84CMm34RA==&affiliate_id=1052423&strip_google_tagmanager=true\" loading=\"lazy\" data-with-title=\"true\" class=\"fiverr_nga_frame\" frameborder=\"0\" height=\"350\" width=\"100%\" referrerpolicy=\"no-referrer-when-downgrade\" data-mode=\"random_gigs\" onload=\" var frame = this; var script = document.createElement('script'); script.addEventListener('load', function() { window.FW_SDK.register(frame); }); script.setAttribute('src', 'https:\/\/www.fiverr.com\/gig_widgets\/sdk'); document.body.appendChild(script); \" ><\/iframe>\n<br \/><a href=\"https:\/\/www.howtogeek.com\/how-the-working-directory-ties-everything-in-linux-together\/\">Source link <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Abstract The working listing in Linux is crucial for navigating the file system by way of the terminal. Use the cd command to alter the&#8230;<\/p>\n","protected":false},"author":1,"featured_media":60113,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-84591","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech-universe"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What Is the Linux Working Directory? - mailinvest.blog<\/title>\n<meta name=\"description\" content=\"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis.mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what&#039;s new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mailinvest.blog\/index.php\/2025\/07\/07\/what-is-the-linux-working-directory\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What Is the Linux Working Directory? - mailinvest.blog\" \/>\n<meta property=\"og:description\" content=\"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis.mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what&#039;s new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mailinvest.blog\/index.php\/2025\/07\/07\/what-is-the-linux-working-directory\/\" \/>\n<meta property=\"og:site_name\" content=\"mailinvest.blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/freelanceracademic\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-07-07T14:13:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-07T14:14:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mailinvest.blog\/wp-content\/uploads\/2024\/11\/a-hand-using-a-laptop-and-linux-mascot-coming-out-of-the-screen-with-a-gear-and-some-files-behind.jp.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"2400\" \/>\n\t<meta property=\"og:image:height\" content=\"1600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin@mailinvest.blog\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin@mailinvest.blog\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2025\\\/07\\\/07\\\/what-is-the-linux-working-directory\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2025\\\/07\\\/07\\\/what-is-the-linux-working-directory\\\/\"},\"author\":{\"name\":\"admin@mailinvest.blog\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#\\\/schema\\\/person\\\/012701c4c204d4e4ebd34f926cfd31a4\"},\"headline\":\"What Is the Linux Working Directory?\",\"datePublished\":\"2025-07-07T14:13:23+00:00\",\"dateModified\":\"2025-07-07T14:14:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2025\\\/07\\\/07\\\/what-is-the-linux-working-directory\\\/\"},\"wordCount\":980,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2025\\\/07\\\/07\\\/what-is-the-linux-working-directory\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/mailinvest.blog\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/a-hand-using-a-laptop-and-linux-mascot-coming-out-of-the-screen-with-a-gear-and-some-files-behind.jp.jpeg\",\"articleSection\":[\"Tech Universe\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2025\\\/07\\\/07\\\/what-is-the-linux-working-directory\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2025\\\/07\\\/07\\\/what-is-the-linux-working-directory\\\/\",\"url\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2025\\\/07\\\/07\\\/what-is-the-linux-working-directory\\\/\",\"name\":\"What Is the Linux Working Directory? - mailinvest.blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2025\\\/07\\\/07\\\/what-is-the-linux-working-directory\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2025\\\/07\\\/07\\\/what-is-the-linux-working-directory\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/mailinvest.blog\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/a-hand-using-a-laptop-and-linux-mascot-coming-out-of-the-screen-with-a-gear-and-some-files-behind.jp.jpeg\",\"datePublished\":\"2025-07-07T14:13:23+00:00\",\"dateModified\":\"2025-07-07T14:14:32+00:00\",\"description\":\"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis.mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what's new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2025\\\/07\\\/07\\\/what-is-the-linux-working-directory\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2025\\\/07\\\/07\\\/what-is-the-linux-working-directory\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2025\\\/07\\\/07\\\/what-is-the-linux-working-directory\\\/#primaryimage\",\"url\":\"https:\\\/\\\/mailinvest.blog\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/a-hand-using-a-laptop-and-linux-mascot-coming-out-of-the-screen-with-a-gear-and-some-files-behind.jp.jpeg\",\"contentUrl\":\"https:\\\/\\\/mailinvest.blog\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/a-hand-using-a-laptop-and-linux-mascot-coming-out-of-the-screen-with-a-gear-and-some-files-behind.jp.jpeg\",\"width\":2400,\"height\":1600},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2025\\\/07\\\/07\\\/what-is-the-linux-working-directory\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/mailinvest.blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What Is the Linux Working Directory?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#website\",\"url\":\"https:\\\/\\\/mailinvest.blog\\\/\",\"name\":\"mailinvest.blog\",\"description\":\"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis. mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what&#039;s new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.\",\"publisher\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/mailinvest.blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#organization\",\"name\":\"mailinvest\",\"url\":\"https:\\\/\\\/mailinvest.blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/mailinvest.blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/default.png\",\"contentUrl\":\"https:\\\/\\\/mailinvest.blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/default.png\",\"width\":1000,\"height\":1000,\"caption\":\"mailinvest\"},\"image\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/freelanceracademic\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#\\\/schema\\\/person\\\/012701c4c204d4e4ebd34f926cfd31a4\",\"name\":\"admin@mailinvest.blog\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/98ed217bd0f3d6a6dcae2d9b0c76e305b049a07275e315e1407e19ec8b08e139?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/98ed217bd0f3d6a6dcae2d9b0c76e305b049a07275e315e1407e19ec8b08e139?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/98ed217bd0f3d6a6dcae2d9b0c76e305b049a07275e315e1407e19ec8b08e139?s=96&d=mm&r=g\",\"caption\":\"admin@mailinvest.blog\"},\"sameAs\":[\"https:\\\/\\\/mailinvest.blog\",\"admin@mailinvest.blog\"],\"url\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/author\\\/adminmailinvest-blog\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What Is the Linux Working Directory? - mailinvest.blog","description":"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis.mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what's new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.","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:\/\/mailinvest.blog\/index.php\/2025\/07\/07\/what-is-the-linux-working-directory\/","og_locale":"en_US","og_type":"article","og_title":"What Is the Linux Working Directory? - mailinvest.blog","og_description":"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis.mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what's new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.","og_url":"https:\/\/mailinvest.blog\/index.php\/2025\/07\/07\/what-is-the-linux-working-directory\/","og_site_name":"mailinvest.blog","article_publisher":"https:\/\/www.facebook.com\/freelanceracademic\/","article_published_time":"2025-07-07T14:13:23+00:00","article_modified_time":"2025-07-07T14:14:32+00:00","og_image":[{"width":2400,"height":1600,"url":"https:\/\/mailinvest.blog\/wp-content\/uploads\/2024\/11\/a-hand-using-a-laptop-and-linux-mascot-coming-out-of-the-screen-with-a-gear-and-some-files-behind.jp.jpeg","type":"image\/jpeg"}],"author":"admin@mailinvest.blog","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin@mailinvest.blog","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/mailinvest.blog\/index.php\/2025\/07\/07\/what-is-the-linux-working-directory\/#article","isPartOf":{"@id":"https:\/\/mailinvest.blog\/index.php\/2025\/07\/07\/what-is-the-linux-working-directory\/"},"author":{"name":"admin@mailinvest.blog","@id":"https:\/\/mailinvest.blog\/#\/schema\/person\/012701c4c204d4e4ebd34f926cfd31a4"},"headline":"What Is the Linux Working Directory?","datePublished":"2025-07-07T14:13:23+00:00","dateModified":"2025-07-07T14:14:32+00:00","mainEntityOfPage":{"@id":"https:\/\/mailinvest.blog\/index.php\/2025\/07\/07\/what-is-the-linux-working-directory\/"},"wordCount":980,"commentCount":0,"publisher":{"@id":"https:\/\/mailinvest.blog\/#organization"},"image":{"@id":"https:\/\/mailinvest.blog\/index.php\/2025\/07\/07\/what-is-the-linux-working-directory\/#primaryimage"},"thumbnailUrl":"https:\/\/mailinvest.blog\/wp-content\/uploads\/2024\/11\/a-hand-using-a-laptop-and-linux-mascot-coming-out-of-the-screen-with-a-gear-and-some-files-behind.jp.jpeg","articleSection":["Tech Universe"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/mailinvest.blog\/index.php\/2025\/07\/07\/what-is-the-linux-working-directory\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/mailinvest.blog\/index.php\/2025\/07\/07\/what-is-the-linux-working-directory\/","url":"https:\/\/mailinvest.blog\/index.php\/2025\/07\/07\/what-is-the-linux-working-directory\/","name":"What Is the Linux Working Directory? - mailinvest.blog","isPartOf":{"@id":"https:\/\/mailinvest.blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mailinvest.blog\/index.php\/2025\/07\/07\/what-is-the-linux-working-directory\/#primaryimage"},"image":{"@id":"https:\/\/mailinvest.blog\/index.php\/2025\/07\/07\/what-is-the-linux-working-directory\/#primaryimage"},"thumbnailUrl":"https:\/\/mailinvest.blog\/wp-content\/uploads\/2024\/11\/a-hand-using-a-laptop-and-linux-mascot-coming-out-of-the-screen-with-a-gear-and-some-files-behind.jp.jpeg","datePublished":"2025-07-07T14:13:23+00:00","dateModified":"2025-07-07T14:14:32+00:00","description":"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis.mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what's new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.","breadcrumb":{"@id":"https:\/\/mailinvest.blog\/index.php\/2025\/07\/07\/what-is-the-linux-working-directory\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mailinvest.blog\/index.php\/2025\/07\/07\/what-is-the-linux-working-directory\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mailinvest.blog\/index.php\/2025\/07\/07\/what-is-the-linux-working-directory\/#primaryimage","url":"https:\/\/mailinvest.blog\/wp-content\/uploads\/2024\/11\/a-hand-using-a-laptop-and-linux-mascot-coming-out-of-the-screen-with-a-gear-and-some-files-behind.jp.jpeg","contentUrl":"https:\/\/mailinvest.blog\/wp-content\/uploads\/2024\/11\/a-hand-using-a-laptop-and-linux-mascot-coming-out-of-the-screen-with-a-gear-and-some-files-behind.jp.jpeg","width":2400,"height":1600},{"@type":"BreadcrumbList","@id":"https:\/\/mailinvest.blog\/index.php\/2025\/07\/07\/what-is-the-linux-working-directory\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mailinvest.blog\/"},{"@type":"ListItem","position":2,"name":"What Is the Linux Working Directory?"}]},{"@type":"WebSite","@id":"https:\/\/mailinvest.blog\/#website","url":"https:\/\/mailinvest.blog\/","name":"mailinvest.blog","description":"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis. mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what&#039;s new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.","publisher":{"@id":"https:\/\/mailinvest.blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mailinvest.blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/mailinvest.blog\/#organization","name":"mailinvest","url":"https:\/\/mailinvest.blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mailinvest.blog\/#\/schema\/logo\/image\/","url":"https:\/\/mailinvest.blog\/wp-content\/uploads\/2022\/01\/default.png","contentUrl":"https:\/\/mailinvest.blog\/wp-content\/uploads\/2022\/01\/default.png","width":1000,"height":1000,"caption":"mailinvest"},"image":{"@id":"https:\/\/mailinvest.blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/freelanceracademic\/"]},{"@type":"Person","@id":"https:\/\/mailinvest.blog\/#\/schema\/person\/012701c4c204d4e4ebd34f926cfd31a4","name":"admin@mailinvest.blog","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/98ed217bd0f3d6a6dcae2d9b0c76e305b049a07275e315e1407e19ec8b08e139?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/98ed217bd0f3d6a6dcae2d9b0c76e305b049a07275e315e1407e19ec8b08e139?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/98ed217bd0f3d6a6dcae2d9b0c76e305b049a07275e315e1407e19ec8b08e139?s=96&d=mm&r=g","caption":"admin@mailinvest.blog"},"sameAs":["https:\/\/mailinvest.blog","admin@mailinvest.blog"],"url":"https:\/\/mailinvest.blog\/index.php\/author\/adminmailinvest-blog\/"}]}},"_links":{"self":[{"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/posts\/84591","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/comments?post=84591"}],"version-history":[{"count":1,"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/posts\/84591\/revisions"}],"predecessor-version":[{"id":84592,"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/posts\/84591\/revisions\/84592"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/media\/60113"}],"wp:attachment":[{"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/media?parent=84591"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/categories?post=84591"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/tags?post=84591"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}