{"id":405,"date":"2005-08-24T19:15:26","date_gmt":"2005-08-25T02:15:26","guid":{"rendered":"https:\/\/www.rnsmith.com\/?p=405"},"modified":"2005-08-24T19:15:26","modified_gmt":"2005-08-25T02:15:26","slug":"lots-of-fixins","status":"publish","type":"post","link":"https:\/\/www.rnsmith.com\/?p=405","title":{"rendered":"Lots of Fixins"},"content":{"rendered":"<p>I&#8217;ve spent the past couple of evenings fixing things on my webserver. I&#8217;ve been watching the logs for the past several days and noticed a number of small items that I could fix. I also decided to start gathering usage statistics so I could see who is accessing the blog and what they are accessing. Hopefully I&#8217;ve got it all put together correctly!! Making sure that the statistics are run before the logfiles get rotated is kind of important.<\/p>\n<p>I&#8217;ve been quite frustrated at figuring how to look at only certain lines in one of my log files. I&#8217;d like to display only those lines that don&#8217;t have anywhere in the line the word &#8216;vsftpd&#8217;. Outside of writting a program to do this, I&#8217;m not figuring out how to do this with any standard programs like grep. It&#8217;s fairly straightforward to print lines with specific text patterns, but to exclude certain lines? That has turned out to be a challenge!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve spent the past couple of evenings fixing things on my webserver. I&#8217;ve been watching the logs for the past several days and noticed a number of small items that I could fix. I also decided to start gathering usage statistics so I could see who is accessing the blog and what they are accessing. &hellip; <a href=\"https:\/\/www.rnsmith.com\/?p=405\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Lots of Fixins<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","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":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[3,1],"tags":[],"class_list":["post-405","post","type-post","status-publish","format-standard","hentry","category-computer-stuff","category-general"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pnKxs-6x","_links":{"self":[{"href":"https:\/\/www.rnsmith.com\/index.php?rest_route=\/wp\/v2\/posts\/405","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rnsmith.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rnsmith.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rnsmith.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rnsmith.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=405"}],"version-history":[{"count":0,"href":"https:\/\/www.rnsmith.com\/index.php?rest_route=\/wp\/v2\/posts\/405\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rnsmith.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=405"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rnsmith.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=405"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rnsmith.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=405"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}