今天在玩OS的terminal的时候突然想到哪些隐藏的文件夹都有什么用,于是决定搜索一下,看看这些文件夹的功能。
Mac OS X Hidden Files Directories
._whatever | These files are created on volumes that don't natively support full HFS file characteristics (e.g. ufs volumes,Windows fileshares, etc). When a Mac file is copied to such a volume, its data fork is stored under the file's regular name, and the additional HFS information (resource fork, type creator codes, etc) is stored in a second file (in AppleDouble format), with a name that starts with "._". (These files are, of course, invisible as far as OS-X is concerned, but not to other OS's; this can sometimes be annoying...) |
.DS_Store | This file in created by the Finder to keep track of folder view options, icon positions, and other visual information about folders. A separate .DS_Store file is created in each directory to store information about that directory, so you'll find them appearing all over the directory tree, in pretty much every folder you've visited with the OS X Finder. |
~/.Trash | Used to store files folders from the boot volume that a particular user has thrown in the trash, but that haven't been erased yet. |
/.Spotlight-V100 | Used to store metadata indexes and indexing rules for Spotlight (version 1.00 apparently). Only created under Mac OS X 10.4. |
/Volumes/(whatever)/.Trashes | On volumes other than the boot volume, a .Trashes folder is used to hold files folders that've been put in the trash but not yet deleted. Since each user has their own personal trash can, subfolders are created under .Trashes for different users, named according to their user ID number. For example, if user #501 throws something on a volume named "Data" into the trash, it'd be moved to a directory named /Volumes/Data/.Trashes/501/. Permissions on this folder are set so that you can only access a trash can if you can guess the users' ID -- that is, you cannot view a list of which users actually have trash cans in existance. If you're trying to free disk space, this can make it rather tricky to find delete the files in other users' trash cans... |
/.hidden | This contains a list of files for the Finder to hide -- it's one of three ways a file can be made invisible in OS X. This file is semi-obsolete -- i.e. it does not exist in a standard installation of Mac OS X 10.4, but the Finder will still respect it if it exists... |
/.hotfiles.btree | Used to track commonly-used small files so their position on disk can be optimized (a process called “adaptive hot file clustering”). |
/.vol | This pseudo-directory is used to access files by their ID number (aka inode number) rather than by name. For example, /.vol/234881034/105486 is file #105486 on volume #234881034. |
/automount | Used to handle "quasi-static" mounts of network volumes under OS X 10.1. Under most unixes, if a network volume is statically mounted on a client, it's mounted somewhere in the file system, so it looks shows up like a normal directory. Under OS X 10.1, a statically-mounted network volume will actually be mounted in /automount, and a symbolic link pointing to it will be placed where the volume would normally be mounted, thus emulating the normal result. (Compare this with how "network" mounts are handled via/private/Network.) |
/bin | This is one of several places where unix-style binaries (that is, programs, or command-line commands) are kept. The programs in /bin include the more common and fundamental things that are used from the unix command line (e.g. ls and rm), as well as several shells (the programs that provide the command line itself). The other places where similar files are stored are /sbin, /usr/bin, /usr/sbin, and possibly /usr/local/bin, /usr/local/sbin, and maybe even ~/bin/powerpc-apple-macos; collectively, these can be thought of as the command line's equivalent of /Applications. |
/cores | (This is actually stored in /private/cores; /cores is really just a symbolic link.) Under some conditions, when a program crashes, it'll "dump core" (essentially, store a copy of the program state at the time it crashed) into this directory. This is really only useful for programmers trying to debug their own programs. |
/dev | This directory contains what're technically known as device special files. These are not really files in the usual sense, they're more like placeholders that the system uses to keep track of the devices (disks, keyboards, monitors, network connections, etc) attached to it. |
/etc | (This is actually stored in /private/etc; /etc is really just a symbolic link.) On a typical unix system the /etc folder will contain all the configuration files for a system, including both documents specifying config information as well as scripts for actually performing various configuration tasks. On OS X, some of the config information stored here is overridden by NetInfo or other directory services, but the /etc files still exist. |
/lost+found | If Disk Utility or fsck discover "orphaned" files (i.e. files that exist, but aren't actually in any directory), they'll be placed here. |
/Network | This is the "real" location of the Network item that appears at the Computer level in the finder. It provides a place to attach network-wide resources and server volumes. Under OS X 10.1, network resources actually tend to get mounted in /private/Network, and symbolic links to them created in /Network. In OS 10.3, various network resources (mainly servers) appear dynamically in /Network (thanks to some virtual filesystem magic). |
/mach /mach.sym /mach_kernel |
The Mach kernel (which runs at the very core of Mac OS X), along with a couple of shortcuts for getting at it in various ways. |
/private | In OS X certain root level directories are actually symbolic links (similar to aliases) to directories in /private. Examples are /cores, /etc, and /var which are respectively linked to /private/cores, /private/etc, and /private/var. /private also contains a directory of drivers for certain peripherals. |
/private/Network | Used to handle "network" (non-static) mounts of network volumes under OS X 10.1. Under previous versions, network mounts were mounted in /Network, but in 10.1 they're actually mounted in /private/network, and a symbolic link is placed in /Network pointing to the actual mount point. (Compare this with how "quasi-static" mounts are handled via /automount.) |
/sbin | The /sbin directory is like /bin except it contains binaries that are specifically used for system administration (e.g.mount and fsck). |
/tmp | (This is actually stored in /private/tmp; /tmp is really just a symbolic link.) Programs that need temporary space on the hard disk are usally set up to writetemporary files to the /tmp directory (although some use /var/tmp instead). |
/usr | The /usr directory contains many subdirectories that have binaries and files specifically of use to the normal (unix) user. |
/usr/bin | Another place where unix binaries are kept. |
/usr/lib | Libraries available for use by progrmming on Mac OS X. Unless you install the Developer Tools, this'll be mostly empty. Note that this has no relation to Mac OS X's various "Library" directories." |
/usr/libexec | Holds various daemon programs, system maintenance scripts, and other unix-style programs that usually aren't run directly by humans. |
/usr/local | As in most unixes, this directory is used to store local customizations and additions to the standard OS installation (e.g. /usr/local/bin would be likely to hold unix binaries added by the system administrator). This directory can be thought of roughly as the unix equivalent of Mac OS X's local library. In the standard install of Mac OS X it is (not surprisingly) completely empty. Note: As of OS X 10.2, these directories are no longer in the default search path for command-line executables; as a result, anything installed here will not be useable without taking extra steps of one sort or another. |
/usr/sbin | Yet another place where unix binaries are kept. |
/usr/share | Contains various data and text files that can, in principle, be shared by multiple architectures (a distinction which makes a lot more sense under other flavors of unix than it does under Mac OS X). |
/usr/standalone | Contains boot loader programs for (potentially) various computer architectures. In the installs I've looked at, this is simply a duplicate of theBootX loader (also found in /System/Library/CoreServices/BootX); I'm not sure why both copies are needed. |
/var | (This is actually stored in /private/var; /var is really just a symbolic link.) Sometimes processes controlled by the operating system need a place to storevariable files. Processes like printing and programs that store log files will use subdirectories in the /var directory to store those files. It also holds a fair bit of configuration information (especially in /var/db). |
/var/backups | Used to store backups of critical system information (mainly, the nightly dumps of NetInfo databases). |
/var/db | Holds various databases of system information. The most notable are the NetInfo databases (stored in /var/db/netinfo), shadow password files (in /var/db/shadow/hash), and the system's network configuration database (/var/db/SystemConfiguration/preferences.xml - although it moved to /Library/Preferences/SystemConfiguration/ in 10.3), which together store much of the system and network configuration information that a traditional unix admin would expect to find in /etc, and a Mac OS 9 admin would expect to find in System Folderreferences. |
/var/log | This is where many of the system event logs are kept (others are kept in /Library/Logs). |
/var/root | The root (superuser) account's home directory. Note that this directory will exist even if you haven't enabled the root account. |
/var/run | Stores various status information about processes (especially daemons) running on the system. |
/var/tmp | A place for programs to store temporary data, just like /tmp. Some programs use one, some use the other, so Mac OS X provides both. |
/var/vm | Used to store the swap files for Mac OS X's virtual memory. |
/var/vm/app_profile | Holds information about various applications' virtual memory useage. |
/Volumes | The /Volumes directory is the mount point for all of the drives (other than the boot volume) connected to the system. The Finder hides the Volumes directory itself, but displays its contents at the Computer level. |
相关推荐
在IT领域,系统隐藏文件往往是黑客或恶意软件藏身之处,因为它们通常不会显示在常规文件浏览器中,使得用户难以察觉。"一个不可多得的系统隐藏文件扫描工具"正是一款针对这一问题的专业解决方案,旨在帮助用户揭示并...
以下是一个详细的步骤指南,教你如何在Mac上搜索和找到这些隐藏文件。 首先,你需要打开Finder,这是Mac内置的文件管理器。你可以通过点击屏幕左上角的苹果图标,然后选择“Finder”来打开它。或者,你也可以在Dock...
Mac操作系统,全称为macOS,是由苹果公司为其Macintosh系列个人电脑设计的专用操作系统。它以其用户友好、直观和高效而闻名,提供了丰富的功能和定制选项。本操作指南旨在帮助用户更好地理解和掌握Mac的基本操作。 ...
### Mac操作系统介绍及操作指南大全 #### 一、概述 Mac操作系统是由苹果公司开发的一款专为Mac电脑设计的操作系统。...同时,随着对Mac操作系统的深入了解,还能发掘更多隐藏的功能和技巧,进一步优化用户体验。
5. **隐藏真实MAC**:某些高级功能可能包括隐藏真实的物理MAC地址,以增加网络隐私。 Readme.txt文件通常是软件的使用指南或者安装说明,包含了关于如何安装、使用TMAC以及可能遇到问题的解决方案。在安装和使用...
10. **文件扩展名隐藏**: Mac系统默认隐藏文件扩展名,这与Windows显示所有扩展名的设置不同。可能会有关于如何在Windows下查看和管理这些隐藏扩展名的说明。 综上所述,"Mac工具.zip"可能包含了一系列教程、指南...
它解决了MAC系统中应用程序卸载不彻底的问题,确保用户可以干净利落地移除不需要的软件,不留任何残留文件。在MAC上,虽然大部分应用可以通过拖放到废纸篓来卸载,但有些程序会留下配置文件、日志、缓存或其他支持...
6. 兼容性:确保“文件夹隐藏大师”与您的操作系统兼容,例如Windows、Mac或Linux,以确保软件能正常运行。 在压缩包“yy_yincangorg-l-hicode”中,可能包含了“文件夹隐藏大师”的安装程序或相关配置文件。安装前...
"磁盘隐藏禁用工具"是一个专为用户提供私密文件和磁盘隐藏功能的实用程序,旨在帮助用户保护他们不想被他人轻易访问的数据。这样的工具通常允许用户在不使用时将特定磁盘分区隐藏起来,防止未经授权的访问或修改。 ...
用户在下载并解压这个压缩包后,可能只需要运行“mac”文件就可以启动并使用MAC地址修改功能。为了安全和正确操作,用户在使用此类工具时,应确保从可信来源获取,并遵循提供的使用指南,避免对网络连接造成意外影响...
iNode for Mac OS 5.2 E0408 是一款专为苹果Mac操作系统设计的高效文件管理系统。这个版本的更新主要聚焦于提升性能、优化用户体验以及增强软件的稳定性。iNode作为一个强大的文件管理工具,它允许用户更直观、快捷...
这个名为"一体化菜单栏应用程序,隐藏_MacBook Pro的凹槽,暗模式,AirPods,快捷方式.zip"的压缩包文件似乎包含了用于创建一个特定类型Mac应用的相关资源。以下是对这些关键词的详细解释和相关知识点的展开: 1. *...
标题中的问题直指MAC系统中使用Autodesk软件时遇到的"LicenseNotObtained"错误,这通常意味着软件无法成功获取或验证其许可证文件。在MAC操作系统中,Autodesk产品如AutoCAD、Maya等需要有效的许可证才能启动和运行...
`__MACOSX`目录是Mac操作系统特有的隐藏文件夹,一般出现在解压过程中,可以忽略。 `admin.php`可能是后台管理入口文件,用户通过它登录到管理界面进行操作。 `cms.sql`是数据库脚本文件,包含了预设的数据库结构...
作者Syd Logan是一位经验丰富的软件工程师,他在书中详细阐述了如何利用C++的强大功能来创建能在Windows、Linux、Mac OS X以及各种嵌入式系统上无缝运行的应用程序。 本书首先介绍了C++语言的基础知识,包括标准库...
标题《Learning Unix for Mac OS X Mountain Lion》和描述表明了本书是一本专门针对Mac OS X Mountain Lion系统用户,教授如何使用Unix命令行的指南。Unix命令行是苹果操作系统的基础,它为用户提供了强大的文件操作...
Mac OS X 还引入了一些特殊的文件系统特性来增强用户体验,如别名(类似于 Windows 的快捷方式)、扩展名隐藏(自动隐藏文件扩展名以简化文件显示)以及显示名称等。 #### 实际应用场景 **1. 开发者的视角** 对于...
- 对于Mac OS X系统,打开下载的DMG文件,将Android Studio拖放到“应用程序”文件夹,并重新启动。 - 对于Linux系统,解压下载的压缩文件,通过终端执行bin目录下的studio.sh脚本来启动Android Studio,并可能...
5. 兼容性与跨平台:SWFExtractor兼容不同版本的SWF文件,并且可能适用于多种操作系统,如Windows、Mac OS等,确保了广泛的用户群体可以使用。 6. 教程与支持:为了帮助用户更好地理解和使用SWFExtractor,开发团队...