charactesr之間的空間在Windows 8.1在管理員模式PowerShell中運行以下命令創建怪異輸出:呼應到hosts文件在Windows PowerShell中創建
PS C:\> cat C:\Windows\System32\drivers\etc\hosts
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
以上是主機文件的初始內容。
PS C:\> echo "127.0.0.1 example.com" >> C:\Windows\System32\drivers\etc\hosts
我添加一行使用echo命令和...
PS C:\> cat C:\Windows\System32\drivers\etc\hosts
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
1 2 7 . 0 . 0 . 1 e x a m p l e . c o m
PS C:\>
通知的最後一行;它在每個被迴應的角色之間都有空格。
任何想法爲什麼會發生這種情況?