Using df command showing size in megabytes

Happy New Year 2024! This is going to be a very short post on how to use ‘df’ command to display the disk space usage in megabytes. To display the output in MB (megabytes), we can use the -m flag with the df command as the following: ❯ df -m Filesystem 1M-blocks Used Available Use% Mounted on devtmpfs 4 0 4 0% /dev tmpfs 852 0 852 0% /dev/shm tmpfs 341 6 336 2% /run /dev/mapper/almalinux-root 7578 2068 5511 28% / /dev/vda2 1014 280 735 28% /boot /dev/vda1 599 8 592 2% /boot/efi tmpfs 171 0 171 0% /run/user/1000 It’s simple, isn’t it?...

January 1, 2024 · 1 min · 103 words · kenno

How to restart KDE Plasma without logging out

I’m running KDE Plasma Version 5.27.8 on Fedora 38. It’s been very stable and Plasma crashes a lot less comparing to the old day when running Plasma 5.0 on (older) Kubuntu. Anyway, today, my Plasma’s taskbar froze and I needed to restarted. Instead of logging out and logging back in, I found a way to restart the Plasmashell. Here is the command which worked for me for this Plasma version:...

September 24, 2023 · 1 min · 97 words · kenno

Set default window's dimensions for Alacritty

I haven’t really posted anything new recently as I’ve just had a big transision in my career. I may or may not write about this in the future, as I don’t think it’s that relevant to you. Anyway, I’ve been having this trouble with window size of Alacritty being too small on launched.First what is Alacritty? It’s an terminal emulator written in Rust. It also makes use of GPU-acceleration, which should improve some performance in theory....

November 17, 2021 · 1 min · 201 words · kenno

Work Around for Dracut and LUKS Issue on Pre-release Fedora 34

I’ve been running Fedora 34 pre-release version even before it became beta. Everything has been working so far until recently when a package dracut was updated from 0.58 to 0.58-1. What is dracut? Good question. It’s an initramfs infrastructure used on Fedora system. Find out more from Dracut. The issue that introduced in version 0.58-1 on F34 is that it prevents any machines that use LUKS encryption for root partition to boot....

April 10, 2021 · 2 min · 319 words · kenno

BIOS Firmware for ThinkPad P1 Gen1 1.33

Lenovo released the firmeware v1.33 for ThinkPad P1 Gen1 recently which addressed many CVEs. CHANGES IN THIS RELEASE Version 1.33 [Important updates] - Update includes a security fix. - Addresses CVE-2020-0587, CVE-2020-0588, CVE-2020-0590, CVE-2020-0591, CVE-2020-0592, and CVE-2020-0593. (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-0587) (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-0588) (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-0590) (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-0591) (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-0592) (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-0593) [New functions or enhancements] - Updated the Diagnostics module to version 04.15.000. [Problem fixes] - Nothing It’s worth noting that this 1.33 version is not yet available via fwupdmgr....

January 9, 2021 · 1 min · 131 words · kenno