如果默认是用root登录,则设定下默认用户
搜我的博客 默认用户
如果登录上去发现命令行无色(是/bin/sh)或者想改默认命令行程序
搜我的博客 设定默认shell
换源
搜我的博客 ubuntu换源
文件传输:WSL中访问本机文件
/mnt
目录下的目录即对应本机的各个盘
vscode打开WSL中的目录
本机的vscode安装WSL
插件,然后ctrl+shift+p
打开控制面板输入connect to wsl
c++
sudo apt-get install build-essential gdb cmake
linux performance tool
sudo apt-get install sysstat bcc-tools bpftrace linux-tools-common linux-tools-$(uname -r) iproute2 msr-tools
git clone https://github.com/brendangregg/msr-cloud-tools
git clone https://github.com/brendangregg/bpf-perf-tools-book