C:\Users\user>bash
-- 搶鮮版 (Beta) 功能 --
這會在 Windows 上安裝 Ubuntu,它是由 Canonical
散佈,而且根據其下列條款授權使用:
https://aka.ms/uowterms
輸入 "Y" 以繼續: y
正在從 Windows 市集下載... 100%
正在解壓縮檔案系統,這只需要幾分鐘的時間...
請建立預設 UNIX 使用者帳戶。使用者名稱不一定要與您的 Windows 名稱相同。
如需詳細資訊,請瀏覽: https://aka.ms/wslusers
輸入新的 UNIX 使用者名稱: XXXXX
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
安裝成功!
環境即將啟動...
您可以在下列位置找到文件: https://aka.ms/wsldocs
root@BAYTRIAL-4CORE:~# cat /proc/version
Linux version 3.4.0-Microsoft (Microsoft@Microsoft.com) (gcc version 4.7 (GCC) ) #1 SMP PREEMPT Wed Dec 31 14:42:53 PST 2014
root@BAYTRIAL-4CORE:~# apt-get install htop
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libfreetype6 os-prober
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
root@BAYTRIAL-4CORE:~# apt-cache search iotop
iotop - simple top-like I/O monitor
root@BAYTRIAL-4CORE:~# ping 8.8.8.8
ping: icmp open socket: Permission denied
root@BAYTRIAL-4CORE:~# telnet 8.8.8.8
Trying 8.8.8.8...
^C^]
^Z^Z^C^C^C^C
root@BAYTRIAL-4CORE:~# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 119G 61G 58G 52% /
tmpfs 119G 61G 58G 52% /run
none 119G 61G 58G 52% /run/lock
none 119G 61G 58G 52% /run/shm
none 119G 61G 58G 52% /run/user
root@BAYTRIAL-4CORE:~# dd if=/dev/zero of=./tmpfile.bin bs=1048576 count=8192
8192+0 records in
8192+0 records out
8589934592 bytes (8.6 GB) copied, 80.7723 s, 106 MB/s
root@BAYTRIAL-4CORE:~# dd if=./tmpfile.bin of=/dev/null bs=1M
8192+0 records in
8192+0 records out
8589934592 bytes (8.6 GB) copied, 36.2737 s, 237 MB/s
root@BAYTRIAL-4CORE:~# cat /etc/issue
Ubuntu 14.04.4 LTS \n \l
root@BAYTRIAL-4CORE:~# cat /proc/version
Linux version 3.4.0-Microsoft (Microsoft@Microsoft.com) (gcc version 4.7 (GCC) ) #1 SMP PREEMPT Wed Dec 31 14:42:53 PST 2014
root@BAYTRIAL-4CORE:~#
Linux AcerAspireV5 4.4.0-43-Microsoft #1-Microsoft Wed Dec 31 14:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux