You've successfully subscribed to Maddux NewsWire
Great! Next, complete checkout for full access to Maddux NewsWire
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.
How To Show Hidden Files In Linux

How To Show Hidden Files In Linux

. 3 min read

Computer operating systems work in a variety of ways to protect their important files from any modification or deletion deliberately or not, through several procedures, one of which is to hide these files and keep them away from the eyes of users or hackers. Sometimes, however, modifications may be required, so operating systems have allowed them to be shown through specific steps that we will mention to learn how to show hidden files in Linux and Mac.

Show Hidden Files In Linux

Hidden files in a Linux system are files whose name begins with a period (.), which you will not be able to see through the LS command or through the file manager unless you set it up to show it.

You usually don't need to see these files. Most of them are computer-specific configuration files and paths. However, you may have to modify some of them or move them through the directory structure, so it's best to learn how to show hidden files in Linux through LS, Thunar, Nautilus or Dolphin.

Follow these steps to show hidden files in Linux:

1 - Using the LS command

Open the Terminal window by pressing Ctrl + Alt + T or by pressing the program icon, then type LS -a less where it will allow you to browse the entire content, and you will see hidden and hidden files.

You can scroll up and down between files using the arrow keys, and you can scroll right down the page by pressing Space

3 - Using Thunar, Nautilus, or Dolphin.

Thunar is the effective desktop file manager, Nautilus is the GNOME desktop file manager, and Dolphin is the KDE desktop file manager that replaced Konqueror.

To show hidden files, click on the View menu and activate the Show Hidden Files option or press ctrl + H. But before using these keys, make sure you see the window of the software you're using, whether it's Thunar, Nautilus, or Dolphin. As long as you do not disable this option, hidden files will remain visible.

Show Hidden Files In Mac

MAC hides some sensitive and important files and folders to protect them from deletion or modification, but if the user wants to access them, they should first show them through Terminal, which directs Finder to display all hidden and hidden files and folders. Here's how to show hidden files in Mac in OS X Yosemite:

  1. Close all Finder windows.
  2. Open Terminal by pressing Command + Space.
  3. You will see a field dedicated to searches, type Terminal, and press Return.
  4. At TerminalTerminal, type the following command defaults write AppleShowAllFiles YES and press the Return key, where this command will ask Finder to show all hidden and hidden files.
  5. Open a new Finder window by clicking on its icon to show you all the files.
  6. If you are using an older Mac version such as OS X Mavericks, you must manually restart Finder to see hidden files by long-pressing Alt and right-clicking the Finder icon and choosing Relaunch.

How To Hide And Show Files In Linux Operating Systems

Files in Linux operating systems are handled in two ways:

  • The use of the graphical user interface (GUI), which is similar to the interface in Microsoft systems in terms of the mechanism of work.
  • Working with files through the so-called command editor (Terminal), where requires knowledge of the commands for each operating system, and the existence of the user's rights to modify the properties of files.

How to hide a file via Linux operating systems

  • Login through (GUI) and right-click the file and choose Hidden from the properties.
  • Through the shell (TerminalTerminal) is going to the location of the file, by moving the CD command to the location of the file, for example to move to a file named (filename) on the desktop (cd / home / user / Desktop), and write a dot before the name becomes hidden (. filename).

Displays hidden files via Linux.

  • Using (GUI) the file manager opens, clicking on View from the taskbar, and choosing Show hidden files in the address that the file manager has.
  • Navigate to the file directory and its location in the cd tool, or using the tool (ls -a), or the second option is to display hidden files directly (ls -a /home/user/ Desktop), so that the hidden files appear, and the name is preceded by a period (.filename) .

Source: TeamLinux.Org