增加常用的组合命令
This commit is contained in:
parent
46495005d8
commit
3322275445
|
@ -0,0 +1,36 @@
|
|||
# <center>常用的组合命令</center>
|
||||
#### <center>作者:陌生人</center>
|
||||
#### <center>2022-04-23 00:16:10</center>
|
||||
|
||||
内容还不多,如果有收集到有用的命令会尽快更新至此
|
||||
|
||||
1. 安装头文件
|
||||
|
||||
```
|
||||
sudo apt install linux-headers-`uname -r`
|
||||
```
|
||||
|
||||
2. 更新引导
|
||||
|
||||
```
|
||||
sudo update-grub
|
||||
```
|
||||
|
||||
3. 查看是否安装了某个包
|
||||
|
||||
```
|
||||
dpkg -l|grep 包名
|
||||
```
|
||||
|
||||
4. 双系统时间同步
|
||||
```
|
||||
sudo timedatectl set-local-rtc 1
|
||||
sudo hwclock --localtime --systohc
|
||||
```
|
||||
5. kmre一直卡在初始化?可以执行下面两条命令发到群里
|
||||
|
||||
```
|
||||
sudo docker ps -a
|
||||
ls /dev/bind*
|
||||
```
|
||||
|
Loading…
Reference in New Issue