TX/RX, byte and bit, /etc/hosts
Issue the ifconfig command, the output line will contain the string “TX” and “RX”.
Here “T” means transmit, and “R” is receive.
Difference between byte and bit:
1 byte = 8bit
1 kilobyte = 2^10 bytes = 1024 bytes
1 megabyte = 2 ^20 bytes = 1,048,576 bytes
1 gigabyte = 2 ^ 30 bytes = 1,073,741,824 bytes
when letter “b” is used to indicate capacity, it is byte; when the letter “b” descripts speed or transfer rate, it is also bit.
for example,
80GB harddisk, here “B” is byte.
1Gbps Network device, “b” is bit.
/etc/hosts: as the system start up, it will require some hosts’ name in /etc/hosts before doing the same thing through DNS service.
for example:
# cat /etc/hosts
IP ADDRESS HOSTNAME ALIAS
192.168.123.32 Phillip
分类: 科技