摘要:
watch For example every 5 second, I want to print out the time then save the time into the a txt file $watch -n5 'echo `date +%T` >> hello.txt' # then 阅读全文
摘要:
Backticks Using to exec cmd and return the output as string $ echo `date` Fri Jun 7 15:40:11 EEST 2024 The same effect you can achieve by using $ echo 阅读全文