Hacker Public Radio

HPR4155: GNU sleep tips


Listen Later

Sleep for 2 hours and 45 minutes:

sleep 2h 45m

Poor man's Pomodoro timer:

sleep 25m ; play bell.wav

Better one with tic toc:

(play tic.wav repeat 5000 trim 0 25:00 && play bell.wav)

Send a desktop notification from the command line:

notify-send "the message you want to show"

Pizza notifier:

sleep 15m ; notify-send "Pick up the pizza"

10 minute temperature probe display:

while temperature-probe ; do sleep 10m ; done

Download from websites in urls.txt with a 30-60 second delay:

for url in $( cat urls.txt ) ; do wget "$url" ; sleep $(( RANDOM % 31 + 30 )) ; done

Poor man's annoy-a-tron:

while true; do play -qn synth sin 9k trim 0 0.75 vol .5 ; sleep $((RANDOM % 4 + 3))m ; done

Other examples of using sleep from climagic:

https://twitter.com/search?q=from%3Aclimagic%20sleep&src=typed_query&f=live

...more
View all episodesView all episodes
Download on the App Store

Hacker Public RadioBy Hacker Public Radio

  • 4.2
  • 4.2
  • 4.2
  • 4.2
  • 4.2

4.2

34 ratings


More shows like Hacker Public Radio

View all
Security Now (Audio) by TWiT

Security Now (Audio)

1,971 Listeners

Off The Hook by 2600 Enterprises

Off The Hook

117 Listeners

No Agenda Show by Adam Curry & John C. Dvorak

No Agenda Show

5,941 Listeners

The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

283 Listeners

LINUX Unplugged by Jupiter Broadcasting

LINUX Unplugged

265 Listeners

BSD Now by JT Pennington

BSD Now

89 Listeners

Open Source Security by Josh Bressers

Open Source Security

43 Listeners

Late Night Linux by The Late Night Linux Family

Late Night Linux

154 Listeners

The Linux Cast by The Linux Cast

The Linux Cast

35 Listeners

Darknet Diaries by Jack Rhysider

Darknet Diaries

7,873 Listeners

This Week in Linux by TuxDigital Network

This Week in Linux

36 Listeners

Linux Dev Time by The Late Night Linux Family

Linux Dev Time

21 Listeners

Hacking Humans by N2K Networks

Hacking Humans

314 Listeners

2.5 Admins by The Late Night Linux Family

2.5 Admins

92 Listeners

Linux Matters by Linux Matters

Linux Matters

20 Listeners