Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

sleep command bash

sleep NUMBER[SUFFIX]	#Just use this command structure to wait/sleep
#Example:
sleep 5m	#sleeps 5 minutes
sleep 0.1		#sleeps 0.1 seconds or 100 miliseconds
#Suffixes
s - seconds (default)
m - minutes
h - hours
d - days
When no suffix is specified, it defaults to seconds.
Comment

bashrc sleep command

sleep 5s
Comment

bash sleep

#!/bin/bash

echo "Time Before Sleep Statement:" 
date +"%H:%M:%S"

sleep 3

echo "Time After Sleep Statement:"
date +"%H:%M:%S"
Comment

PREVIOUS NEXT
Code Example
Shell :: hojarudi 
Shell :: arch jpg to png 
Shell :: git create new repo in git bash/ terminal 
Shell :: windows 10 ipconfig fix 
Shell :: virtual network is not active 
Shell :: git CONFLICT (modify/delete) 
Shell :: bash pid background process 
Shell :: screenshot shortcut in ubuntu 
Shell :: add yarn package globally 
Shell :: get count lines in file using cat 
Shell :: rmmod: ERROR: Module nvidia_drm is in use 
Shell :: homestead.yaml adding provisions 
Shell :: revert uncommitted changes git 
Shell :: docker ps grep container id 
Shell :: configure: error: "curses not found" 
Shell :: deleting a file inside a tar or zip file linux 
Shell :: how create new git branch 
Shell :: dpkg: error processing package libc-bin (--configure): installed libc-bin package post-installation script subprocess returned error exit status 134 
Shell :: linux create file 
Shell :: install nixos mac m1 
Shell :: install document viewer ubuntu 
Shell :: uninstall brew from mac 
Shell :: difference between git remote and git clone 
Shell :: bash find string in program output 
Shell :: virtualbox shared folder linux 
Shell :: ettercap mac 
Shell :: linux bash test connection to host and port 
Shell :: Install command-line ipfs 
Shell :: bash add default argument 
Shell :: bash zip file without parent directory 
ADD CONTENT
Topic
Content
Source link
Name
8+4 =