![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
操作系统
weixin_45405128
stay hungry, stay foolish.
展开
-
Windows 10 安装 Linux 子系统(Windows Subsystem for Linux)
1. 启用 WSL 功能 在安装任何 Linux 发行版本之前,必须确保启用Windows Subsystem for Linux可选功能。 按下 “Windows + X”,选择Windows PowerShell(管理员)。 然后在 PowerShell 中输入以下命令: Enable-WindowsOptionalFeature -Online -FeatureName Micr...转载 2019-09-30 18:22:21 · 428 阅读 · 0 评论 -
Linux commands in WSL
1. go to home directory: cd 2.Create the “projects” directory on :mkdir /mnt/c/users/huangyan/desktop/projects 3.Create the link to “projects”: ln -s /mnt/c/users/huangyan/desktop/projects 4....原创 2019-09-30 23:17:21 · 63 阅读 · 0 评论 -
linux 如何查看硬盘大小,内存大小等系统信息及硬件信息
一、linux CPU大小:cat /proc/cpuinfo 二、内存大小:cat /proc/meminfo 三、硬盘大小及分区使用:df -h 四、其他查看硬件信息的方法: uname -a # 查看内核/操作系统/CPU信息(含x86_64表示32位机器,i686表示32位机器) head -n 1 /etc/issue # 查看操作系统版本,是数字1不是字母L cat /p...转载 2019-10-01 14:43:35 · 1268 阅读 · 0 评论 -
在LINUX里面查L1,L2,L3 CACHE
原创 2019-10-02 11:53:16 · 2032 阅读 · 0 评论 -
Python中 sys.argv[]的用法简明解释
在Linux terminal中运行python程序时,可以通过命令行输入参数,例如 python3 hello.py 100000 10 sys.argv[0]就是hello.py程序本身 sys.argv[1] 是第一个参数100000 sys.argv[2] 是第二个参数10 ...原创 2019-10-03 14:44:00 · 66 阅读 · 0 评论