摘要:
#!/bin/bashoutput_file="/home/yan/logfile.txt"while truedo ps aux | grep "[t]ar" >> "$output_file" if [ $? -eq 0 ]; then echo "" >> "$output_file" # 等 阅读全文
posted @ 2024-08-21 09:24
小白成长记-yan
阅读(9)
评论(0)
推荐(0)