免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 16606 | 回复: 7
打印 上一主题 下一主题

[网络配置] /bin与/usr/bin的区别 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-08-30 21:44 |只看该作者 |倒序浏览
请问 /bin与/usr/bin的区别在哪里?能不能具体说一下。谢谢各位大牛!

论坛徽章:
3
CU十二周年纪念徽章
日期:2013-10-24 15:41:34狮子座
日期:2014-03-27 15:44:382015年辞旧岁徽章
日期:2015-03-03 16:54:15
2 [报告]
发表于 2012-08-30 22:53 |只看该作者
不同目录, 你进去看一下就知道有什么区别了

论坛徽章:
13
15-16赛季CBA联赛之同曦
日期:2016-01-28 19:52:032015亚冠之北京国安
日期:2015-10-07 14:28:19NBA常规赛纪念章
日期:2015-05-04 22:32:03处女座
日期:2015-01-15 19:45:44卯兔
日期:2014-10-28 16:17:14白羊座
日期:2014-05-24 15:10:46寅虎
日期:2014-05-10 09:50:35白羊座
日期:2014-03-12 20:52:17午马
日期:2014-03-01 08:37:27射手座
日期:2014-02-19 19:26:54子鼠
日期:2013-11-30 09:03:56狮子座
日期:2013-09-08 08:37:52
3 [报告]
发表于 2012-08-31 09:19 |只看该作者
本帖最后由 ulovko 于 2012-08-31 09:21 编辑

建议耐心学习鸟哥私房菜:
http://bbs.chinaunix.net/thread-3757881-1-1.html
鸟哥掌握了就说明了对基础有所了解!  


According to the FHS, the / directory must contain, or have
links to, the following directories:

bin — This directory contains command files for use by the
system administrator or other users. The bin directory can
not contain subdirectories.

boot — On Red Hat systems, this is the directory
containing the kernel, the core of the operating system. Also
in this directory are files related to booting the system, such
as the bootloader.

dev — This directory contains files with information about
devices, either hardware or software devices, on the system.

etc — This directory and its subdirectories contain most of
the system configuration files. If you have the X Window
System installed on your system, the X11 subdirectory is
located here. Networking related files are in the subdirectory
sysconfig.
Another subdirectory of etc is the skel directory, which is
used to create files in users’ home directories when the users
are created.

home — This directory contains the directories of users on
the system. Subdirectories of home will be named for the
user to whom they belong.

lib — The shared system files and kernel modules are
contained in this directory and its subdirectories.

mnt — This directory is the location of the mount point for
temporary file systems, such as a floppy or CD.

opt — This directory and its subdirectories are often used
to hold applications installed on the system.

proc — Information about system processes is included in
this directory.

root — This is the home directory of the root user. Don’t
confuse this with the / directory, which has the same name.

sbin — Contained in this directory are system binaries
used by the system administrator or the root user.

tmp — This directory contains temporary files used by the
system.

usr — This directory is often mounted on its own partition.
It contains shareable, read-only data. Subdirectories can be
used for applications,
typically under /usr/local.

var — Subdirectories and files under var contain variable
information, such as system logs and print queues

【Some important /proc files are】:
/proc/cpuinfo — contains info about the CPU
/proc/interrupts — tells you what interrupts are in use
/proc/scsi — tells you what kind of SCSI adapter is installed
/proc/parport — contains info about the parallel ports on
your system
/proc/tty — contains info about ttys that are available and in
use
/proc/apm — contains advanced power management
information
/proc/bus — a directory that contains bus-specific
information
/proc/devices — lists available character and block devices
/proc/dma — lists used DMS channels
/proc/filesystems — lists supported file systems
/proc/fs — contains file system parameters
/proc/ide — directory that contains information about the IDE
subsystem
/proc/ioports — contains information about system I/O port
usage
/proc/modules — contains a list of currently loaded modules
/proc/net — contains networking information
/proc/uptime — contains the system uptime
/proc/version — contains the system version

论坛徽章:
0
4 [报告]
发表于 2012-08-31 09:36 |只看该作者
/bin是超级用户和一般用户都可以使用的命令;/usr/bin是安装的软件的命令  usr表示的是unix software source

论坛徽章:
13
15-16赛季CBA联赛之同曦
日期:2016-01-28 19:52:032015亚冠之北京国安
日期:2015-10-07 14:28:19NBA常规赛纪念章
日期:2015-05-04 22:32:03处女座
日期:2015-01-15 19:45:44卯兔
日期:2014-10-28 16:17:14白羊座
日期:2014-05-24 15:10:46寅虎
日期:2014-05-10 09:50:35白羊座
日期:2014-03-12 20:52:17午马
日期:2014-03-01 08:37:27射手座
日期:2014-02-19 19:26:54子鼠
日期:2013-11-30 09:03:56狮子座
日期:2013-09-08 08:37:52
5 [报告]
发表于 2012-08-31 09:47 |只看该作者
kellyseeme123 发表于 2012-08-31 09:36
/bin是超级用户和一般用户都可以使用的命令;/usr/bin是安装的软件的命令  usr表示的是unix software sourc ...

欢迎分享宝贵的经验 ^_^

论坛徽章:
21
白羊座
日期:2013-08-23 15:49:17金牛座
日期:2013-10-08 17:00:03处女座
日期:2013-10-12 11:54:11CU十二周年纪念徽章
日期:2013-10-24 15:41:34午马
日期:2013-11-27 14:07:21巨蟹座
日期:2013-12-04 10:56:03水瓶座
日期:2013-12-04 15:58:00亥猪
日期:2014-05-24 16:02:3115-16赛季CBA联赛之辽宁
日期:2016-11-07 13:52:53戌狗
日期:2013-08-23 16:15:31白羊座
日期:2013-08-24 21:59:24巨蟹座
日期:2013-08-25 16:34:24
6 [报告]
发表于 2012-08-31 10:21 |只看该作者
/bin 二进制可执行命令
/sbin 系统管理命令,这里存放的是系统管理员使用的管理程序
/usr/bin 众多的应用程序
/usr/sbin 超级用户的一些管理程序

论坛徽章:
0
7 [报告]
发表于 2012-08-31 15:59 |只看该作者
kellyseeme123 发表于 2012-08-31 09:36
/bin是超级用户和一般用户都可以使用的命令;/usr/bin是安装的软件的命令  usr表示的是unix software sourc ...


伤了,我以为usr是user的简写。。。。。。

论坛徽章:
0
8 [报告]
发表于 2016-01-31 22:17 |只看该作者
我也是那样认为的回复 7# henry_chan


   
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP