RLX_logClean/start_monitor.sh

6 lines
221 B
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 上位机启动tftp并将base目录设为项目根目录
# 远程ssh登录然后执行以下命令
cd /tmp && tftp 192.168.1.5 -g -l logDataClean.awk
tail -f /tmp/tuya.log | awk -f logDataClean.awk > /dev/null &