将一些文本和当前日期和时间添加到文件中

.

0

linux命令:echo "some text `date +%Y-%m-%d\_%H:%M:%S`" >> /path/to/filename /path/to/filename >> +%Y-%m-%d\_%H:%M:%S`" `date text "some echo echo "some text `date +%Y-%m-%d\_%H:%M:%S`" >> /path/to/filenamerootopen.com
linux命令:echo "some text `date +%Y-%m-%d\_%H:%M:%S`" >> /path/to/filename /path/to/filename >> +%Y-%m-%d\_%H:%M:%S`" `date text "some echo echo "some text `date +%Y-%m-%d\_%H:%M:%S`" >> /path/to/filenamerootopen.com
gray 2018-07-27 22:25:11
输出
This will output (without the quotes) "some text 2018-07-27_00:30:33" to /path/to/filename

评论

相关推荐
共收录0条命令行
这里是记录和分享命令行的地方, 所有命令行都可以进行评论、提交替代方案.

热门文章