nixCraft Linux / UNIX Newsletter

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

Linux run a command with a time limit (timeout)

Posted: 26 May 2020 03:01 AM PDT


{Updated} I want to start command called foo, and kill it if still running after given DURATION in seconds. 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.

How to backup and restore LXD containers

Posted: 26 May 2020 01:52 AM PDT

LXD backup and restore
Now that I set up an LXD container, how do I backup and restore LXD containers running on Ubuntu/Debian or Fedora/CentOS Linux server?

The post How to backup and restore LXD containers appeared first on nixCraft.