{"id":27601,"date":"2017-05-22T15:57:54","date_gmt":"2017-05-22T13:57:54","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=27601"},"modified":"2017-05-22T15:57:54","modified_gmt":"2017-05-22T13:57:54","slug":"linux-utils-that-you-might-not-know","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2017\/05\/22\/linux-utils-that-you-might-not-know\/","title":{"rendered":"Linux utils that you might not know"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p><a href=\"http:\/\/shiroyasha.io\/coreutils-that-you-might-not-know.html\">Linux utils that you might not know<\/a> covers a few Linux command line utilities that aren&#8217;t very famous:<\/p>\n<ul>\n<li><strong><em>column<\/em><\/strong>, for &#8220;columnating&#8221; lists, which is very useful for display of table-like data (think CSV, for example);<\/li>\n<li><strong><em>cal<\/em><\/strong>, for displaying calendars;<\/li>\n<li><strong><em>factor<\/em><\/strong>, for calculating factors;<\/li>\n<li><strong><em>numfmt<\/em><\/strong>, for formatting numbers and converting them to\/from human-readable formats;<\/li>\n<li><strong><em>shred<\/em><\/strong>, for overwriting the content of a deleted file, making it much more difficult to recover.<\/li>\n<\/ul>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>Linux utils that you might not know covers a few Linux command line utilities that aren&#8217;t very famous: column, for &#8220;columnating&#8221; lists, which is very useful for display of table-like data (think CSV, for example); cal, for displaying calendars; factor, for calculating factors; numfmt, for formatting numbers and converting them to\/from human-readable formats; shred, for &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2017\/05\/22\/linux-utils-that-you-might-not-know\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Linux utils that you might not know<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"Linux utils that you might not know #Linux #UNIX #CLI #tools #shell","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},"_links_to":"","_links_to_target":""},"categories":[1,6,18,133,62],"tags":[3098,1960,253],"keyring_services":[],"class_list":["post-27601","post","type-post","status-publish","format-standard","hentry","category-general","category-linux","category-programming","category-sysadmin","category-technology","tag-bash","tag-command-line","tag-unix"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":28879,"url":"https:\/\/mamchenkov.net\/wordpress\/2018\/10\/23\/go-monorepo\/","url_meta":{"origin":27601,"position":0},"title":"Go Monorepo","author":"Leonid Mamchenkov","date":"October 23, 2018","format":false,"excerpt":"As a maintainer and contributor to multiple, and often related, git repositories, I often find myself thinking that there must be a simpler way. Consider, for example, a variety of CakePHP plugins that we develop and maintain at work.\u00a0 Sure, each one provides a completely separate bit of functionality and\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":26010,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/04\/12\/open-source-software-is-so-reassuring\/","url_meta":{"origin":27601,"position":1},"title":"Open Source software is so reassuring &#8230;","author":"Leonid Mamchenkov","date":"April 12, 2016","format":false,"excerpt":"There's nothing like working on a problem for a few days and getting to the reassuring code snippet like this: The first comment\u00a0is misleading. It throws you off. Almost make you close the file and go somewhere else. But that's just a little frustration from the last few days. The\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":27134,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/12\/15\/centos-7-3-released\/","url_meta":{"origin":27601,"position":2},"title":"CentOS 7.3 released","author":"Leonid Mamchenkov","date":"December 15, 2016","format":false,"excerpt":"CentOS 7.3 was released rather quietly a couple of days ago. \u00a0Or maybe it wasn't quietly, but I still somehow missed it. \u00a0Here is a list of major changes: Since release 1503 (abrt>= 2.1.11-19.el7.centos.0.1) CentOS-7 can report bugs directly to bugs.centos.org. Various new packages include among others: python-gssapi, python-netifaces, mod_auth_openidc,\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":27523,"url":"https:\/\/mamchenkov.net\/wordpress\/2017\/04\/17\/deprecated-linux-networking-commands-and-their-replacements\/","url_meta":{"origin":27601,"position":3},"title":"Deprecated Linux networking commands and their replacements","author":"Leonid Mamchenkov","date":"April 17, 2017","format":false,"excerpt":"Doug Vitale Tech Blog runs a post with a collection of the deprecated Linux networking commands and their replacements. Pretty handy if you want update some of your old bash scripts. Deprecated command Replacement command(s) arp ip n (ip neighbor) ifconfig ip a (ip addr), ip link, ip -s (ip\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7373,"url":"https:\/\/mamchenkov.net\/wordpress\/2004\/03\/23\/how-can-i-patch-a-script-on-a-linux-system\/","url_meta":{"origin":27601,"position":4},"title":"How can I patch a script on a Linux system?","author":"Leonid Mamchenkov","date":"March 23, 2004","format":false,"excerpt":"\"linux how to patch sample script\" Well, patching is simple. Consider the following scenario: we have a script file named script.pl to which we need to make changes, save them in the patch. We start by copying the original file to the working file with the command cp script.pl script-my.pl\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":12823,"url":"https:\/\/mamchenkov.net\/wordpress\/2010\/07\/27\/monitoring-tree-of-linux-processes\/","url_meta":{"origin":27601,"position":5},"title":"Monitoring tree of Linux processes","author":"Leonid Mamchenkov","date":"July 27, 2010","format":false,"excerpt":"Once in a while there is a need to see the tree of processes on a Linux system. \u00a0When such a need arises, I usually run \"ps auxw --forest\", which results in something like this (partial output, top only): Today, via this blog post, I've learned that there is another\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2010\/07\/ps_auxw_forest-500x253.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/27601","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=27601"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/27601\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=27601"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=27601"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=27601"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=27601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}