摘要:
The basic syntax of a for loop in Bash is: for variable in list do commands done Examples Example 1: Iterating Over a List of Words #!/bin/zsh for wor 阅读全文
posted @ 2024-06-11 18:35
Zhentiw
阅读(17)
评论(0)
推荐(0)
摘要:
Create a logger.sh file #!/bin/bash echo `date +'%T %F'` $* >> `date +%F`.log $*: Represents all script arguments Example $ logger hello $ logger hell 阅读全文
posted @ 2024-06-11 18:18
Zhentiw
阅读(13)
评论(0)
推荐(0)

浙公网安备 33010602011771号