nixCraft Linux / UNIX Newsletter

Link to [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format

How to backup and restore LUKS header on Linux

Posted: 21 Aug 2020 01:05 AM PDT

LUKS backup and restore on Linux
Previously I explained how to encrypt Linux partitions or disk with the LUKS (Linux Unified Key Setup)/dm-crypt. In this quick blog post, I will explain how to backup and restore LUKS header for emergency purposes. Backup is useful for recovering from misconfigurations, corrupted headers or forgotten passphrase or unknown password.

The post How to backup and restore LUKS header on Linux appeared first on nixCraft.

Linux run a command with a time limit (timeout)

Posted: 20 Aug 2020 08:43 AM PDT


{Updated} How do I run a command a time Limit on Linux? How do I run a Linux command, and have it timeout (abort) after N seconds? Can you give timeout command examples in Linux?

The post Linux run a command with a time limit (timeout) appeared first on nixCraft.