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`