{"id":19590,"date":"2022-09-22T02:15:50","date_gmt":"2022-09-22T00:15:50","guid":{"rendered":"http:\/\/blog.wenzlaff.de\/?p=19590"},"modified":"2022-11-11T15:38:20","modified_gmt":"2022-11-11T14:38:20","slug":"zeitangabe-in-der-history","status":"publish","type":"post","link":"http:\/\/blog.wenzlaff.de\/?p=19590","title":{"rendered":"Zeitangabe in der History"},"content":{"rendered":"<p>Wer auf einem Raspberry Pi die Zeit auch in der History haben will, <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2022\/09\/statistik.webp\" alt=\"\" width=\"1920\" height=\"1080\" class=\"aligncenter size-full wp-image-19591\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2022\/09\/statistik.webp 1920w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2022\/09\/statistik-300x169.webp 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2022\/09\/statistik-1024x576.webp 1024w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2022\/09\/statistik-768x432.webp 768w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2022\/09\/statistik-1536x864.webp 1536w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/p>\n<p>kann in der Datei &#8230; <!--more--><\/p>\n<p><strong>\/home\/pi\/.bashrc<\/strong><\/p>\n<p>disen Eintrag erg\u00e4nzen:<\/p>\n<p><strong>HISTTIMEFORMAT=&#8220;%F %T: &#8222;<\/strong><\/p>\n<p>So sieht des dann aus, und man kann denn auch erkennen, wann ein Befehl ausgef\u00fchrt wurde. <\/p>\n<pre class=\"lang:default decode:true \" >  \r\n\r\n  181  2022-09-20 22:00:06: ls\r\n  182  2022-09-20 22:00:08: ls -la\r\n  183  2022-09-20 22:00:30: vi .bashrc\r\n  184  2022-09-20 22:01:05: exit\r\n  185  2022-09-20 22:01:10: history\r\n\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Wer auf einem Raspberry Pi die Zeit auch in der History haben will, kann in der Datei &#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[220,1023],"tags":[315,313,1018,1286],"class_list":["post-19590","post","type-post","status-publish","format-standard","hentry","category-anleitung","category-raspberry-pi","tag-bash","tag-history","tag-profil","tag-raspberry"],"_links":{"self":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts\/19590","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=19590"}],"version-history":[{"count":0,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts\/19590\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=19590"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=19590"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=19590"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}