klotz: timeout*

Bookmarks on this page are managed by an admin user.

0 bookmark(s) - Sort by: Date ↑ / Title / - Bookmarks from other users for this tag

  1. #!/bin/bash
    {
    sleep 5m
    kill $$
    } &

    while true
    do
    date
    sleep 1
    done

    or

    timeout 5m bash script.sh
    2020-12-23 Tags: , by klotz
  2. ( cmdpid=$BASHPID; (sleep 10; kill $cmdpid) & exec ping www.goooooogle.com )
    2021-06-29 Tags: , , , , by klotz

Top of the page

First / Previous / Next / Last / Page 1 of 0 SemanticScuttle - klotz.me: Tags: timeout

About - Propulsed by SemanticScuttle