Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
终端有没有一个功能就是程序中输出到终端的在前面加上一个时间戳
Apps Section
554
views ·
1
replies ·
To
floor
Go
ziyujzy
deepin
2015-03-25 18:04
Author
[Tue Mar 24 17:05:04.377 2015] hello
[Tue Mar 24 17:05:04.377 2015] world
类似这种,前面自己加的,THX
Reply
Like 0
Favorite
View the author
All Replies
176******11
deepin
2015-03-26 04:39
#1
bash下输入:PS1='[\d \t 2015]\$'
deepin默认的shell zsh尝试修改了一下失败了,也不知道如何显示毫秒
Reply
Like 0
View the author
Please
sign
in first
New Thread
Popular Events
More
[Tue Mar 24 17:05:04.377 2015] world
类似这种,前面自己加的,THX