How to Make Hidden Files on Ubuntu
Move the file., Make the file visible by renaming it from its "."
Step-by-Step Guide
-
Step 1: Move the file.
Move the file so that it is prefixed with a dot.
For example, to move a file from the command line, type: mv file .file.
This will also work with directories., prefix or, if you simply want to view it from the file manager, select "Show Hidden Files." or press Ctrl-H.
From the command line, type: ls
-a, to list all files.
To search for this file, run: ls
-a | grep *pattern* for files that match "*pattern*"
using standard wildcards. -
Step 2: Make the file visible by renaming it from its "."
Detailed Guide
Move the file so that it is prefixed with a dot.
For example, to move a file from the command line, type: mv file .file.
This will also work with directories., prefix or, if you simply want to view it from the file manager, select "Show Hidden Files." or press Ctrl-H.
From the command line, type: ls
-a, to list all files.
To search for this file, run: ls
-a | grep *pattern* for files that match "*pattern*"
using standard wildcards.
About the Author
Cheryl Davis
A passionate writer with expertise in home improvement topics. Loves sharing practical knowledge.
Rate This Guide
How helpful was this guide? Click to rate: