From 6dc03e437f40560006dc086c0d712b828d33a5f8 Mon Sep 17 00:00:00 2001 From: Fascinated Date: Tue, 27 Jun 2023 09:08:47 +0100 Subject: [PATCH] update order on linux basics --- guides/linux-basics.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/guides/linux-basics.md b/guides/linux-basics.md index 5ea2857..da9ab3c 100644 --- a/guides/linux-basics.md +++ b/guides/linux-basics.md @@ -45,6 +45,13 @@ There are alternatives to nano, but it is the easiest to use. - Get the beginning of a file: `head ` - Get the end of a file: `tail ` +## File Compression and Archiving + +- Create a tar archive: `tar -cvf ` +- Extract a tar archive: `tar -xvf ` +- Create a zip archive: `zip ` +- Extract a zip archive: `unzip ` + ## Package Management (Ubuntu) - Update package lists: `sudo apt update` @@ -54,13 +61,6 @@ There are alternatives to nano, but it is the easiest to use. - Search for a package: `apt search ` - Upgrade packages: `sudo apt upgrade` -## File Compression and Archiving - -- Create a tar archive: `tar -cvf ` -- Extract a tar archive: `tar -xvf ` -- Create a zip archive: `zip ` -- Extract a zip archive: `unzip ` - ## Networking - Get all interface ips: `ip a`