提交
This commit is contained in:
parent
50d8dbd78c
commit
eb8971767d
@ -876,11 +876,11 @@ Linux分区:顺序(主要是boot swap /)
|
||||
|
||||
4,/home分区 (可选)
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
## 查看硬盘空间
|
||||
|
||||
@ -891,6 +891,15 @@ df -lh
|
||||
du -sh /*
|
||||
```
|
||||
|
||||
## 快速查找大文件
|
||||
|
||||
```shell
|
||||
# 查找当前用户目录下面大于100M的文件、需包含文件属性、以及从大到小排序:
|
||||
find ~ -type f -size +100M | xargs ls -lhS
|
||||
# 只显示文件大小和文件路径
|
||||
find ~ -type f -size +100M | xargs du -h | sort -hr
|
||||
```
|
||||
|
||||
## 扩容
|
||||
|
||||
### LVM
|
||||
@ -1962,7 +1971,7 @@ password requisite pam_pwquality.so try_first_pass local_users_only retry=3 auth
|
||||
|
||||
本地正常,但是通过SSH连接WSL,执行nvidia-smi找不到
|
||||
|
||||
## 解决方式
|
||||
##### 解决方式
|
||||
|
||||
在.bashrc中加入
|
||||
|
||||
@ -1970,9 +1979,7 @@ password requisite pam_pwquality.so try_first_pass local_users_only retry=3 auth
|
||||
export PATH=/usr/lib/wsl/lib:$PATH
|
||||
```
|
||||
|
||||
## 参考
|
||||
|
||||
[https://github.com/microsoft/WSL/issues/8794](https://github.com/microsoft/WSL/issues/8794)
|
||||
> 参考:[https://github.com/microsoft/WSL/issues/8794](https://github.com/microsoft/WSL/issues/8794)
|
||||
|
||||
## 安装 7zip
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user