- 博客(2)
- 资源 (1)
- 收藏
- 关注
原创 shell 将当前时间写入指定文件行
#!/bin/shaa="/root/aa"sed '/#defineDateTime /'d $aa > tempprintf "#defineDateTime /"" >> tempdate +%Y%m%d-%k:%M:%S/" >> tempcp temp $aarm -f temp
2010-11-22 20:02:00
1399
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人