{"id":1051,"date":"2019-02-19T15:20:32","date_gmt":"2019-02-19T19:20:32","guid":{"rendered":"http:\/\/io.bainwerx.com\/blog\/?p=1051"},"modified":"2019-02-19T15:33:37","modified_gmt":"2019-02-19T19:33:37","slug":"raspberry-pi-motd","status":"publish","type":"post","link":"https:\/\/io.bainwerx.com\/blog\/raspberry-pi-motd\/","title":{"rendered":"Raspberry Pi &#8211; MOTD"},"content":{"rendered":"\n<p>For those not in the loop, the MOTD is the message of the day that is shown after you login to the Pi.<\/p>\n\n\n\n<p>After some running through the motions on a few things, I was able to customize it to show information that I would like to know when I access the device&#8230;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"2638\" height=\"782\" data-attachment-id=\"1052\" data-permalink=\"https:\/\/io.bainwerx.com\/blog\/raspberry-pi-motd\/screen-shot-2019-02-19-at-13-45-33\/#main\" data-orig-file=\"https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/02\/Screen-Shot-2019-02-19-at-13.45.33.png?fit=2638%2C782&amp;ssl=1\" data-orig-size=\"2638,782\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screen Shot 2019-02-19 at 13.45.33\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/02\/Screen-Shot-2019-02-19-at-13.45.33.png?fit=300%2C89&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/02\/Screen-Shot-2019-02-19-at-13.45.33.png?fit=620%2C184&amp;ssl=1\" src=\"https:\/\/i1.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/02\/Screen-Shot-2019-02-19-at-13.45.33.png?fit=620%2C184\" alt=\"\" class=\"wp-image-1052\" srcset=\"https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/02\/Screen-Shot-2019-02-19-at-13.45.33.png?w=2638&amp;ssl=1 2638w, https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/02\/Screen-Shot-2019-02-19-at-13.45.33.png?resize=300%2C89&amp;ssl=1 300w, https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/02\/Screen-Shot-2019-02-19-at-13.45.33.png?resize=768%2C228&amp;ssl=1 768w, https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/02\/Screen-Shot-2019-02-19-at-13.45.33.png?resize=1024%2C304&amp;ssl=1 1024w, https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/02\/Screen-Shot-2019-02-19-at-13.45.33.png?resize=1180%2C350&amp;ssl=1 1180w, https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/02\/Screen-Shot-2019-02-19-at-13.45.33.png?w=1240&amp;ssl=1 1240w, https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/02\/Screen-Shot-2019-02-19-at-13.45.33.png?w=1860&amp;ssl=1 1860w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/figure>\n\n\n\n<p>After sitting and coding things out (mostly remembering things like grep, sed and cut&#8230;my default <g class=\"gr_ gr_3 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace\" id=\"3\" data-gr-id=\"3\">motd<\/g> now looks like this.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"620\" height=\"301\" data-attachment-id=\"1053\" data-permalink=\"https:\/\/io.bainwerx.com\/blog\/raspberry-pi-motd\/screen-shot-2019-02-19-at-13-44-57\/#main\" data-orig-file=\"https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/02\/Screen-Shot-2019-02-19-at-13.44.57.png?fit=894%2C434&amp;ssl=1\" data-orig-size=\"894,434\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screen Shot 2019-02-19 at 13.44.57\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/02\/Screen-Shot-2019-02-19-at-13.44.57.png?fit=300%2C146&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/02\/Screen-Shot-2019-02-19-at-13.44.57.png?fit=620%2C301&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/02\/Screen-Shot-2019-02-19-at-13.44.57.png?resize=620%2C301\" alt=\"\" class=\"wp-image-1053\" srcset=\"https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/02\/Screen-Shot-2019-02-19-at-13.44.57.png?w=894&amp;ssl=1 894w, https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/02\/Screen-Shot-2019-02-19-at-13.44.57.png?resize=300%2C146&amp;ssl=1 300w, https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/02\/Screen-Shot-2019-02-19-at-13.44.57.png?resize=768%2C373&amp;ssl=1 768w, https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/02\/Screen-Shot-2019-02-19-at-13.44.57.png?resize=783%2C380&amp;ssl=1 783w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>For those not in the loop, the MOTD is the message of the day that is shown after you login to the Pi. After some running through the motions on a few things, I was able to customize it to show information that I would like to know when I access the device&#8230; After sitting &hellip; <a href=\"https:\/\/io.bainwerx.com\/blog\/raspberry-pi-motd\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Raspberry Pi &#8211; MOTD<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[75],"tags":[],"class_list":["post-1051","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi","without-featured-image"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8DcKP-gX","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/posts\/1051","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/comments?post=1051"}],"version-history":[{"count":2,"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/posts\/1051\/revisions"}],"predecessor-version":[{"id":1055,"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/posts\/1051\/revisions\/1055"}],"wp:attachment":[{"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/media?parent=1051"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/categories?post=1051"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/tags?post=1051"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}