{"id":3822,"date":"2016-04-19T12:00:36","date_gmt":"2016-04-19T12:00:36","guid":{"rendered":"http:\/\/www.garysieling.com\/blog\/?p=3822"},"modified":"2016-04-19T12:00:36","modified_gmt":"2016-04-19T12:00:36","slug":"tail-output-multiple-files","status":"publish","type":"post","link":"https:\/\/www.garysieling.com\/blog\/tail-output-multiple-files\/","title":{"rendered":"Tail the output of multiple files"},"content":{"rendered":"<p>The &#8220;tail&#8221; command lets you see the end of a log file, and &#8220;tail -f&#8221; lets you see the output to the file as it comes.<\/p>\n<p>What&#8217;s really neat is you can give this multiple file names, and you&#8217;ll get the output of all of them mixed (e.g. you might want to see both error and access logs).<\/p>\n<pre lang=\"bash\">\ntail -f \/var\/log\/ssl-search-*\n<\/pre>\n<p>In the above, the &#8220;*&#8221; expands this argument into all noted files.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One simple trick to see log output across an application<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[4],"tags":[338,387],"aioseo_notices":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/3822"}],"collection":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/comments?post=3822"}],"version-history":[{"count":0,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/3822\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/media?parent=3822"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/categories?post=3822"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/tags?post=3822"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}