history 查看时间

echo 'export HISTTIMEFORMAT="%F %T `whoami` "' >> /etc/profile
source /etc/profile

执行上面的语句,再执行history就是有时间了

注意:在source修改之前的命令都是一样的,为这次登录机器的时间,之后只要不重启,就会一直有时间信息

评论

Francomia, 2019/06/01 22:45

Comprar Pastillas Levitra Can I Buy Celexa Online Kamagra Venta Sin Receta <a href=http://curerxfor.com>viagra</a> Compra Cialis In Contrassegno Does Teva 5312 500 Treats Stds

Francomia, 2019/06/08 19:59

Clopidogrel <a href=http://cthosts.net>cialis 5mg</a> Blueforce Viafra

Francomia, 2019/06/16 20:21

Tadalis Sx Naturel Brand Cialis Price Want To Order Prednisone <a href=http://getpharmacyonline.com>cheapest cialis 20mg</a> Buying Viagra Overnight Delivery Costa Rica Pharmacy Cialis Levitra Is

Francomia, 2019/06/24 15:41

Preisvergleich Cialis C20 Dove Comprare Cialis Generico <a href=http://4rxday.com>cialis vs viagra</a> Cheap Discount Cialis

Francomia, 2019/07/03 16:36

Amoxicillin Strengths <a href=http://drisdol.com>cialis from canada</a> Propecia Infertilidad Efectos Secundarios Generic Provera With Free Shipping Price Overseas Amex Accepted Lexington

Francomia, 2019/07/10 19:28

Propecia Nizoral Hair Loss Kamagra Kaufen Wien Proscar Para La Alopecia Propecia <a href=http://ciali10mg.com>cialis</a> Cialis Et Viagra

请输入您的评论. 可以使用维基语法: