{"id":1601,"date":"2016-06-24T18:20:26","date_gmt":"2016-06-24T17:20:26","guid":{"rendered":"http:\/\/slave27.local\/kb\/?p=1601"},"modified":"2016-06-24T18:20:26","modified_gmt":"2016-06-24T17:20:26","slug":"adding-cowsay-to-login","status":"publish","type":"post","link":"https:\/\/andy.teknostatik.co.uk\/kb\/2016\/06\/24\/adding-cowsay-to-login\/","title":{"rendered":"Adding cowsay to login"},"content":{"rendered":"<p>To get an interesting picture and quote each time you log in to a terminal session add the following to <code>\/etc\/profile<\/code>:<\/p>\n<pre><code>echo;fortune | cowsay -f dragon;echo\n<\/code><\/pre>\n<p>This requires <code>fortune<\/code> and <code>cowsay<\/code> to be installed first (through apt or homebrew depending on platform).<\/p>\n<p>The optput should look something like:<\/p>\n<pre><code> _________________________________________\n&lt; Caution: Keep out of reach of children. &gt;\n -----------------------------------------\n      \\                    \/ \\  \/\/\\\n       \\    |\\___\/|      \/   \\\/\/  \\\\\n            \/0  0  \\__  \/    \/\/  | \\ \\    \n           \/     \/  \\\/_\/    \/\/   |  \\  \\  \n           @_^_@'\/   \\\/_   \/\/    |   \\   \\ \n           \/\/_^_\/     \\\/_ \/\/     |    \\    \\\n        ( \/\/) |        \\\/\/\/      |     \\     \\\n      ( \/ \/) _|_ \/   )  \/\/       |      \\     _\\\n    ( \/\/ \/) '\/,_ _ _\/  ( ; -.    |    _ _\\.-~        .-~~~^-.\n  (( \/ \/ )) ,-{        _      `-.|.-~-.           .~         `.\n (( \/\/ \/ ))  '\/\\      \/                 ~-. _ .-~      .-~^-.  \\\n (( \/\/\/ ))      `.   {            }                   \/      \\  \\\n  (( \/ ))     .----~-.\\        \\-'                 .~         \\  `. \\^-.\n             \/\/\/.----..&gt;        \\             _ -~             `.  ^-`  ^-_\n               \/\/\/-._ _ _ _ _ _ _}^ - - - - ~                     ~-- ,.-~\n                                                                  \/.-~\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>To get an interesting picture and quote each time you log in to a terminal session add the following to \/etc\/profile: echo;fortune | cowsay -f dragon;echo This requires fortune and cowsay to be installed first (through apt or homebrew depending on platform). The optput should look something like: _________________________________________ &lt; Caution: Keep out of reach &#8230; <a title=\"Adding cowsay to login\" class=\"read-more\" href=\"https:\/\/andy.teknostatik.co.uk\/kb\/2016\/06\/24\/adding-cowsay-to-login\/\" aria-label=\"Read more about Adding cowsay to login\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","_share_on_mastodon":"0"},"categories":[3,5,6,8],"tags":[],"class_list":["post-1601","post","type-post","status-publish","format-standard","hentry","category-debian","category-linux","category-mac-os-x","category-ubuntu"],"share_on_mastodon":{"url":"","error":""},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/posts\/1601","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/comments?post=1601"}],"version-history":[{"count":0,"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/posts\/1601\/revisions"}],"wp:attachment":[{"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/media?parent=1601"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/categories?post=1601"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/tags?post=1601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}