How to unhide a directory?

QuestionsQuestions8 SkillsProBasic Files OperationsSep, 19 2025
0100

To "unhide" a directory in Linux, you can rename it to remove the leading dot (.) from its name. This can be done using the mv command. Here’s how:

Command:

mv .hidden_directory hidden_directory

Explanation:

  • mv is the command used to move or rename files and directories.
  • This command renames .hidden_directory to hidden_directory, making it visible.

Verification:

To check that the directory is now visible, you can use:

ls

This will list all non-hidden directories and files. If you have any further questions or need assistance, feel free to ask!

0 Comments

no data
Be the first to share your comment!