gendata.sh 376 字节
Newer Older
H
Haojun Liao 已提交
1 2 3 4 5 6
#!/bin/bash

Cur_Dir=$(pwd)
echo $Cur_Dir

echo "'2020-1-1 1:1:1','abc','device',123,'9876', 'abc', 'net', 'mno', 'province', 'city', 'al'" >> ~/data.sql
H
Haojun Liao 已提交
7 8
echo "'2020-1-2 1:1:1','abc','device',123,'9876', 'abc', 'net', 'mno', 'province', 'city', 'al'" >> ~/data.sql
echo "'2020-1-3 1:1:1','abc','device',123,'9876', 'abc', 'net', 'mno', 'province', 'city', 'al'" >> ~/data.sql