红联Linux门户
Linux帮助

想学英文的过来,Linux目录结构解释

发布时间:2007-09-26 21:31:20来源:红联作者:firmstre
/ - This is the root directory. The mothership. The home field. The one and only top directory for your whole computer. Everything, and I mean EVERYTHING starts here. When you type ‘/home’ what you’re really saying is “start at / and then go the the home directory.”

/ 根

/root - this is where the root user lives. The root user is the god of your system. Root can do anything, up to and including removing your entire filesystem. So be careful using root.

/boot 启动相关

/bin - Here’s where your standard linux utilities (read programs) live. Things like ls and vi and more. Generally this directory is included in your path. What this means is that if you type ‘ls‘, /bin is one of the places your shell will look to see if ‘ls‘ means anything.

/bin 应用程序、命令所在地

/etc - Here’s where the administrative and system configuration stuff lives. For instance, if you have samba installed, and you want to modify the samba configuration files, you’d find them in /etc/samba.

/etc 管理系统配置文件

/dev - here’s where files that control perhipherals live. Talking to a printer? Your computer is doing it from here. Same goes for disk drives, usb devices, and other such stuff.

/dev 硬件设置文件

/home - Here’s where your data is stored. Config files specific to users, your Desktop folder (which makes your desktop what it is), and any data related to your user. Each user will have their own /home/username folder, with the exception of the root user.

/home 用户个人数据

/tmp - This is the temporary folder. Think of it as a scratch directory for your Linux system. Files that won’t be needed by programs once their used once or twice are put here. Many Linux systems are set to automatically wipe the /tmp folder at certain intervals, so don’t put things you want to keep here.

/tmp 临时文件夹

/usr - Here’s where you’ll find extra utilities that don’t fit under /bin or /etc. Things like games, printer utilities, and whatnot.

/usr 其它工具

/opt - Here’s where optional stuff is put. Trying out Firefox 2 beta? Install it to /opt where you can delete it without affecting other settings.

/opt 可选

/media - Some distros use this folder to mount things like usb disks, cd or dvd drives and other filesytems.

/media 挂接设备,usb 硬盘、光驱、windows分区等。
文章评论

共有 2 条评论

  1. xjboy 于 2013-09-03 13:44:05发表:

    你这是从什么地方得到的啊.

  2. shenqiulo 于 2007-09-27 08:46:45发表:

    没有翻译完整。:0L