java - bin目录有什么特殊含义吗?为什么可执行文件都放在bin目录?
大家讲道理
大家讲道理 2017-04-18 10:52:37
0
3
1093

只因为bin是binary的缩写?,可是所有的文件在电脑都是二进制的呀

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(3)
巴扎黑

The bin directory itself has no special meaning, but due to some conventions, we generally put executable files in the bin directory.
For example, /usr/bin, /usr /local/bin, /sbin. /usr/bin, /usr/local/bin, /sbin.
再者, 除了 bin 目录用于存放可执行文件外, 我们还使用 lib 用于存放库文件, includeFurthermore, in addition to the bin directory for storing executable files, we also use lib code> is used to store library files, and include is used to store header files. These are just some conventions. In order to facilitate management, it does not mean that you must do this.
In fact, if you want, you You can put your executable file anywhere.

Also, for computers, files are just a series of binary streams, but for humans, this is not the case. For example, although a file in text format is still a binary stream for computers, it can be processed by humans. Certain means present content that is directly readable by humans. Therefore, from this perspective, there are differences between various file formats.文本文件二进制文件

迷茫

Object to the answer above > Yongshun>.
Bin is the abbreviation of binary, and binary means binary. It does not mean that he does not have a special meaning.
This is considered from the user's perspective, not from the CPU's perspective.

洪涛

bin is the abbreviation of binary. Java conventions. Don't worry about this.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!