QueHow

A How-To and wiki Blog

  • Operating System
    • Windows
      • Windows 10
      • Windows 7
    • Linux
  • Software
    • Application Software
    • Microsoft Office
      • Outlook
      • Word
      • PowerPoint
  • Internet
    • Browsers
      • Mozilla Firefox
      • Google Chrome
    • CMS
    • Tips & Tricks
  • Website
    • ecommerce
    • Google
    • Social Networking
    • General Websites
  • Mobile
  • Email
    • Gmail
  • Wiki

How to Hide & Show Files and Folders in Ubuntu

By Neha T Leave a Comment

Are you in need to sock away the files and folders from prying eyes? You are at the right place. There would be multiple reasons to hide & show files and folders in Ubuntu. It could be: don’t want to share a specific file or folder with the one who shares your system. In Linux based distributions, you can deliberately make some private folders or files hidden from others.

Through this article, you will learn how to hide & show files and folders in Ubuntu by performing the steps as explained below. I have used Ubuntu 14.04 version, but however, the steps can be applied to all other versions and distros like Linux Mint.

Steps to Hide & Show Files and Folders in Ubuntu

Method 1 of 2:

Using the Terminal:

Step 1: Open up the terminal, go to the directory in which you want to create a hidden folder. As I want to create that folder on desktop, for that, use the command “cd Desktop“, and press enter.

How-to-hide-and-show-folders-and-files-in-ubuntu-step1

Step 2: Now you will be redirected to the desktop directory. Here, you may create a folder using the command: “mkdir hidden”, where mkdir stands for make directory and ‘hidden’ is the name which I opt for my hidden folder.

How-to-hide-and-show-folders-and-files-in-ubuntu-step2

Step 3: Now Type “ls” command for listing all the files and directory stored in this particular location. You”ll surely get the folder named as ‘hidden’ in this list as shown in the figure below.

For better understanding I had displayed hidden folder on the desktop as well.

How-to-hide-and-show-folders-and-files-in-ubuntu-step3

Step 4: In Linux system, all the files which are hidden had a prefix before the file name as (dot)’period’ . If you want to hide a folder, then you should also do the same. For that, type “mv hidden .hidden”, as you know that mv command is used to move the file that will move the ordinary directory/folder which you have created to an invisible file.

Follow this step and proceed.

How-to-hide-and-show-folders-and-files-in-ubuntu-step4

Step 5: Again, use “ls” command, Now you will observe that the ‘hidden’ folder is no longer available on desktop as well as in the desktop directory.

How-to-hide-and-show-folders-and-files-in-ubuntu-step5

Step 6: In order to view all the invisible as well as ordinary folders, we use “ls-a” command.

Type “ls -a” to see the effect.

How-to-hide-and-show-folders-and-files-in-ubuntu-step6

Show Folders:

Step 7: Type “mv .hidden hidden” to make the folder visible to everyone.

How-to-hide-and-show-folders-and-files-in-ubuntu-step7

Method 2 of 2:

With Graphical User Interface:

Step 1: Go to the ‘files’ icon, click on it. Here, all the files are stored.

How-to-hide-and-show-folders-and-files-in-ubuntu-step1

Step 2: I had selected ‘Documents’ area to create a folder. As of now there is no folder here, Right click on the empty area and choose “New Folder” to create a folder.

How-to-hide-and-show-folders-and-files-in-ubuntu-step2

Step 3: Give a name to the folder, I named it as ‘secretfolder’.

How-to-hide-and-show-folders-and-files-in-ubuntu-step3

Step 4: Double click on that folder to open it. Now, right click anywhere and then click on ‘New Document’, to expand it click on the arrow on the right side of it. Choose the ‘Empty Document’.

How-to-hide-and-show-folders-and-files-in-ubuntu-step4

Step 5: I have Named the document similar to the folder, as shown in the image below.

How-to-hide-and-show-folders-and-files-in-ubuntu-step5

Step 6: Go back to the folder, and right click on it to rename.

How-to-hide-and-show-folders-and-files-in-ubuntu-step6

Step 7: Put a dot before the name of the folder, to make it hidden from others and nobody could imagine that there is a folder located here.

How-to-hide-and-show-folders-and-files-in-ubuntu-step7

Step 8: Close the window and then again go to the Documents area. Here, you would not find your folder.In order to view it, press “Ctrl + H”.

It will be visible to you, to hide it: do the same.

How-to-hide-and-show-folders-and-files-in-ubuntu-step8

In this way, you people have learned how to hide folders as well files inside it.

Like our page, if you find this tutorial helpful.

You Might Also Like:

how-to-copy-and-move-files-and-directories-in-ubuntuHow to Copy and Move Files & Directories in Ubuntu How we can Change the Directory in Ubuntu How to create a zip file using terminal in Ubuntu 14.04 How to use ‘tar’ command to create archives in Ubuntu 14.04 how-to-hide-file-and-folder-in-windows-7-featured-imageHow to Hide Files and Folders in Windows 7? How-to-download-files-from-Dropbox-Featured-imageHow to download files/folders from Dropbox? Share-in-OneDrive-feature-imageHow to Share Files and Folders in OneDrive? How to Show Hidden Files in Windows 7

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Most Viewed

  • How to Install and Use TELNET in Ubuntu
  • How to install Hindi fonts in MS Word
  • How to Change a File Extension in Windows 10?
  • How to create a flipkart account in 3 simple steps
  • How to Change Monitor Refresh Rate in Windows 10?
  • How to install IIS on Windows 10
  • How to Insert Clickable Checkbox in MS Word 2016?
  • How to Set Auto Reply in Outlook 2016?
  • How to Login as Administrator in Windows 10?
  • How to Check RAM Size and System Type in Windows 10?

Recent Additions

  • How to Add Hyperlink to Another Sheet in Excel?
  • How to Add and Remove Watermark in Excel
  • How to use Relative and Absolute Cell Reference in Excel?
  • How to Enable and Disable Scroll Lock in Excel?
  • How to Use INDEX and MATCH Functions in Excel?
  • How to Make Bar Graph in Excel?
  • How to Count Duplicate Values in Excel?
  • How to Wrap Text in Excel?
  • How to Round off Numbers in Excel?
  • How to Create a Bell Curve in Excel?

Related Searches

  • How to Create Macros in MS Excel 2016?
  • How to delete “Google apps for Work” account
  • How to Hide and Unhide Rows & Columns in Excel?
  • How to View Module Positions in Joomla 3.x
  • How to Remove Babylon Search from Mozilla

Copyright © 2023 · QueHow · Contact Us