Standard escape codes are prefixed with Escape:
- Ctrl-Key:
^[ - Octal:
\033 - Unicode:
\u001b - Hexadecimal:
\x1B - Decimal:
27
| #!/bin/bash | |
| initializeANSI() | |
| { | |
| esc="$(echo -en '\e')" | |
| blackf="${esc}[30m"; redf="${esc}[31m"; greenf="${esc}[32m" | |
| yellowf="${esc}[33m" bluef="${esc}[34m"; purplef="${esc}[35m" | |
| cyanf="${esc}[36m"; whitef="${esc}[37m" |
This guide provides instructions for an Arch Linux installation featuring full-disk encryption via LVM on LUKS and an encrypted boot partition (GRUB) for UEFI systems.
Following the main installation are further instructions to harden against Evil Maid attacks via UEFI Secure Boot custom key enrollment and self-signed kernel and bootloader.
You will find most of this information pulled from the Arch Wiki and other resources linked thereof.
Note: The system was installed on an NVMe SSD, substitute /dev/nvme0nX with /dev/sdX or your device as needed.
| #!/bin/bash | |
| # 0 - SSH | |
| # This isn't necessary but if you ssh into the computer all the other steps are copy and paste | |
| # Set a password for root | |
| passwd | |
| # Get network access | |
| iwctl | |
| """ |
| #btrfs benchmark for daily used desktop OS |
There are multiple options how to install MS Office on Linux.
VM-based - Integrate Windows apps running in a Windows virtual machine as native-looking in Linux