diff --git a/wiki/bittorrent.md b/wiki/bittorrent.md index 60b0be3..0829b4e 100644 --- a/wiki/bittorrent.md +++ b/wiki/bittorrent.md @@ -28,5 +28,5 @@ This is not a legal advice. Take your local laws into account when downloading torrents. Some torrents can be copyright infringing and therefor illegal to download. Only download legal and safe torrents like the -[Arch Linux ISO](/wiki/linux/arch-linux/arch-linux.md#iso-medium). +[Arch Linux ISO](/wiki/linux/arch-linux.md#iso-medium). Seeding it can help the community. diff --git a/wiki/games/league_of_legends.md b/wiki/games/league_of_legends.md index dc0df3c..7f885d2 100644 --- a/wiki/games/league_of_legends.md +++ b/wiki/games/league_of_legends.md @@ -21,7 +21,7 @@ used named `Lutris-GE` which can be found on It is important to set up the game correctly for anti-cheat to work properly. By checking the right box at the launch of the games the anti-cheat can be enabled to persist through reboots on most Linux distributions. -For [Arch Linux](/wiki/linux/arch-linux/arch-linux.md) this has to be done +For [Arch Linux](/wiki/linux/arch-linux.md) this has to be done manually as explained by [QuinnBorn on Reddit](https://www.reddit.com/r/leagueoflinux/comments/eokiir/anticheat_popup_every_reboot/). For that the file `/etc/sysctl.d/vsyscall.conf` has to be created with the diff --git a/wiki/linux.md b/wiki/linux.md index 03783cb..a7345c0 100644 --- a/wiki/linux.md +++ b/wiki/linux.md @@ -9,6 +9,6 @@ Linux based operating systems are Unix-like. The different operating systems that are based on the Linux kernel are called distributions. -- [Arch Linux](/wiki/linux/arch-linux/arch-linux.md) is a rolling-release +- [Arch Linux](/wiki/linux/arch-linux.md) is a rolling-release distribution whose base system is as minimal and needs heavy user configuration. diff --git a/wiki/linux/7-zip.md b/wiki/linux/7-zip.md new file mode 100644 index 0000000..f0c9315 --- /dev/null +++ b/wiki/linux/7-zip.md @@ -0,0 +1,44 @@ +# 7-zip + +[7-zip](https://7-zip.org/) is a free and open-source file archiver. +It places files or directories in an archive and is able to compress them. + +## Setup + +7-zip can be installed by installing the packages `p7zip-full` and `p7zip-rar` on Ubuntu systems. +On [Arch Linux](/wiki/linux/arch-linux.md) it can be installed with the package `7-zip` +from the [AUR](/wiki/linux/package_manager.md#arch-linux-pacman-and-yay). + +## Usage + +### Compressing and Uncompressing a Directory + +For directories to be compressed the Lempel–Ziv–Markov chain algorithm is recommended. +It is fast with good compression results. + +As explained by +[kenorb on superuser.com](https://superuser.com/questions/281573/what-are-the-best-options-to-use-when-compressing-files-using-7-zip) +An effective way to compress a directory is the following command where `directory` is the directory +that is to be compressed. +The archive will be created by the same name as the directory but with the `.7z` extension. +This command uses [expansion](/wiki/linux/shell.md#expansion). +The directory is not deleted automatically afterwards. + +```sh +7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on directory{.7z,} +``` + +To uncompress it run the following command. + +```sh +7z x directory.7z +``` + +### Peek Contents of an Archive + +To list the content files of a 7-zip archive the following command can be used. +The name of the archive is assumed to be `directory.7z`. + +```sh +7z l directory.7z +``` diff --git a/wiki/linux/arch-linux/arch-linux.md b/wiki/linux/arch-linux.md similarity index 100% rename from wiki/linux/arch-linux/arch-linux.md rename to wiki/linux/arch-linux.md diff --git a/wiki/linux/arch-linux/installation.md b/wiki/linux/arch-linux/installation.md index ae540f6..de0b91c 100644 --- a/wiki/linux/arch-linux/installation.md +++ b/wiki/linux/arch-linux/installation.md @@ -11,7 +11,7 @@ At the end of this guide a fully functional Arch Linux will be installed. ## 1. Preparation Ahead of the installation an Arch boot-stick has to be created as described in -[the Arch Linux entry](/wiki/linux/arch-linux/arch-linux.md#installation-medium). +[the Arch Linux entry](/wiki/linux/arch-linux.md#installation-medium). After that the USB can be plugged in the system on which Arch should be installed. Boot the target system and select `Boot Arch Linux (x86_64)`. @@ -194,7 +194,7 @@ this will install a bunch of useful base software including [a window manager](../suckless.md#programs). You can go on to other guides aswell. Especially the -[Recommended practices](/wiki/linux/arch-linux/arch-linux.md#recommended-practices) +[Recommended practices](/wiki/linux/arch-linux.md#recommended-practices) should be checked for further setups. Additionally if you have a NVidia Graphics Cards you should read diff --git a/wiki/linux/font_configuration.md b/wiki/linux/font_configuration.md index 8172888..ca3d567 100644 --- a/wiki/linux/font_configuration.md +++ b/wiki/linux/font_configuration.md @@ -101,7 +101,7 @@ The repository is split into On some [package managers](/wiki/linux/package_manager.md) the fonts are further split depending on [typeface](/wiki/font.md#typefaces) and language. The following list shows the name of the -[Arch Linux packages](/wiki/linux/arch-linux/arch-linux.md). +[Arch Linux packages](/wiki/linux/arch-linux.md). The names on other distributions can vary slightly. - `adobe-source-han-sans-jp-fonts` is for japanese sans style fonts. diff --git a/wiki/linux/ip.md b/wiki/linux/ip.md index 8c3a84b..6333231 100644 --- a/wiki/linux/ip.md +++ b/wiki/linux/ip.md @@ -34,7 +34,7 @@ For VPN and other applications using a tunnel it can be useful to check the outside IP of your system. The following command uses the `dig` command. It is either bundled in the `dig` package - like in -[Arch Linux](/wiki/linux/arch-linux/arch-linux.md) - or in the `dnsutils` +[Arch Linux](/wiki/linux/arch-linux.md) - or in the `dnsutils` package - like in Ubuntu - or even another package depending on the distribution used. After installation the following command can be used to get the outside IP diff --git a/wiki/linux/lvm.md b/wiki/linux/lvm.md index d9a4941..43e05a2 100644 --- a/wiki/linux/lvm.md +++ b/wiki/linux/lvm.md @@ -90,7 +90,7 @@ services other than the following commands. If the volume to shrink is the root volume it has to be done offline. For that a simple installation stick is enough. -[The Arch Linux entry](/wiki/linux/arch-linux/arch-linux.md#installation-medium) +[The Arch Linux entry](/wiki/linux/arch-linux.md#installation-medium) describes the creation of such a boot stick. Afterwards the operating system has to be booted from the just created stick or a comparable device. @@ -164,4 +164,3 @@ Afterwards the file system can be matched to the logical volume so it takes up the full new size. This is explained in the [entry about disk management](/wiki/linux/disk-management.md#growing-a-file-system). - diff --git a/wiki/linux/microcode.md b/wiki/linux/microcode.md index 8494129..d59bb62 100644 --- a/wiki/linux/microcode.md +++ b/wiki/linux/microcode.md @@ -12,4 +12,4 @@ manufacturer (on Arch Linux for example `intel-ucode` and `amd-ucode`). Automatic updates can be enabled depending on bootloader and operating system. For Arch Linux a description is given in the -[Arch Linux entry](/wiki/linux/arch-linux/arch-linux.md#enable-microcode-updates). +[Arch Linux entry](/wiki/linux/arch-linux.md#enable-microcode-updates). diff --git a/wiki/linux/package_manager.md b/wiki/linux/package_manager.md index 1b3ee6d..972da06 100644 --- a/wiki/linux/package_manager.md +++ b/wiki/linux/package_manager.md @@ -4,7 +4,7 @@ Package managers are important programs to get software onto your system. ## Arch Linux: Pacman and Yay -In [Arch Linux](/wiki/linux/arch-linux/arch-linux.md) there are 2 main types of +In [Arch Linux](/wiki/linux/arch-linux.md) there are 2 main types of package managers. The first is pacman, the default package manager.