mirror of https://gitee.com/openkylin/docs.git
730 B
730 B
Common combination commands</center
Author: stranger</center
2022-04-23 00:16:10</center
Not much content, if there is a collection of useful commands will be updated here as soon as possible
- Install the header file
sudo apt install linux-headers-`uname -r`
- Update the boot
sudo update-grub
- Check if a package is installed
dpkg -l|grep 包名或者是包名里包含的部分字符
- Synchronize the time of dual systems
sudo timedatectl set-local-rtc 1
sudo hwclock --localtime --systohc
- Merge two files (merge file1.txt and file2.txt into file.txt)
cat file1.txt file2.txt > file.txt