Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on "sed"

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Alternatives

  1. sad is a simpler alternative to sed. sad is implemented in Rust and has built-in integration of fzf, which makes it easy to visually inspect changes.

  2. For complicated text substitutions …

Linux Administrator Tools

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. BCC is a toolkit for creating efficient kernel tracing and manipulation programs leveraging extended Berkeley Packet Filters (eBPF).

  2. webmin, cloudmin, usermin

  3. id, adduser, gpasswd (recommended for adding/removing groups)

  4. RustNet, uptime …

Dual Boot Linux and Windows

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

I personally don't see much value in dual booting Linux and Windows. Please refer to Windows Emulation on Linux if you need to run Windows apps on Linux.

Mount the Windows …

Windows Emulation on Linux

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Virtual machine is the recommend way to emulate Windows working environment on Linux.

Windows Virtual Machine

  1. A Windows virtual machine (e.g., using Virtual Machine Manager) provides a full working Windows …