{"id":11562,"date":"2022-01-05T16:47:15","date_gmt":"2022-01-05T21:47:15","guid":{"rendered":"http:\/\/local.brightwhiz\/?p=11562"},"modified":"2022-01-05T16:51:45","modified_gmt":"2022-01-05T21:51:45","slug":"show-hidden-files-in-ubuntu","status":"publish","type":"post","link":"http:\/\/local.brightwhiz\/show-hidden-files-in-ubuntu\/","title":{"rendered":"How to Show Hidden Files in Ubuntu and Other Linux Systems"},"content":{"rendered":"\n

Just like in Windows, you can have hidden files and directories are present in Linux systems. These are files that exist in the directory structure but cannot be seen without special options to commands. So, this is how to show hidden files in Ubuntu and Other Linux<\/a> systems.<\/p>\n\n\n\n

When you are in the terminal of your Ubuntu<\/a> system you can use the ls command to list the files in your current directory. Using this command as is will show a list of files and directories excluding the hidden ones. To show the hidden files use this command.<\/p>\n\n\n\n

$ ls -a<\/code><\/pre>\n\n\n\n

In the output, the hidden files and folders will be denoted by the dot (.) before their names.<\/p>\n\n\n\n

myuser@ubuntu:\/$ ls -a\n.   bin   dev  home  lib32  libx32      media  opt   root  sbin  srv  tmp  var\n..  boot  etc  lib   lib64  lost+found  mnt    proc  run   snap  sys  usr\nmyuser@ubuntu:\/$<\/code><\/pre>\n\n\n\n

If you use Ubuntu or other similar Desktop Linux, you can still see the hidden files and directories. This can be done by opening the File Manager<\/a> then using the “Ctrl+H<\/strong>” keyboard shortcut in Ubuntu.<\/p>\n\n\n\n

<\/figure>\n\n\n\n

The “Ctrl+H<\/strong>” keyboard shortcut in Ubuntu will toggle the visibility of the hidden files and directories therefore the same command can be used to hide hidden files in Ubuntu.<\/p>\n\n\n\n

How to hide files or folders in Ubuntu<\/h2>\n\n\n\n

To hide a file or folder in Ubuntu is quite simple. Just rename the target file by prepending a dot before its file name.<\/p>\n\n\n\n

Example:<\/p>\n\n\n\n

$ sudo mv myfile .myfile<\/code><\/pre>\n\n\n\n

On Linux Desktop, right-click on the file or directory icon and choose the rename option, then add the dot before the name.<\/p>\n\n\n\n

Bonus: Show Hidden Files in Ubuntu in Bulk<\/h2>\n\n\n\n

if you create a .hidden file and add the names of the directories in this file, those directories will be hidden from view when you close your file manager and open it again. This is true only for objects within the current directory and will not propagate to other sub-directories.<\/p>\n","protected":false},"excerpt":{"rendered":"

Just like in Windows, you can have hidden files and directories are present in Linux systems. These are files that exist in the directory structure but cannot be seen without…<\/p>\n","protected":false},"author":1,"featured_media":11564,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,23,9,16,18],"tags":[193,237,354,424,531,573,591,598],"yoast_head":"\nHow to Show Hidden Files in Ubuntu and Other Linux Systems<\/title>\n<meta name=\"description\" content=\"Use these methods to show hidden files in Ubuntu and other Linux systems in both the terminal with command-line and Desktop environments\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/local.brightwhiz\/show-hidden-files-in-ubuntu\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Show Hidden Files in Ubuntu and Other Linux Systems\" \/>\n<meta property=\"og:description\" content=\"Use these methods to show hidden files in Ubuntu and other Linux systems in both the terminal with command-line and Desktop environments\" \/>\n<meta property=\"og:url\" content=\"http:\/\/local.brightwhiz\/show-hidden-files-in-ubuntu\/\" \/>\n<meta property=\"og:site_name\" content=\"Brightwhiz.com\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/brightwhiz\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-05T21:47:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-01-05T21:51:45+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2022\/01\/show-hidden-files-in-ubuntu.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"680\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Michael Bright\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@brightwhizmag\" \/>\n<meta name=\"twitter:site\" content=\"@brightwhizmag\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Michael Bright\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/local.brightwhiz\/show-hidden-files-in-ubuntu\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/local.brightwhiz\/show-hidden-files-in-ubuntu\/\"},\"author\":{\"name\":\"Michael Bright\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32\"},\"headline\":\"How to Show Hidden Files in Ubuntu and Other Linux Systems\",\"datePublished\":\"2022-01-05T21:47:15+00:00\",\"dateModified\":\"2022-01-05T21:51:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/local.brightwhiz\/show-hidden-files-in-ubuntu\/\"},\"wordCount\":304,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/local.brightwhiz\/#organization\"},\"image\":{\"@id\":\"http:\/\/local.brightwhiz\/show-hidden-files-in-ubuntu\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2022\/01\/show-hidden-files-in-ubuntu.jpg\",\"keywords\":[\"DevOps\",\"File Systems\",\"Linux\",\"Open Source\",\"Server\",\"Systems Administration\",\"Tools\",\"Ubuntu\"],\"articleSection\":[\"Articles\",\"Guides\",\"How To\",\"Technology\",\"Tools\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\/\/local.brightwhiz\/show-hidden-files-in-ubuntu\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/local.brightwhiz\/show-hidden-files-in-ubuntu\/\",\"url\":\"http:\/\/local.brightwhiz\/show-hidden-files-in-ubuntu\/\",\"name\":\"How to Show Hidden Files in Ubuntu and Other Linux Systems\",\"isPartOf\":{\"@id\":\"http:\/\/local.brightwhiz\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/local.brightwhiz\/show-hidden-files-in-ubuntu\/#primaryimage\"},\"image\":{\"@id\":\"http:\/\/local.brightwhiz\/show-hidden-files-in-ubuntu\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2022\/01\/show-hidden-files-in-ubuntu.jpg\",\"datePublished\":\"2022-01-05T21:47:15+00:00\",\"dateModified\":\"2022-01-05T21:51:45+00:00\",\"description\":\"Use these methods to show hidden files in Ubuntu and other Linux systems in both the terminal with command-line and Desktop environments\",\"breadcrumb\":{\"@id\":\"http:\/\/local.brightwhiz\/show-hidden-files-in-ubuntu\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/local.brightwhiz\/show-hidden-files-in-ubuntu\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/local.brightwhiz\/show-hidden-files-in-ubuntu\/#primaryimage\",\"url\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2022\/01\/show-hidden-files-in-ubuntu.jpg\",\"contentUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2022\/01\/show-hidden-files-in-ubuntu.jpg\",\"width\":1280,\"height\":680,\"caption\":\"Show Hidden Files in Ubuntu\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/local.brightwhiz\/show-hidden-files-in-ubuntu\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/local.brightwhiz\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Show Hidden Files in Ubuntu and Other Linux Systems\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/local.brightwhiz\/#website\",\"url\":\"http:\/\/local.brightwhiz\/\",\"name\":\"Brightwhiz.com\",\"description\":\"Best Tech guides, Tutorials, and News\",\"publisher\":{\"@id\":\"http:\/\/local.brightwhiz\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/local.brightwhiz\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"http:\/\/local.brightwhiz\/#organization\",\"name\":\"Brightwhiz\",\"url\":\"http:\/\/local.brightwhiz\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png\",\"contentUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png\",\"width\":706,\"height\":135,\"caption\":\"Brightwhiz\"},\"image\":{\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/brightwhiz\/\",\"https:\/\/x.com\/brightwhizmag\",\"https:\/\/instagram.com\/bright_whiz\/\",\"https:\/\/www.pinterest.com\/sobbayi\/\",\"https:\/\/www.youtube.com\/channel\/UC6sCdP_d_RiTIM7ErFT-PSQ\"]},{\"@type\":\"Person\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32\",\"name\":\"Michael Bright\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g\",\"caption\":\"Michael Bright\"},\"sameAs\":[\"https:\/\/sobbayi.com\"],\"url\":\"http:\/\/local.brightwhiz\/author\/sobbayiadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Show Hidden Files in Ubuntu and Other Linux Systems","description":"Use these methods to show hidden files in Ubuntu and other Linux systems in both the terminal with command-line and Desktop environments","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":"http:\/\/local.brightwhiz\/show-hidden-files-in-ubuntu\/","og_locale":"en_US","og_type":"article","og_title":"How to Show Hidden Files in Ubuntu and Other Linux Systems","og_description":"Use these methods to show hidden files in Ubuntu and other Linux systems in both the terminal with command-line and Desktop environments","og_url":"http:\/\/local.brightwhiz\/show-hidden-files-in-ubuntu\/","og_site_name":"Brightwhiz.com","article_publisher":"https:\/\/www.facebook.com\/brightwhiz\/","article_published_time":"2022-01-05T21:47:15+00:00","article_modified_time":"2022-01-05T21:51:45+00:00","og_image":[{"width":1280,"height":680,"url":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2022\/01\/show-hidden-files-in-ubuntu.jpg","type":"image\/jpeg"}],"author":"Michael Bright","twitter_card":"summary_large_image","twitter_creator":"@brightwhizmag","twitter_site":"@brightwhizmag","twitter_misc":{"Written by":"Michael Bright","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/local.brightwhiz\/show-hidden-files-in-ubuntu\/#article","isPartOf":{"@id":"http:\/\/local.brightwhiz\/show-hidden-files-in-ubuntu\/"},"author":{"name":"Michael Bright","@id":"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32"},"headline":"How to Show Hidden Files in Ubuntu and Other Linux Systems","datePublished":"2022-01-05T21:47:15+00:00","dateModified":"2022-01-05T21:51:45+00:00","mainEntityOfPage":{"@id":"http:\/\/local.brightwhiz\/show-hidden-files-in-ubuntu\/"},"wordCount":304,"commentCount":0,"publisher":{"@id":"http:\/\/local.brightwhiz\/#organization"},"image":{"@id":"http:\/\/local.brightwhiz\/show-hidden-files-in-ubuntu\/#primaryimage"},"thumbnailUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2022\/01\/show-hidden-files-in-ubuntu.jpg","keywords":["DevOps","File Systems","Linux","Open Source","Server","Systems Administration","Tools","Ubuntu"],"articleSection":["Articles","Guides","How To","Technology","Tools"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/local.brightwhiz\/show-hidden-files-in-ubuntu\/#respond"]}]},{"@type":"WebPage","@id":"http:\/\/local.brightwhiz\/show-hidden-files-in-ubuntu\/","url":"http:\/\/local.brightwhiz\/show-hidden-files-in-ubuntu\/","name":"How to Show Hidden Files in Ubuntu and Other Linux Systems","isPartOf":{"@id":"http:\/\/local.brightwhiz\/#website"},"primaryImageOfPage":{"@id":"http:\/\/local.brightwhiz\/show-hidden-files-in-ubuntu\/#primaryimage"},"image":{"@id":"http:\/\/local.brightwhiz\/show-hidden-files-in-ubuntu\/#primaryimage"},"thumbnailUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2022\/01\/show-hidden-files-in-ubuntu.jpg","datePublished":"2022-01-05T21:47:15+00:00","dateModified":"2022-01-05T21:51:45+00:00","description":"Use these methods to show hidden files in Ubuntu and other Linux systems in both the terminal with command-line and Desktop environments","breadcrumb":{"@id":"http:\/\/local.brightwhiz\/show-hidden-files-in-ubuntu\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/local.brightwhiz\/show-hidden-files-in-ubuntu\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/local.brightwhiz\/show-hidden-files-in-ubuntu\/#primaryimage","url":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2022\/01\/show-hidden-files-in-ubuntu.jpg","contentUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2022\/01\/show-hidden-files-in-ubuntu.jpg","width":1280,"height":680,"caption":"Show Hidden Files in Ubuntu"},{"@type":"BreadcrumbList","@id":"http:\/\/local.brightwhiz\/show-hidden-files-in-ubuntu\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/local.brightwhiz\/"},{"@type":"ListItem","position":2,"name":"How to Show Hidden Files in Ubuntu and Other Linux Systems"}]},{"@type":"WebSite","@id":"http:\/\/local.brightwhiz\/#website","url":"http:\/\/local.brightwhiz\/","name":"Brightwhiz.com","description":"Best Tech guides, Tutorials, and News","publisher":{"@id":"http:\/\/local.brightwhiz\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/local.brightwhiz\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"http:\/\/local.brightwhiz\/#organization","name":"Brightwhiz","url":"http:\/\/local.brightwhiz\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/","url":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png","contentUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png","width":706,"height":135,"caption":"Brightwhiz"},"image":{"@id":"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/brightwhiz\/","https:\/\/x.com\/brightwhizmag","https:\/\/instagram.com\/bright_whiz\/","https:\/\/www.pinterest.com\/sobbayi\/","https:\/\/www.youtube.com\/channel\/UC6sCdP_d_RiTIM7ErFT-PSQ"]},{"@type":"Person","@id":"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32","name":"Michael Bright","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/local.brightwhiz\/#\/schema\/person\/image\/","url":"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g","contentUrl":"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g","caption":"Michael Bright"},"sameAs":["https:\/\/sobbayi.com"],"url":"http:\/\/local.brightwhiz\/author\/sobbayiadmin\/"}]}},"_links":{"self":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts\/11562"}],"collection":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/comments?post=11562"}],"version-history":[{"count":0,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts\/11562\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/media\/11564"}],"wp:attachment":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/media?parent=11562"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/categories?post=11562"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/tags?post=11562"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}