首页 > 科技 > TX/RX, byte and bit, /etc/hosts

TX/RX, byte and bit, /etc/hosts

2006年8月22日 20点31分 发表评论 阅读评论

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

分类: 科技 标签:
  1. 本文目前尚无任何评论.
  1. 本文目前尚无任何 trackbacks 和 pingbacks.
您必须在 登录 后才能发布评论.