Skip to content

Instantly share code, notes, and snippets.

View shiloong's full-sized avatar

Shile Zhang shiloong

  • Alibaba
  • Hangzhou
View GitHub Profile
@shiloong
shiloong / press-any-key.sh
Created March 13, 2018 07:05 — forked from james2doyle/press-any-key.sh
bash implementation of "press any key to continue"
#!/bin/bash
read -n 1 -r -s -p "Press any key to continue..."
# this will fire after the key is pressed
echo "\ncool"
exit 0;