docs/en/Development-And-Common-Docu.../Novice-Must-See/Commonly_Combination_Comman...

741 B

commonly used combination commands

Author: Stranger

2022-04-23 00:16:10

There is not much content, if there are useful commands collected, it will be updated here as soon as possible

  1. Install header files
sudo apt install linux-headers-`uname -r`
  1. Update boot
sudo update-grub
  1. Check if a package is installed
dpkg -l|grep package name or some characters contained in the package name
  1. Dual system time synchronization
sudo timedatectl set-local-rtc 1
sudo hwclock --localtime --systohc
  1. Merge two files (merge file1.txt and file2.txt into file.txt)
cat file1.txt file2.txt > file.txt