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.
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
用于存放库文件,include
Furthermore, in addition to thebin
directory for storing executable files, we also uselib 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.