Linux常用150個(gè)命令
win10下使用WSL 2
在WSL2中使用CUDA https://zhuanlan.zhihu.com/p/149848405
搭建完美的Windows10開發(fā)環(huán)境 https://zhuanlan.zhihu.com/p/119299000
# 關(guān)于WSL(Windows上的Linux子系統(tǒng))的簡(jiǎn)單介紹及安裝
安裝完WSL后,從windows界面進(jìn)入的方法
bash
在cmd命令行輸入指令渊胸,進(jìn)入WSL子系統(tǒng)退出WSL子系統(tǒng)
$ exit
看版本號(hào)
cat /proc/version
顯示如下
Linux version 4.10.0-28-generic (buildd@lgw01-12) linux內(nèi)核版本號(hào)
gcc version 5.4.0 gcc編譯器版本號(hào)
Ubuntu 5.4.0-6ubuntu1 Ubuntu版本號(hào)
cat /etc/issue
Ubuntu 14.04.5 LTS \n \l
WSL 2 如何在 Windows 10 中安裝 WSL2 的 Linux 子系統(tǒng)
Windows10內(nèi)置的Linux系統(tǒng) 安裝Anaconda jupyter notebook
https://blog.csdn.net/honest_boy/article/details/89600042
WSL2 的一些網(wǎng)絡(luò)訪問問題 https://lengthmin.me/posts/wsl2-network-tricks/
WSL2來了!但是能正常使用并不簡(jiǎn)單https://zhuanlan.zhihu.com/p/144583887
ssh登錄提示The authenticity of host '192.168.68.xx (192.168.68.xx)' can't be established
xshell命令行輸入ssh 192.168.68.xx,提示:
The authenticity of host ‘192.168.68.xx (192.168.68.xx)’ can’t be established.
ECDSA key fingerprint is c8:16:22:4f:b1:72:4f:39:01:d8:47:82:40:10:ec:b2.
意思是:192.168.68.xx主機(jī)的可信度不能確定
Are you sure you want to continue connecting (yes/no)?
輸入yes,提示;
Warning: Permanently added ‘192.168.68.13’ (ECDSA) to the list of known hosts.
接下來提示輸入password:
輸入密碼即可登錄
下面總結(jié)一些vi 退出命令侵俗,學(xué)習(xí)!
進(jìn)入編輯模式,按 o 進(jìn)行編輯
編輯結(jié)束,按ESC 鍵 跳到命令模式惶凝,然后輸入退出命令:
:w 保存文件但不退出vi 編輯
:w! 強(qiáng)制保存,不退出vi 編輯
:w file 將修改另存到file中犬钢,不退出vi 編輯
:wq 保存文件并退出vi 編輯
:wq! 強(qiáng)制保存文件并退出vi 編輯
q: 不保存文件并退出vi 編輯
:q! 不保存文件并強(qiáng)制退出vi 編輯
:e! 放棄所有修改苍鲜,從上次保存文件開始在編輯