How do you repeat a command in Linux?

Sơn Lê

Member
How do you repeat a command in Linux?
Answer
How to Run or Repeat a Linux Command Every X Seconds Forever
  1. Use watch Command. Watch is a Linux command that allows you to execute a command or program periodically and also shows you output on the screen. …
  2. Use sleep Command. Sleep is often used to debug shell scripts, but it has many other useful purposes as well.
 

Tìm kiếm

Back
Top