Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata

So the two commands are different but same concept, usually used to run a command after something has finished.

Linux: (5 = 5 seconds)

ping -w 5 localhost

Note: For Linux you can use:

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.

Windows: (5 = 5 seconds)

ping localhost -n 5 
  • No labels

1 Comment