Arch Linux Wi-Fi Configuration Made Easy with iwctl

To connect to Wi-Fi from the Arch Linux ISO using iwctl, you can follow these step-by-step instructions: Boot into the Arch Linux ISO: Insert the Arch Linux ISO into a bootable USB drive or CD and boot your computer from it. You may need to change your boot order in the BIOS/UEFI settings to boot from the USB drive or CD. Initialize the Network Connection: Once you’ve booted into the Arch Linux ISO, wait for the system to load....

October 18, 2023 · 2 min · 344 words · Saman Wijesinghe

Managing Packages Like a Pro: APT Commands You Need

Update Package Lists To update the local package database with the latest available packages from the repositories, use the following command: sudo apt update Upgrade Installed Packages: To upgrade all installed packages to their latest versions, use the following command: sudo apt upgrade Install a Package: To install a package, use the apt install command followed by the package name: sudo apt install package-name Remove a Package: To uninstall a package while keeping its configuration files, use the apt remove command:...

October 17, 2023 · 3 min · 488 words · Saman Wijesinghe

Frequently use nano keyboard shortcuts

Opening a File: nano filename: Open a file for editing. Basic Navigation: Arrow keys: Move the cursor. Ctrl + B: Move one page up. Ctrl + F: Move one page down. Ctrl + A: Move to the beginning of the current line. Ctrl + E: Move to the end of the current line. Ctrl + Y: Scroll up one line. Ctrl + V: Scroll down one line. Editing Text: Ctrl + Space: Set a mark....

October 10, 2023 · 2 min · 310 words · Saman Wijesinghe

Convert into .webp

Installing cwebp sudo apt update sudo apt install webp Fedora cwebp sudo dnf install libwebp-tools Open Suse sudo zypper install libwebp-tools Arch u sudo pacman -S base-devel git clone https://aur.archlinux.org/libwebp.git cd libwebp makepkg -si Convert JPG and PNG to WEBP for file in *.jpg *.png; do cwebp "$file" -o "${file%.*}.webp" done

October 8, 2023 · 1 min · 51 words · Saman