https://serverfault.com/questions/469247/how-do-i-sleep-for-a-millisecond-in-bash-or-ksh

 

How do I sleep for a millisecond in bash or ksh

sleep is a very popular command and we can start sleep from 1 second: # wait one second please sleep 1 but what the alternative if I need to wait only 0.1 second or between 0.1 to 1 second ? re...

serverfault.com

 

  • 1/2 of a second
    • sleep 0.5
  • 1/1000 of a second
    • sleep 0.01
  • so for a millisecond you would want
    • sleep 0.001

 

 

'IT' 카테고리의 다른 글

vscode 내 git user 변경  (0) 2024.07.31
Project IDX 웹 IDE  (0) 2024.07.31
MacOS python  (0) 2024.06.30
HAOS 세팅 Home Assistant 세팅  (0) 2024.06.20
구글 크롬캐스트 리모컨 버튼 매핑, 변경  (0) 2024.05.13

+ Recent posts