{"id":8415,"date":"2020-07-26T08:31:26","date_gmt":"2020-07-26T00:31:26","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=8415"},"modified":"2020-07-26T08:31:27","modified_gmt":"2020-07-26T00:31:27","slug":"aulastlog","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/aulastlog","title":{"rendered":"aulastlog\u547d\u4ee4 – \u6253\u5370\u6700\u8fd1\u767b\u9646\u8bb0\u5f55"},"content":{"rendered":"\n

aulastlog\u662f\u4e00\u4e2a\u7a0b\u5e8f\uff0c\u5b83\u6253\u5370\u51fa\u8ba1\u7b97\u673a\u7684\u6240\u6709\u7528\u6237\u7684\u6700\u540e\u4e00\u4e2a\u767b\u5f55\u540d\uff0c\u5e76\u4f7f\u7528\u7c7b\u4f3c\u4e8elastlog\u547d\u4ee4\u7684\u65b9\u5f0f\uff0c\u5c06\u6253\u5370\u767b\u5f55\u540d\u3001\u7aef\u53e3\u548c\u4e0a\u6b21\u767b\u5f55\u65f6\u95f4\u3002<\/p>\n\n\n\n

\u5982\u679c\u7528\u6237\u4ece\u672a\u767b\u5f55\uff0c\u5c06\u663e\u793a\u6d88\u606f\u201c\u4ece\u672a\u767b\u5f55\u201d\u800c\u4e0d\u662f\u7aef\u53e3\u548c\u65f6\u95f4\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>aulastlog [\u53c2\u6570]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

-u, --user<\/td>\u4ec5\u4f7f\u7528\u6307\u5b9a\u7684\u767b\u5f55\u540d\u4e3a\u7528\u6237\u6253\u5370\u6700\u540e\u65e5\u5fd7\u8bb0\u5f55<\/td><\/tr>
--stdin<\/td>\u4f7f\u7528 stdin \u4f5c\u4e3a\u5ba1\u6838\u8bb0\u5f55\u7684\u6765\u6e90<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u6253\u5370linuxcool\u7528\u6237\u7684\u767b\u9646\u65e5\u5fd7\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# aulastlog -u linuxcool<\/pre>\n\n\n\n

\u4ece\u6807\u51c6\u8f93\u5165\u4e2d\u83b7\u53d6\u767b\u9646\u65e5\u5fd7\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# aulastlog --stdin<\/pre>\n\n\n\n

\u83b7\u53d6\u6240\u6709\u7528\u6237\u7684\u767b\u9646\u65e5\u5fd7\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# aulastlog<\/pre>\n","protected":false},"excerpt":{"rendered":"

aulastlog\u662f\u4e00\u4e2a\u7a0b\u5e8f\uff0c\u5b83\u6253\u5370\u51fa\u8ba1\u7b97\u673a\u7684\u6240\u6709\u7528\u6237\u7684\u6700\u540e\u4e00\u4e2a\u767b\u5f55\u540d\uff0c\u5e76\u4f7f\u7528\u7c7b\u4f3c\u4e8elastlog\u547d\u4ee4\u7684\u65b9\u5f0f\uff0c […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8415"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=8415"}],"version-history":[{"count":2,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8415\/revisions"}],"predecessor-version":[{"id":8432,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8415\/revisions\/8432"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=8415"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=8415"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=8415"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}