티스토리 뷰

공부

[Sh] sleep

승가비 2020. 6. 26. 01:01
728x90
sleep .5 # Waits 0.5 second.
sleep 5  # Waits 5 seconds.
sleep 5s # Waits 5 seconds.
sleep 5m # Waits 5 minutes.
sleep 5h # Waits 5 hours.
sleep 5d # Waits 5 days.

https://brocess.tistory.com/84

 

[ Linux ] 리눅스 shell script에서 특정 시간 동안 멈추기(sleep)

쉘 스크립트를 사용하다보면 스크립트 중간에 그 다음 로직으로 넘어가기전 특정 시간동안 멈추고 싶을 경우가 있다. 그럴 경우 다음과 같이 원하는 시간만큼 간편히 sleep 시킬 수 있다. [ shell sc

brocess.tistory.com

 

728x90

'공부' 카테고리의 다른 글

[Python] binary string to int  (0) 2020.06.26
[Python] Making a job fail in jenkins  (0) 2020.06.26
[Python] regexp split  (1) 2020.06.26
[Python] contains HashSet  (0) 2020.06.26
[Kafka] basic  (0) 2020.06.18
댓글