Hidden file and hidden directory

Hidden file and hidden directory

In computing, a hidden directory or hidden file on a computer is a directory (folder) or file which a user cannot see by default. Hidden directories most often serve to hide important operating system-related files and user preferences. However, malicious programs can also use this functionality to hide their presence from unaware users.

Contents

Unix and Unix-like environments

In Unix-like operating systems there is a convention that a file or directories with a filename that starts with a period/full stop character (for example: /home/user/.config) is to be treated as hidden. How to show or hide them either depends on the file manager in use (e.g. mc shows them by default, Ctrl-h (h stands for hidden) is the keyboard shortcut to show in Nautilus) or ls with the flag -a can reveal otherwise invisible resources: (ls -a).

Additionally, wildcards on the shell command line will not match dotfiles unless they start with an explicit '.' .

A common use these dotfiles is for personal configuration settings.[1][2][3]

Mac OS X

In addition to the "dotfile" behaviour, files with the "Invisible" attribute are hidden in Finder in Mac OS X. This is set using the SetFile command. For example, invoking SetFile -a V jimbo will hide the file "jimbo". Alternate way is to use chflags command. chflags nohidden ~/Library/ clears hidden attribute on user's Library folder on Mac OS X 10.7 while SetFile fails with an error.

GNOME

In addition to hiding "dotfiles", the Nautilus file manager also looks for a text file named .hidden in each directory and hides all files listed inside.

DOS

In MS-DOS and other DOS systems, users can make files and folders hidden or visible by toggling their Hidden File attribute using attrib command. Invoking dir /a may reveal the existence of unsuspected hidden objects.

Microsoft Windows

In Microsoft Windows, hiding resembles that of DOS — users can hide or unhide items by toggling the "Hidden" attribute, using attrib or Windows Explorer.

References

External links


Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • File Allocation Table — For other uses, see Fat (disambiguation). FAT Developer Microsoft Full Name File Allocation Table FAT12 (12‑bit version) FAT16/FAT16B (16‑bit versions) FAT32 (32‑bit version with 28 bits used) Introduced …   Wikipedia

  • File manager — For the Windows 3.x file manager, see File Manager (Windows). A file manager or file browser is a computer program that provides a user interface to work with file systems. The most common operations performed on files or groups of files are:… …   Wikipedia

  • File format — A file format is a particular way that information is encoded for storage in a computer file. Since a disk drive, or indeed any computer storage, can store only bits, the computer must have some way of converting information to 0s and 1s and vice …   Wikipedia

  • File system — For library and office filing systems, see Library classification. Further information: Filing cabinet A file system (or filesystem) is a means to organize data expected to be retained after a program terminates by providing procedures to store,… …   Wikipedia

  • File Manager (Windows) — The File Manager is also a development API for the Mac OS [ thumb|A screenshot of File Manager on Windows NT 3.5 displaying a folder and the contents of the C drive.] File Manager is a file manager program bundled with releases of Microsoft… …   Wikipedia

  • File shortcut — A file shortcut in Microsoft Windows is a small file containing a target URI or GUID to an object, or the name of a target program file that the shortcut represents. The shortcut might additionally specify parameters to be passed to the target… …   Wikipedia

  • hidden file —    In many operating systems, any file that has the hidden attribute set, which indicates to the operating system that information about the file should not appear in normal directory listings. There may also be further restrictions on a hidden… …   Dictionary of networking

  • Directory structure — In computing, a directory structure is the way an operating system s file system and its files are displayed to the user. Files are typically displayed in a Hierarchical tree structure. Contents 1 File names and extensions 2 Windows, DOS, and… …   Wikipedia

  • File Allocation Table — Das File Allocation Table (vom Englischen etwa für „Dateizuordnungstabelle“; Abkürzung FAT, englische Aussprache [fæt]) ist ein von Microsoft entwickeltes Dateisystem. Inhaltsverzeichnis 1 Hintergrund 2 Aufbau 2.1 Bootsektor …   Deutsch Wikipedia

  • Comparison of file managers — The following tables compare general and technical information for a number of notable file managers. Contents 1 General information 2 Operating system support 2.1 Cross platform file managers 2.2 …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”