日期:2014-05-16  浏览次数:20626 次

Linux中各个目录的含义

Linux中的各个目录

?

/

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 to 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

这个是root用户的目录,root用户是系统中权限最高的用户,可以删除系统文件,因此需要慎用。

?

/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.

这个目录存放了Linux中缺省的工具,如ls,vi,more等命令。这个目录一般都默认在path的环境变量里面。

?