From 56e3b45f45d18f602a7f66a806657cde2472b1c3 Mon Sep 17 00:00:00 2001 From: jlspcdd1227dd <12046126+jlspcdd1227dd@user.noreply.gitee.com> Date: Thu, 23 Mar 2023 08:46:44 +0000 Subject: [PATCH] add en/Development-And-Common-Documents/Novice-Must-See/Commonly_Combination_Commands.md. Signed-off-by: jlspcdd1227dd <12046126+jlspcdd1227dd@user.noreply.gitee.com> --- .../Commonly_Combination_Commands.md | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 en/Development-And-Common-Documents/Novice-Must-See/Commonly_Combination_Commands.md diff --git a/en/Development-And-Common-Documents/Novice-Must-See/Commonly_Combination_Commands.md b/en/Development-And-Common-Documents/Novice-Must-See/Commonly_Combination_Commands.md new file mode 100644 index 00000000..cb6f6dc5 --- /dev/null +++ b/en/Development-And-Common-Documents/Novice-Must-See/Commonly_Combination_Commands.md @@ -0,0 +1,35 @@ +#
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` +``` + +2. Update boot + +``` +sudo update-grub +``` + +3. Check if a package is installed + +``` +dpkg -l|grep package name or some characters contained in the package name +``` + +4. Dual system time synchronization +``` +sudo timedatectl set-local-rtc 1 +sudo hwclock --localtime --systohc +``` + +5. Merge two files (merge file1.txt and file2.txt into file.txt) + +``` +cat file1.txt file2.txt > file.txt +``` \ No newline at end of file