{"id":855,"date":"2022-12-06T05:36:36","date_gmt":"2022-12-06T05:36:36","guid":{"rendered":"https:\/\/linuxsimply.com\/?p=855"},"modified":"2024-01-18T07:06:35","modified_gmt":"2024-01-18T07:06:35","slug":"directory-in-linux","status":"publish","type":"post","link":"https:\/\/linuxsimply.com\/directory-in-linux\/","title":{"rendered":"What is Directory in Linux [A Complete Overview]"},"content":{"rendered":"<p style=\"text-align: justify;\">Though quite similar to Windows, the <b>directory <\/b>in <b>Linux <\/b>takes a different objective of using <strong>Terminal<\/strong>. In our day-to-day life, we don\u2019t use <strong>Terminal<\/strong>, but for professional use and automation, we need <strong>Terminal<\/strong>. In <strong>Linux<\/strong>, you should learn the use of <strong>Terminal <\/strong>to access <strong>directories<\/strong>, and in this article, you will specifically learn different commands and applications of <strong>directories <\/strong>in <strong>Linux<\/strong>.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/linuxsimply.com\/directory-in-linux\/#What_is_a_Directory_in_Linux\" >What is a Directory in Linux?<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/linuxsimply.com\/directory-in-linux\/#1_Root_Directory\" >1. Root Directory<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/linuxsimply.com\/directory-in-linux\/#2_Home_Directory\" >2. Home Directory<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/linuxsimply.com\/directory-in-linux\/#21_Using_Symbol_to_Access_Home_Directory\" >2.1 Using ~ Symbol to Access Home Directory<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/linuxsimply.com\/directory-in-linux\/#22_Using_Absolute_Path\" >2.2 Using Absolute Path<\/a><\/li><\/ul><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/linuxsimply.com\/directory-in-linux\/#Accessing_a_Directory_in_Linux_Using_Commands\" >Accessing a Directory in Linux Using Commands<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/linuxsimply.com\/directory-in-linux\/#1_Viewing_the_Current_Directory_Using_%E2%80%9Cpwd%E2%80%9D_Command\" >1. Viewing the Current Directory Using &#8220;pwd&#8221; Command<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/linuxsimply.com\/directory-in-linux\/#2_Navigating_Directories_Using_%E2%80%9Ccd%E2%80%9D_Command\" >2. Navigating Directories Using &#8220;cd&#8221; Command<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/linuxsimply.com\/directory-in-linux\/#3_Viewing_File_Information_Using_the_%E2%80%9Cls%E2%80%9D_Command\" >3. Viewing File Information Using the &#8220;ls&#8221; Command<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/linuxsimply.com\/directory-in-linux\/#Useful_Options\" >Useful Options<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/linuxsimply.com\/directory-in-linux\/#31_-a_Option\" >3.1 -a Option<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/linuxsimply.com\/directory-in-linux\/#32_-l_Option\" >3.2 -l Option<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/linuxsimply.com\/directory-in-linux\/#33_-h_Option\" >3.3 -h Option<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/linuxsimply.com\/directory-in-linux\/#34_-S_Option\" >3.4 -S Option<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/linuxsimply.com\/directory-in-linux\/#4_Copying_a_Directory_in_Linux_Using_the_%E2%80%9Ccp%E2%80%9D_Command\" >4. Copying a Directory in Linux Using the &#8220;cp&#8221; Command<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/linuxsimply.com\/directory-in-linux\/#Useful_Options-2\" >Useful Options:<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/linuxsimply.com\/directory-in-linux\/#41_-r_-R_%E2%80%93recursive_Option\" >4.1 -r, -R, &#8211;recursive Option<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/linuxsimply.com\/directory-in-linux\/#42_-v_Option\" >4.2 -v Option<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/linuxsimply.com\/directory-in-linux\/#5_Moving_a_Directory_Using_the_%E2%80%9Cmv%E2%80%9D_Command\" >5. Moving a Directory Using the &#8220;mv&#8221; Command<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/linuxsimply.com\/directory-in-linux\/#6_Renaming_a_Directory_in_Linux_Using_the_%E2%80%9Cmv%E2%80%9D_Command\" >6. Renaming a Directory in Linux Using the &#8220;mv&#8221; Command<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-21\" href=\"https:\/\/linuxsimply.com\/directory-in-linux\/#Conclusion\" >Conclusion<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-22\" href=\"https:\/\/linuxsimply.com\/directory-in-linux\/#People_Also_Ask\" >People Also Ask<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-23\" href=\"https:\/\/linuxsimply.com\/directory-in-linux\/#What_is_a_directory_in_Linux\" >What is a directory in Linux?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-24\" href=\"https:\/\/linuxsimply.com\/directory-in-linux\/#How_do_I_find_a_directory_in_Linux\" >How do I find a directory in Linux?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-25\" href=\"https:\/\/linuxsimply.com\/directory-in-linux\/#What_is_mkdir_in_Linux\" >What is mkdir in Linux?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-26\" href=\"https:\/\/linuxsimply.com\/directory-in-linux\/#What_is_mv_in_Linux\" >What is mv in Linux?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-27\" href=\"https:\/\/linuxsimply.com\/directory-in-linux\/#What_is_ls_command_in_Linux\" >What is ls command in Linux?<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"What_is_a_Directory_in_Linux\"><\/span>What is a Directory in Linux?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">In a <strong>directory<\/strong>, we store files and folders. <strong>Linux <\/strong>has a <strong>hierarchical <\/strong>file system, just like <strong>UNIX <\/strong>and <strong>MS-DOS<\/strong>. In Windows, you can see a folder system in a <strong>GUI <\/strong>where you can store a file. <strong>Linux <\/strong>also has a similar <strong>directory <\/strong>system. But before <strong>GUI<\/strong>, every computer used <strong>DOS <\/strong>(<strong>D<\/strong>isk <strong>O<\/strong>perating <strong>S<\/strong>ystem), which had a <strong>Terminal <\/strong>to type commands.<\/p>\n<p style=\"text-align: justify;\">Here you will learn to access <strong>directories <\/strong>using a <strong>Terminal<\/strong>. First, you need to know about some basic <strong>directory <\/strong>systems.<\/p>\n<ul>\n<li><strong>Root Directory<\/strong><\/li>\n<li><strong>Home Directory<\/strong><\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"1_Root_Directory\"><\/span>1. Root Directory<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">The <strong>root directory <\/strong>in <b>Linux <\/b>is\u00a0the <strong>ROOT <\/strong>or the starting point of all <strong>directories<\/strong>. It is considered the topmost directory in the <strong>Linux<\/strong> system.<\/p>\n<p style=\"text-align: justify;\">You can access the <strong>root directory <\/strong>using the following command. The command ls is used to view the files inside the <strong>root directory<\/strong>.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">cd \/ <\/code><\/pre>\n<pre><code class=\"language-bash\" data-line=\"\"> ls<\/code><\/pre>\n<h3><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-full wp-image-857\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-1.png\" alt=\"Accessing Root Directory in Linux\" width=\"825\" height=\"271\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-1.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-1-300x99.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-1-1024x336.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-1-767x252.png 767w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-1-1536x505.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-1-2048x673.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-1-457x150.png 457w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-1-100x33.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-1-1065x350.png 1065w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-1-788x258.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/><\/h3>\n<h3><span class=\"ez-toc-section\" id=\"2_Home_Directory\"><\/span>2. Home Directory<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">The <strong>Home directory <\/strong>in <strong>Linux<\/strong> is the <strong>directory<\/strong> owned by a user. Every user in a <strong>Linux <\/strong>system owns a <strong>Home directory<\/strong>. There are many ways of accessing a <strong>Home directory<\/strong>.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"21_Using_Symbol_to_Access_Home_Directory\"><\/span>2.1 Using ~ Symbol to Access Home Directory<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p style=\"text-align: justify;\">You can use the <strong>~ symbol<\/strong>, which indicates the <strong>Home directory <\/strong>symbol. You have to use the <strong>cd <\/strong>command to access the <strong>Home directory<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-858\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-2.png\" alt=\"home directory in linux symbol\" width=\"825\" height=\"231\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-2.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-2-300x84.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-2-1024x287.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-2-768x215.png 768w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-2-1536x430.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-2-2048x573.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-2-536x150.png 536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-2-100x28.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-2-1250x350.png 1250w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-2-788x220.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/><\/p>\n<h4><span class=\"ez-toc-section\" id=\"22_Using_Absolute_Path\"><\/span>2.2 Using Absolute Path<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p style=\"text-align: justify;\">Using the <strong>Absolute path <\/strong>is also another way of accessing the <strong>Home directory<\/strong>. This method is a bit longer and requires knowledge of the <strong>path <\/strong>of the <strong>directory <\/strong>system.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-859\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-3.png\" alt=\"home directory in linux absolute path\" width=\"824\" height=\"214\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-3.png 824w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-3-300x78.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-3-1024x266.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-3-766x199.png 766w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-3-1536x399.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-3-2048x532.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-3-578x150.png 578w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-3-100x26.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-3-1348x350.png 1348w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-3-788x204.png 788w\" sizes=\"(max-width: 824px) 100vw, 824px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Accessing_a_Directory_in_Linux_Using_Commands\"><\/span>Accessing a Directory in Linux Using Commands<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">To use the <strong>directory<\/strong>, you have to know about some special commands.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"1_Viewing_the_Current_Directory_Using_%E2%80%9Cpwd%E2%80%9D_Command\"><\/span>1. Viewing the Current Directory Using &#8220;pwd&#8221; Command<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">You can use the <strong>pwd <\/strong>(<strong>p<\/strong>rint <strong>w<\/strong>orking <strong>d<\/strong>irectory) command to print the <strong>Absolute path <\/strong>of the <strong>current directory<\/strong>. This way, you can keep track of your current <strong>directory <\/strong>without losing your way, even if the structure is quite complex.<\/p>\n<p>To view the current directory using <a href=\"https:\/\/linuxsimply.com\/pwd-command-in-linux\/\" target=\"_blank\" rel=\"noopener\"><strong>pwd<\/strong> <strong>command<\/strong><\/a>, follow the steps below:<\/p>\n<ol>\n<li>Open Terminal in the <strong>FF_2 <\/strong>folder.<\/li>\n<li>Type the following command in <strong>Terminal<\/strong>.\n<pre><code class=\"language-bash\" data-line=\"\">pwd<\/code><\/pre>\n<\/li>\n<li>Press <strong>ENTER. <\/strong>You\u2019ll find the <strong>Absolute path<\/strong> of the <strong>current folder<\/strong>.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-860\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-4.png\" alt=\"directory in linux pwd command\" width=\"825\" height=\"178\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-4.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-4-300x65.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-4-1024x221.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-4-765x165.png 765w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-4-1536x331.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-4-2048x442.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-4-695x150.png 695w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-4-100x22.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-4-1622x350.png 1622w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-4-788x170.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/><\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"2_Navigating_Directories_Using_%E2%80%9Ccd%E2%80%9D_Command\"><\/span>2. Navigating Directories Using &#8220;cd&#8221; Command<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">The <strong>cd <\/strong>(<strong>c<\/strong>hange <strong>d<\/strong>irectory) command will let you navigate between different <strong>directories<\/strong>. Using this command, we can access a <strong>directory <\/strong>from another one.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">cd ~\/Desktop\/DIRECTORY_NAME<\/code><\/pre>\n<p style=\"text-align: justify;\">This command will let you inside\/access the <strong>DIRECTORY_NAME <\/strong>folder in the <strong>Desktop <\/strong>folder.<\/p>\n<ol>\n<li>Let&#8217;s assume you have a file structure like the following:<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-856\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-0.png\" alt=\"folder structure to explain directory in linux\" width=\"825\" height=\"454\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-0.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-0-300x165.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-0-1024x564.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-0-767x422.png 767w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-0-1536x845.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-0-2048x1127.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-0-273x150.png 273w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-0-100x55.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-0-636x350.png 636w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-0-788x433.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/><\/li>\n<li>\n<p style=\"text-align: justify;\">Now, if you want to access the <strong>FF_1 <\/strong>folder, you can navigate step by step like the following:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">cd Desktop\/<\/code><\/pre>\n<p>You will get the <strong>Terminal <\/strong>inside the <strong>Desktop <\/strong>folder.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">cd LinuxSimply\/<\/code><\/pre>\n<p>Now you\u2019re inside the <strong>LinuxSimply <\/strong>folder.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">cd Folder_1<\/code><\/pre>\n<p>You\u2019re inside the <strong>Folder_1 <\/strong>folder.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">cd FF_1<\/code><\/pre>\n<p>Now you\u2019re in the <strong>FF_1 <\/strong>folder.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-861\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-5.png\" alt=\"cd command relative path\" width=\"825\" height=\"269\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-5.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-5-300x98.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-5-1024x334.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-5-767x250.png 767w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-5-1536x501.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-5-2048x668.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-5-460x150.png 460w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-5-100x33.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-5-1073x350.png 1073w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-5-788x256.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/><\/li>\n<li>\n<p style=\"text-align: justify;\">Press <strong>ENTER <\/strong>at the end of every command.<\/p>\n<p style=\"text-align: justify;\">But you can also directly access the <strong>FF_1 <\/strong>folder using the <strong>Absolute Path<\/strong>\u00a0by just typing the following command.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">cd ~\/Desktop\/LinuxSimply\/Folder_1\/FF_1<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-862\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-6.png\" alt=\"cd command absolute path\" width=\"825\" height=\"238\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-6.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-6-300x87.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-6-1024x295.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-6-766x221.png 766w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-6-1536x443.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-6-2048x591.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-6-520x150.png 520w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-6-100x29.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-6-1213x350.png 1213w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-6-788x227.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/><\/li>\n<\/ol>\n<p style=\"text-align: justify;\">There are also 2 other commands that you should know. Follow the step below on how you can navigate to the previous directory or the last accessed directory:<\/p>\n<ol>\n<li>Open <strong>Terminal <\/strong>in FF_1.<\/li>\n<li>To access the <strong>Previous\/Parent<\/strong> <strong>Directory<\/strong>\n<pre><code class=\"language-bash\" data-line=\"\">cd ..<\/code><\/pre>\n<p>To access the <strong>Previously\/Last <\/strong>accessed <strong>Directory<\/strong><\/p>\n<pre><code class=\"language-bash\" data-line=\"\">cd -<\/code><\/pre>\n<\/li>\n<li>\n<p style=\"text-align: justify;\">Press <strong>ENTER.\u00a0<\/strong>The (<strong>..<\/strong>) argument will take you to the<strong> Previous\/Parent directory<\/strong>. The (<strong>&#8211;<\/strong>) argument will let you access the <strong>Previously<\/strong> <strong>accessed<\/strong> <strong>directory<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-864\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-8.png\" alt=\"2 other cd command\" width=\"825\" height=\"261\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-8.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-8-300x95.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-8-1024x324.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-8-765x242.png 765w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-8-1536x486.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-8-2048x648.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-8-474x150.png 474w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-8-100x32.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-8-1106x350.png 1106w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-8-788x249.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/><\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"3_Viewing_File_Information_Using_the_%E2%80%9Cls%E2%80%9D_Command\"><\/span>3. Viewing File Information Using the &#8220;ls&#8221; Command<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">The <strong>ls <\/strong>(<strong>l<\/strong>ist) command is generally used to list the available files inside a <strong>directory, <\/strong>and their information can also be shown using different <strong>options<\/strong>. This command helps us understand what files or folders are inside a directory.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">ls ~\/Desktop\/DIRECTORY_NAME<\/code><\/pre>\n<p style=\"text-align: justify;\">Let\u2019s say you want to know about the files inside the <strong>FF_1 <\/strong>Folder. You can just type the following command and press <strong>ENTER<\/strong>.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">ls<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-865\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-9.png\" alt=\"ls command\" width=\"825\" height=\"132\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-9.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-9-300x48.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-9-1024x164.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-9-763x122.png 763w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-9-1536x246.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-9-2048x328.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-9-938x150.png 938w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-9-100x16.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-9-788x126.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/><\/p>\n<p style=\"text-align: justify;\">This command will show you the content inside the <strong>DIRECTORY_NAME<\/strong> folder. There are some <strong>options <\/strong>to show specific information about the <strong>DIRECTORY_NAME<\/strong>.<\/p>\n<p style=\"text-align: justify;\">Here you will see the <strong>FF_3 <\/strong>folder to show different <strong>options <\/strong>available in <strong>ls<\/strong>.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Useful_Options\"><\/span>Useful Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<h4><span class=\"ez-toc-section\" id=\"31_-a_Option\"><\/span><strong>3.1 -a <\/strong>Option<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p style=\"text-align: justify;\">This option shows all the files or folders inside the <strong>current directory, <\/strong>including the hidden files.<\/p>\n<p>To see how to see the list of files or folders inside the current directory with the hidden files, follow the steps below:<\/p>\n<ol>\n<li>Let\u2019s start the <strong>Terminal <\/strong>in the <strong>FF_3 <\/strong>folder.<\/li>\n<li>Press the following command in the <strong>Terminal<\/strong>.\n<pre><code class=\"language-bash\" data-line=\"\">ls<\/code><\/pre>\n<p>You will only find the file names in the <strong>FF_3 <\/strong>directory.<\/li>\n<li>Now type the following command.\n<pre><code class=\"language-bash\" data-line=\"\">ls -a<\/code><\/pre>\n<\/li>\n<li>Press <strong>ENTER.<\/strong>\n<p style=\"text-align: justify;\">There\u2019s also another folder named <strong>.Moby_Dick.txt<\/strong>. This hidden file was previously not shown using the <strong>ls <\/strong>command.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-866\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-10.png\" alt=\"ls -a command in directory\" width=\"825\" height=\"221\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-10.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-10-300x80.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-10-1024x274.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-10-765x205.png 765w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-10-1536x411.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-10-2048x549.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-10-560x150.png 560w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-10-100x27.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-10-1307x350.png 1307w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-10-788x211.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/><\/p>\n<div class=\"su-note\"  style=\"border-color:#cedfe2;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:#E8F9FC;border-color:#ffffff;color:#333333;\">\n<p><strong>Note:<\/strong>\u00a0You will find some other folders here. The (<strong>.<\/strong>) folder indicates the\u00a0<strong>current<\/strong>\u00a0folder, while the (<strong>..<\/strong>) folder indicates the\u00a0<strong>Previous\/Paren<\/strong>t folder. They are, in general,\u00a0<strong>hidden<\/strong>\u00a0by default.<\/p>\n<\/div><\/div><\/li>\n<\/ol>\n<h4><span class=\"ez-toc-section\" id=\"32_-l_Option\"><\/span><strong>3.2 -l <\/strong>Option<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>This option shows some more information about the <strong>current directory<\/strong>. It presents a long listing format, showing details such as <strong>file permissions<\/strong>, <strong>number<\/strong>\u00a0<strong>of links<\/strong>, <strong>owner<\/strong>, <strong>group<\/strong>, <strong>file<\/strong> <strong>size<\/strong>, <strong>modification<\/strong> <strong>time<\/strong>, and the <strong>name<\/strong> <strong>of the<\/strong> <strong>file<\/strong> or <strong>directory<\/strong>.<\/p>\n<ol>\n<li>Let\u2019s start the <strong>Terminal <\/strong>in the <strong>FF_3 <\/strong>folder.<\/li>\n<li>Type the following commands.\n<pre><code class=\"language-bash\" data-line=\"\">ls -l<\/code><\/pre>\n<p>You will find the files and folders inside the <strong>FF_3 <\/strong>directory.<\/p>\n<p>You can use both<strong> -l<\/strong> and <strong>-a<\/strong> options simultaneously, like <strong>-la<\/strong>.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">ls -la<\/code><\/pre>\n<\/li>\n<li>Press <strong>ENTER<\/strong>. You will see the files in a list view, including hidden files.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-867\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-11.png\" alt=\"ls -l and -la command for directory in linux\" width=\"825\" height=\"397\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-11.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-11-300x144.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-11-1024x493.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-11-767x369.png 767w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-11-1536x739.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-11-2048x986.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-11-312x150.png 312w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-11-100x48.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-11-727x350.png 727w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-11-788x379.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/><div class=\"su-note\"  style=\"border-color:#cedfe2;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:#E8F9FC;border-color:#ffffff;color:#333333;\"><strong>Note:<\/strong>\u00a0You can use multiple options without any\u00a0<strong>SPACE<\/strong> between them and with a single <b>&#8211;<\/b>.<\/div><\/div><\/li>\n<\/ol>\n<h4><span class=\"ez-toc-section\" id=\"33_-h_Option\"><\/span><strong>3.3 -h <\/strong>Option<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>When used with <code class=\"\" data-line=\"\">ls -h<\/code>, it makes file sizes more easily readable by using unit suffixes like <strong>KB<\/strong>, <strong>MB<\/strong>, or <strong>GB<\/strong>.<\/p>\n<ol>\n<li>Open the <strong>Terminal <\/strong>in the <strong>FF_3 <\/strong>folder.<\/li>\n<li>\n<p style=\"text-align: justify;\">Type the following commands to view the information in the <strong>human-readable<\/strong> format for easy understanding.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">ls -h<\/code><\/pre>\n<\/li>\n<li>\n<p style=\"text-align: justify;\">This command won\u2019t be much different because there\u2019s nothing to show in the <strong>human-readable<\/strong> format.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">ls -lh<\/code><\/pre>\n<p style=\"text-align: justify;\">Here, we have the <strong>human-readable<\/strong> format. But the files are empty. So the sizes are shown as zero.<\/p>\n<\/li>\n<li>\n<p style=\"text-align: justify;\">Type the following command to view the file in the human-readable format, including the hidden files.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">ls -lah<\/code><\/pre>\n<\/li>\n<li>\n<p style=\"text-align: justify;\">Press <strong>ENTER<\/strong>. As you can see, there\u2019s a hidden file <strong>.Moby_Dick.txt, <\/strong>inside, and they are shown in a <strong>human-readable<\/strong> format.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-868\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-12.png\" alt=\"ls -h command in human readable format directory in llinux\" width=\"825\" height=\"431\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-12.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-12-300x157.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-12-1024x535.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-12-768x401.png 768w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-12-1536x802.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-12-2048x1070.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-12-287x150.png 287w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-12-100x52.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-12-670x350.png 670w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-12-788x411.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/><\/li>\n<\/ol>\n<h4><span class=\"ez-toc-section\" id=\"34_-S_Option\"><\/span><strong>3.4 -S <\/strong>Option<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p style=\"text-align: justify;\">This option <strong>sorts <\/strong>the file&#8217;s content according to the files&#8217; size\u00a0inside the directory.<\/p>\n<ol>\n<li>Open the <strong>Terminal <\/strong>in the <strong>FF_3 <\/strong>folder.<\/li>\n<li>Type the following commands.\n<pre><code class=\"language-bash\" data-line=\"\">ls -S<\/code><\/pre>\n<p style=\"text-align: justify;\">This command will just sort the files by the file size but won\u2019t show many details.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">ls -lS<\/code><\/pre>\n<p style=\"text-align: justify;\">You can use this command to sort the files and arrange them in a <strong>list view<\/strong>.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">ls -laS<\/code><\/pre>\n<p style=\"text-align: justify;\">This command will show all files, including <strong>hidden files, <\/strong>and sort them according to size in a <strong>list view<\/strong>.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">ls -laSr<\/code><\/pre>\n<p style=\"text-align: justify;\">It is quite similar to the previous one, just in <strong>reverse <\/strong>order. Here, the <strong>-r<\/strong> option sorts the files according to size in reverse order.<\/p>\n<\/li>\n<li>\n<p style=\"text-align: justify;\">Press <strong>ENTER<\/strong>. You will find the result in the display.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-869\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-13.png\" alt=\"using ls -s command to sort directory in linux\" width=\"825\" height=\"498\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-13.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-13-300x181.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-13-1024x618.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-13-767x463.png 767w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-13-1536x927.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-13-2048x1236.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-13-248x150.png 248w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-13-100x60.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-13-580x350.png 580w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-13-788x475.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/><\/p>\n<div class=\"su-note\"  style=\"border-color:#cedfe2;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:#E8F9FC;border-color:#ffffff;color:#333333;\">\n<p><strong>Note:<\/strong>\u00a0<strong>-r<\/strong>\u00a0command option indicates\u00a0<strong>Reverse<\/strong>. You can use the\u00a0<strong>-r<\/strong>\u00a0option to sort in\u00a0<strong>reverse<\/strong>, smaller to larger file order.<\/p>\n<\/div><\/div><\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"4_Copying_a_Directory_in_Linux_Using_the_%E2%80%9Ccp%E2%80%9D_Command\"><\/span>4. Copying a Directory in Linux Using the &#8220;cp&#8221; Command<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">The <a href=\"https:\/\/linuxsimply.com\/cp-command-in-linux\/\" target=\"_blank\" rel=\"noopener\"><strong>cp command<\/strong><\/a> is used to <strong>copy <\/strong>a file or directory. You must provide the <strong>SOURCE_PATH <\/strong>and the <strong>DESTINATION_PATH <\/strong>to use this command.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">cp SOURCE_PATH DESTINATION_PATH<\/code><\/pre>\n<p style=\"text-align: justify;\">This command will copy a <strong>directory\/file<\/strong> from the source directory to the destination directory.<\/p>\n<p style=\"text-align: justify;\">Let\u2019s say you want to copy <strong>FILE_3 <\/strong>from the <strong>FF_3 <\/strong>folder to the <strong>FF_4 <\/strong>folder.<\/p>\n<ol>\n<li>Open the Terminal in the <strong>FF_3 <\/strong>folder.<\/li>\n<li>Type the following commands to copy <strong>FILE_3<\/strong>.\n<pre><code class=\"language-bash\" data-line=\"\">cp FILE_3 ..\/FF_4\/FILE_3<\/code><\/pre>\n<\/li>\n<li>Type the following command to view the files inside the <strong>FF_3 <\/strong>folder\n<pre><code class=\"language-bash\" data-line=\"\">ls<\/code><\/pre>\n<\/li>\n<li>Type the following command to view the files inside the <strong>FF_4 <\/strong>folder.\n<pre><code class=\"language-bash\" data-line=\"\">ls ..\/FF_4\/<\/code><\/pre>\n<\/li>\n<li>Press <strong>ENTER<\/strong>. You can see that <strong>FILE_3 <\/strong>has been copied to the <strong>FF_4 <\/strong>folder.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-870\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-14.png\" alt=\"copying directory in linux a file using cp command\" width=\"825\" height=\"245\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-14.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-14-300x89.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-14-1024x304.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-14-768x228.png 768w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-14-1536x456.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-14-2048x608.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-14-505x150.png 505w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-14-100x30.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-14-1179x350.png 1179w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-14-788x234.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/><\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Useful_Options-2\"><\/span><strong>Useful Options:<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<h4><span class=\"ez-toc-section\" id=\"41_-r_-R_%E2%80%93recursive_Option\"><\/span><strong>4.1 -r, -R, &#8211;recursive <\/strong>Option<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p style=\"text-align: justify;\">Here, <strong>r<\/strong> stands for <strong>recursive<\/strong>. This option is used to <strong>copy <\/strong>the <b>entire directory,<\/b> including files or folders.<\/p>\n<ol>\n<li>\n<p style=\"text-align: justify;\">Open the <strong>Terminal <\/strong>in the <strong>LinuxSimply <\/strong>folder.<\/p>\n<\/li>\n<li>\n<p style=\"text-align: justify;\">Type the following command to copy the whole <strong>FF_3 <\/strong>folder, including inside files from <strong>Folder_1, <\/strong>into the <strong>Folder_2<\/strong>.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">cp -r Folder_2\/FF_3 Folder_1\/FF_3<\/code><\/pre>\n<\/li>\n<li>Type the following command to view the files inside the <strong>Folder_2<\/strong>.\n<pre><code class=\"language-bash\" data-line=\"\">ls Folder_2<\/code><\/pre>\n<p>As you can see, there is the <strong>FF_3 <\/strong>folder inside <strong>Folder_2<\/strong>.<\/li>\n<li>Now type the following command to view the files inside <strong>Folder_1<\/strong>.\n<pre><code class=\"language-bash\" data-line=\"\">ls Folder_1<\/code><\/pre>\n<\/li>\n<li>\n<p style=\"text-align: justify;\">Press <strong>ENTER<\/strong>. You can see that the <strong>FF_3 <\/strong>folder has been copied from <strong>Folder_2 <\/strong>to <strong>Folder_1<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-871\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-15.png\" alt=\"copying directory in linux of a file using cp -r command\" width=\"825\" height=\"176\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-15.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-15-300x64.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-15-1024x218.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-15-764x163.png 764w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-15-1536x328.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-15-2048x437.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-15-703x150.png 703w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-15-100x21.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-15-1641x350.png 1641w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-15-788x168.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/><\/li>\n<\/ol>\n<h4><span class=\"ez-toc-section\" id=\"42_-v_Option\"><\/span><strong>4.2 -v <\/strong>Option<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p style=\"text-align: justify;\">This option shows extra information about the files <strong>copied<\/strong>. Generally, the <strong>path <\/strong>of the<strong> parent files <\/strong>and <strong>copied files<\/strong> are displayed.<\/p>\n<p style=\"text-align: justify;\">Assume you want to copy the folder and view some information about the files.<\/p>\n<ol>\n<li>Open the <strong>LinuxSimply <\/strong>folder.<\/li>\n<li>Type the following command.\n<pre><code class=\"language-bash\" data-line=\"\">cp -rv Folder_2\/FF_3 Folder_1\/FF_3<\/code><\/pre>\n<\/li>\n<li>Press <strong>ENTER<\/strong>. You can see that the details about the files <strong>moved <\/strong>are displayed.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-872\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-16.png\" alt=\"copying directory in linux a folder using cp -rv command\" width=\"825\" height=\"236\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-16.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-16-300x86.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-16-1024x293.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-16-766x219.png 766w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-16-1536x439.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-16-2048x586.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-16-524x150.png 524w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-16-100x29.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-16-1224x350.png 1224w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-16-788x225.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/><\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"5_Moving_a_Directory_Using_the_%E2%80%9Cmv%E2%80%9D_Command\"><\/span>5. Moving a Directory Using the &#8220;mv&#8221; Command<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">The <strong>mv <\/strong>command is used to <strong>move <\/strong>a file into another <strong>directory<\/strong>. The command syntax is the following:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">mv SOURCE DESTINATION<\/code><\/pre>\n<p style=\"text-align: justify;\">Let\u2019s assume you want to move the <strong>FILE_2 <\/strong>file from the <strong>FF_1 <\/strong>folder to the <strong>FF_2 <\/strong>folder. Follow the steps given below to do so:<\/p>\n<ol>\n<li>Open the <strong>LinuxSimply <\/strong>folder.<\/li>\n<li>You can type the following command.\n<pre><code class=\"language-bash\" data-line=\"\">mv Folder_1\/FF_1\/FILE_2 Folder_1\/FF_2\/FILE_2<\/code><\/pre>\n<\/li>\n<li>Type the <strong>ls <\/strong>command to view the files inside.\n<pre><code class=\"language-bash\" data-line=\"\">ls Folder_1\/FF_1<\/code><\/pre>\n<pre><code class=\"language-bash\" data-line=\"\">ls Folder_1\/FF_2<\/code><\/pre>\n<\/li>\n<li>Press <strong>ENTER<\/strong>. As you can see, <strong>FILE_2 <\/strong>has been moved from <strong>FF_1 <\/strong>to <strong>FF_2<\/strong>.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-873\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-17.png\" alt=\"moving directory in linux using mv command\" width=\"825\" height=\"223\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-17.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-17-300x81.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-17-1024x277.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-17-766x207.png 766w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-17-1536x415.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-17-2048x554.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-17-555x150.png 555w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-17-100x27.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-17-1295x350.png 1295w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-17-788x212.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/><\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"6_Renaming_a_Directory_in_Linux_Using_the_%E2%80%9Cmv%E2%80%9D_Command\"><\/span>6. Renaming a Directory in Linux Using the &#8220;mv&#8221; Command<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">The <strong>mv <\/strong>has another function. It\u2019s <strong>renaming<\/strong>. You can use this command to <strong>rename <\/strong>a file in the same directory. But you can also move that file to another directory and rename it simultaneously. The command syntax for renaming is as follows:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">mv SOURCE_PATH DESTINATION_PATH<\/code><\/pre>\n<p style=\"text-align: justify;\">Here <strong>SOURCE_PATH <\/strong>and <strong>DESTINATION_PATH <\/strong>should have different file names at the end. This way, the source file&#8217;s name will change to the destination file.<\/p>\n<p style=\"text-align: justify;\">You can follow these steps to move a file.<\/p>\n<ol>\n<li>Open the <strong>Terminal <\/strong>in the <strong>LinuxSimply <\/strong>folder again.<\/li>\n<li>Type the <strong>ls <\/strong>command to view the file names before renaming.<\/li>\n<li>Type the following command to <strong>rename<\/strong> a file.\n<pre><code class=\"language-bash\" data-line=\"\">mv Folder_1\/FF_1\/FILE_2 Folder_1\/FF_1\/file<\/code><\/pre>\n<\/li>\n<li>Type the <strong>ls <\/strong>command again to view the file names.<\/li>\n<li>Press <strong>ENTER<\/strong>. As you can see, The <strong>FILE_2 <\/strong>file has been <strong>renamed <\/strong>to <strong>file.<\/strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-874\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-18.png\" alt=\"mv command to move a file\" width=\"825\" height=\"181\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-18.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-18-300x66.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-18-1024x225.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-18-766x168.png 766w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-18-1536x337.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-18-2048x449.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-18-684x150.png 684w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-18-100x22.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-18-1595x350.png 1595w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-18-788x172.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/><\/li>\n<\/ol>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">In this article, you learned to use <strong>Terminal <\/strong>to access <strong>directories <\/strong>in <strong>Linux<\/strong>. They are all basic commands, and you will certainly find their use in professional use. You will use these methods and commands for <strong>developing programs<\/strong> or <strong>automation<\/strong> purposes. Yes, there are many <strong>options <\/strong>for each command, and they have different syntaxes. Fortunately, you don\u2019t need to memorize them. You just need to get used to them and find the syntax using the <strong>man <\/strong>command, or you can come back here for a quick recall.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"People_Also_Ask\"><\/span>People Also Ask<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"What_is_a_directory_in_Linux\"><\/span>What is a directory in Linux?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>A directory is a type of file that serves as a container for other files and directories. It organizes the file system hierarchy, providing a structured way to store and retrieve data. Each directory is identified by a name and has its own path within the file system. The root directory, represented by a <strong>forward<\/strong> <strong>slash<\/strong> (\/), is the top-level directory from which the entire file system originates.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"How_do_I_find_a_directory_in_Linux\"><\/span>How do I find a directory in Linux?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To find a directory in Linux, you can use the find command. The basic syntax for finding a directory is as follows:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">find [starting_directory] -type d -name &quot;directory_name&quot;<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"What_is_mkdir_in_Linux\"><\/span>What is mkdir in Linux?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The <strong>mkdir<\/strong> <strong>command<\/strong> is used to create directories or folders. The command stands for &#8220;make directory.&#8221; Its basic syntax is:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">mkdir [directory_name]\n<\/code><\/pre>\n<p>You replace <code class=\"\" data-line=\"\">[directory_name]<\/code> with the name you want to give to the new directory. For example, <code class=\"\" data-line=\"\">mkdir my_directory<\/code> would create a directory named &#8220;my_directory&#8221; in the current working directory. Additionally, you can specify a path to create a directory in a specific location.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"What_is_mv_in_Linux\"><\/span>What is mv in Linux?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The <strong>mv<\/strong> <strong>command<\/strong> is used to move or rename files and directories. Its primary purpose is to transfer files or directories from one location to another or to rename them. The basic syntax is:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">mv [source] [destination]\n<\/code><\/pre>\n<p>You replace [source] with the file or directory you want to move or rename, and [destination] with the target location or new name. If the destination is an existing directory, the source is moved into that directory. If the destination is a non-existent directory and ends with a new name, the source is moved and renamed.<\/p>\n<p>For example, to move a file named &#8220;file.txt&#8221; from the current directory to another directory, you would use:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">mv file.txt \/path\/to\/destination\/\n<\/code><\/pre>\n<p>To rename a file, you can use the mv command as well:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">mv old_name.txt new_name.txt<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"What_is_ls_command_in_Linux\"><\/span>What is ls command in Linux?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The ls command in Linux is used to list the files and directories in a directory. Its basic syntax is:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">ls [options] [directory]<\/code><\/pre>\n<p>By default, when used without any options or directory specified, ls lists the files and directories in the current working directory. You can include various options to customize the output, such as <strong>-l<\/strong> for a detailed (long) listing, <strong>-a<\/strong> to show hidden files, or<strong> -h<\/strong> for human-readable file sizes.<\/p>\n<p><script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"FAQPage\",\n  \"mainEntity\": [{\n    \"@type\": \"Question\",\n    \"name\": \"What is a directory in Linux?\",\n    \"acceptedAnswer\": {\n      \"@type\": \"Answer\",\n      \"text\": \"A directory is a type of file that serves as a container for other files and directories. It organizes the file system hierarchy, providing a structured way to store and retrieve data. Each directory is identified by a name and has its own path within the file system. The root directory, represented by a forward slash (\/), is the top-level directory from which the entire file system originates.\"\n    }\n  },{\n    \"@type\": \"Question\",\n    \"name\": \"How do I find a directory in Linux?\",\n    \"acceptedAnswer\": {\n      \"@type\": \"Answer\",\n      \"text\": \"To find a directory in Linux, you can use the find command. The basic syntax for finding a directory is as follows:<\/p>\n<p>find [starting_directory] -type d -name \\\"directory_name\\\"\"\n    }\n  },{\n    \"@type\": \"Question\",\n    \"name\": \"What is mkdir in Linux?\",\n    \"acceptedAnswer\": {\n      \"@type\": \"Answer\",\n      \"text\": \"The mkdir command is used to create directories or folders. The command stands for \\\"make directory.\\\" Its basic syntax is:<\/p>\n<p>mkdir [directory_name]\n<p>You replace [directory_name] with the name you want to give to the new directory. For example, mkdir my_directory would create a directory named \\\"my_directory\\\" in the current working directory. Additionally, you can specify a path to create a directory in a specific location.\"\n    }\n  },{\n    \"@type\": \"Question\",\n    \"name\": \"What is mv in Linux?\",\n    \"acceptedAnswer\": {\n      \"@type\": \"Answer\",\n      \"text\": \"The mv command is used to move or rename files and directories. Its primary purpose is to transfer files or directories from one location to another or to rename them. The basic syntax is:<\/p>\n<p>mv [source] [destination]\n<p>You replace [source] with the file or directory you want to move or rename, and [destination] with the target location or new name. If the destination is an existing directory, the source is moved into that directory. If the destination is a non-existent directory and ends with a new name, the source is moved and renamed.<\/p>\n<p>For example, to move a file named \\\"file.txt\\\" from the current directory to another directory, you would use:<\/p>\n<p>mv file.txt \/path\/to\/destination\/<\/p>\n<p>To rename a file, you can use the mv command as well:<\/p>\n<p>mv old_name.txt new_name.txt\"\n    }\n  },{\n    \"@type\": \"Question\",\n    \"name\": \"What is ls command in Linux?\",\n    \"acceptedAnswer\": {\n      \"@type\": \"Answer\",\n      \"text\": \"The ls command in Linux is used to list the files and directories in a directory. Its basic syntax is:<\/p>\n<p>ls [options] [directory]\n<p>By default, when used without any options or directory specified, ls lists the files and directories in the current working directory. You can include various options to customize the output, such as -l for a detailed (long) listing, -a to show hidden files, or -h for human-readable file sizes.\"\n    }\n  }]\n}\n<\/script><\/p>\n<hr \/>\n<p><span style=\"font-size: 18pt; color: #000080;\"><strong>Similar Readings<\/strong><\/span><\/p>\n<ul>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/alias-in-linux\/\" target=\"_blank\" rel=\"noopener\">What is Alias in Linux? [Creating, Removing &amp; More]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/relative-path-in-linux\/\" target=\"_blank\" rel=\"noopener\">An Overview of Relative Path in Linux [The Complete Guide]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/absolute-path-in-linux\/\" target=\"_blank\" rel=\"noopener\">An Overview of Absolute Path in Linux [The Complete Guide]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/archive-in-linux\/\" target=\"_blank\" rel=\"noopener\">How to Archive in Linux Using TAR [Archiving, Extraction, Compression]<\/a><\/strong><\/li>\n<\/ul>\n\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-center kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;center&quot;,&quot;id&quot;:&quot;855&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;0&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;0&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;Rate this post&quot;,&quot;legend&quot;:&quot;0\\\/5 - (0 votes)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;title&quot;:&quot;What is Directory in Linux [A Complete Overview]&quot;,&quot;width&quot;:&quot;0&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 0px;\">\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 19.2px;\">\n            <span class=\"kksr-muted\">Rate this post<\/span>\n    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p>Though quite similar to Windows, the directory in Linux takes a different objective of using Terminal. In our day-to-day life, &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"What is Directory in Linux [A Complete Overview]\" class=\"read-more button\" href=\"https:\/\/linuxsimply.com\/directory-in-linux\/#more-855\" aria-label=\"Read more about What is Directory in Linux [A Complete Overview]\">Read more<\/a><\/p>\n","protected":false},"author":314887,"featured_media":875,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[18],"class_list":["post-855","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-glossary","tag-linux-terminology","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What is Directory in Linux [A Complete Overview] - LinuxSimply<\/title>\n<meta name=\"description\" content=\"A directory can be accessed using Terminal in Linux. You can use commands in the Terminal to access, view files, copy and move files.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/linuxsimply.com\/directory-in-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is Directory in Linux [A Complete Overview] - LinuxSimply\" \/>\n<meta property=\"og:description\" content=\"A directory can be accessed using Terminal in Linux. You can use commands in the Terminal to access, view files, copy and move files.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linuxsimply.com\/directory-in-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxSimply\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rafsanzn\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-12-06T05:36:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-18T07:06:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-0-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"400\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Rafsan Zani\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rafsan Zani\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"14 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/directory-in-linux\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/directory-in-linux\\\/\"},\"author\":{\"name\":\"Rafsan Zani\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#\\\/schema\\\/person\\\/8e7276de56e31a832a5d020c11c45e19\"},\"headline\":\"What is Directory in Linux [A Complete Overview]\",\"datePublished\":\"2022-12-06T05:36:36+00:00\",\"dateModified\":\"2024-01-18T07:06:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/directory-in-linux\\\/\"},\"wordCount\":2222,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/directory-in-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/directory-in-linux-0-1.png\",\"keywords\":[\"linux terminology\"],\"articleSection\":[\"Linux Glossary\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/linuxsimply.com\\\/directory-in-linux\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/directory-in-linux\\\/\",\"url\":\"https:\\\/\\\/linuxsimply.com\\\/directory-in-linux\\\/\",\"name\":\"What is Directory in Linux [A Complete Overview] - LinuxSimply\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/directory-in-linux\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/directory-in-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/directory-in-linux-0-1.png\",\"datePublished\":\"2022-12-06T05:36:36+00:00\",\"dateModified\":\"2024-01-18T07:06:35+00:00\",\"description\":\"A directory can be accessed using Terminal in Linux. You can use commands in the Terminal to access, view files, copy and move files.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/directory-in-linux\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/linuxsimply.com\\\/directory-in-linux\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/directory-in-linux\\\/#primaryimage\",\"url\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/directory-in-linux-0-1.png\",\"contentUrl\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/directory-in-linux-0-1.png\",\"width\":400,\"height\":400,\"caption\":\"Feature Image of directory in linux\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/directory-in-linux\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/linuxsimply.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What is Directory in Linux [A Complete Overview]\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#website\",\"url\":\"https:\\\/\\\/linuxsimply.com\\\/\",\"name\":\"LinuxSimply\",\"description\":\"All About Linux\",\"publisher\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/linuxsimply.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#organization\",\"name\":\"LinuxSimply\",\"url\":\"https:\\\/\\\/linuxsimply.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/LinuxSimply-New-Logo-Without-Icon.png\",\"contentUrl\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/LinuxSimply-New-Logo-Without-Icon.png\",\"width\":355,\"height\":48,\"caption\":\"LinuxSimply\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#\\\/schema\\\/person\\\/8e7276de56e31a832a5d020c11c45e19\",\"name\":\"Rafsan Zani\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/Md.-Rafsan-Zani-II-96x96.png\",\"url\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/Md.-Rafsan-Zani-II-96x96.png\",\"contentUrl\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/Md.-Rafsan-Zani-II-96x96.png\",\"caption\":\"Rafsan Zani\"},\"description\":\"Hello, I\u2019m Md. Rafsan Zani. I have recently completed my Undergraduate from the Bangladesh University of Engineering and Technology (BUET). Currently, I\u2019m pursuing higher studies abroad. I\u2019m really interested in computer science and would like to learn a lot about the wonderful world of computers. Currently, I\u2019m working as a Linux Content Developer Executive and find Linux really interesting. I certainly would like to learn more about Linux and implement them in my future studies. Read Full Bio\",\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/rafsanzn\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/md-rafsan-zani-072838168\\\/\"],\"url\":\"https:\\\/\\\/linuxsimply.com\\\/author\\\/rafsan-zani\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is Directory in Linux [A Complete Overview] - LinuxSimply","description":"A directory can be accessed using Terminal in Linux. You can use commands in the Terminal to access, view files, copy and move files.","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:\/\/linuxsimply.com\/directory-in-linux\/","og_locale":"en_US","og_type":"article","og_title":"What is Directory in Linux [A Complete Overview] - LinuxSimply","og_description":"A directory can be accessed using Terminal in Linux. You can use commands in the Terminal to access, view files, copy and move files.","og_url":"https:\/\/linuxsimply.com\/directory-in-linux\/","og_site_name":"LinuxSimply","article_author":"https:\/\/www.facebook.com\/rafsanzn\/","article_published_time":"2022-12-06T05:36:36+00:00","article_modified_time":"2024-01-18T07:06:35+00:00","og_image":[{"width":400,"height":400,"url":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-0-1.png","type":"image\/png"}],"author":"Rafsan Zani","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Rafsan Zani","Est. reading time":"14 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/linuxsimply.com\/directory-in-linux\/#article","isPartOf":{"@id":"https:\/\/linuxsimply.com\/directory-in-linux\/"},"author":{"name":"Rafsan Zani","@id":"https:\/\/linuxsimply.com\/#\/schema\/person\/8e7276de56e31a832a5d020c11c45e19"},"headline":"What is Directory in Linux [A Complete Overview]","datePublished":"2022-12-06T05:36:36+00:00","dateModified":"2024-01-18T07:06:35+00:00","mainEntityOfPage":{"@id":"https:\/\/linuxsimply.com\/directory-in-linux\/"},"wordCount":2222,"commentCount":0,"publisher":{"@id":"https:\/\/linuxsimply.com\/#organization"},"image":{"@id":"https:\/\/linuxsimply.com\/directory-in-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-0-1.png","keywords":["linux terminology"],"articleSection":["Linux Glossary"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/linuxsimply.com\/directory-in-linux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/linuxsimply.com\/directory-in-linux\/","url":"https:\/\/linuxsimply.com\/directory-in-linux\/","name":"What is Directory in Linux [A Complete Overview] - LinuxSimply","isPartOf":{"@id":"https:\/\/linuxsimply.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/linuxsimply.com\/directory-in-linux\/#primaryimage"},"image":{"@id":"https:\/\/linuxsimply.com\/directory-in-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-0-1.png","datePublished":"2022-12-06T05:36:36+00:00","dateModified":"2024-01-18T07:06:35+00:00","description":"A directory can be accessed using Terminal in Linux. You can use commands in the Terminal to access, view files, copy and move files.","breadcrumb":{"@id":"https:\/\/linuxsimply.com\/directory-in-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linuxsimply.com\/directory-in-linux\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxsimply.com\/directory-in-linux\/#primaryimage","url":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-0-1.png","contentUrl":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/directory-in-linux-0-1.png","width":400,"height":400,"caption":"Feature Image of directory in linux"},{"@type":"BreadcrumbList","@id":"https:\/\/linuxsimply.com\/directory-in-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/linuxsimply.com\/"},{"@type":"ListItem","position":2,"name":"What is Directory in Linux [A Complete Overview]"}]},{"@type":"WebSite","@id":"https:\/\/linuxsimply.com\/#website","url":"https:\/\/linuxsimply.com\/","name":"LinuxSimply","description":"All About Linux","publisher":{"@id":"https:\/\/linuxsimply.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/linuxsimply.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/linuxsimply.com\/#organization","name":"LinuxSimply","url":"https:\/\/linuxsimply.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxsimply.com\/#\/schema\/logo\/image\/","url":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/LinuxSimply-New-Logo-Without-Icon.png","contentUrl":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/LinuxSimply-New-Logo-Without-Icon.png","width":355,"height":48,"caption":"LinuxSimply"},"image":{"@id":"https:\/\/linuxsimply.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/linuxsimply.com\/#\/schema\/person\/8e7276de56e31a832a5d020c11c45e19","name":"Rafsan Zani","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/Md.-Rafsan-Zani-II-96x96.png","url":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/Md.-Rafsan-Zani-II-96x96.png","contentUrl":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/Md.-Rafsan-Zani-II-96x96.png","caption":"Rafsan Zani"},"description":"Hello, I\u2019m Md. Rafsan Zani. I have recently completed my Undergraduate from the Bangladesh University of Engineering and Technology (BUET). Currently, I\u2019m pursuing higher studies abroad. I\u2019m really interested in computer science and would like to learn a lot about the wonderful world of computers. Currently, I\u2019m working as a Linux Content Developer Executive and find Linux really interesting. I certainly would like to learn more about Linux and implement them in my future studies. Read Full Bio","sameAs":["https:\/\/www.facebook.com\/rafsanzn\/","https:\/\/www.linkedin.com\/in\/md-rafsan-zani-072838168\/"],"url":"https:\/\/linuxsimply.com\/author\/rafsan-zani\/"}]}},"_links":{"self":[{"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/posts\/855","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/users\/314887"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/comments?post=855"}],"version-history":[{"count":0,"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/posts\/855\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/media\/875"}],"wp:attachment":[{"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/media?parent=855"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/categories?post=855"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/tags?post=855"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}