{"id":26130,"date":"2016-05-26T12:34:35","date_gmt":"2016-05-26T10:34:35","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=26130"},"modified":"2016-05-26T12:34:35","modified_gmt":"2016-05-26T10:34:35","slug":"explain-shell","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2016\/05\/26\/explain-shell\/","title":{"rendered":"Explain Shell"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p>Here&#8217;s a good resource for all of those who is trying to learn shell and\/or figure out complex commands with lots of parameters and pipes &#8211; <a href=\"http:\/\/explainshell.com\/\">Explain Shell<\/a>.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2016\/05\/ExplainShell.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"26131\" data-permalink=\"https:\/\/mamchenkov.net\/wordpress\/2016\/05\/26\/explain-shell\/explainshell\/\" data-orig-file=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2016\/05\/ExplainShell.png?fit=905%2C580&amp;ssl=1\" data-orig-size=\"905,580\" 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=\"ExplainShell\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2016\/05\/ExplainShell.png?fit=660%2C423&amp;ssl=1\" class=\"aligncenter size-medium wp-image-26131\" src=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2016\/05\/ExplainShell-500x320.png?resize=500%2C320&#038;ssl=1\" alt=\"ExplainShell\" width=\"500\" height=\"320\" srcset=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2016\/05\/ExplainShell.png?resize=500%2C320&amp;ssl=1 500w, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2016\/05\/ExplainShell.png?resize=768%2C492&amp;ssl=1 768w, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2016\/05\/ExplainShell.png?w=905&amp;ssl=1 905w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p>You just paste the command and hit the &#8220;Explain&#8221; button, and the site will decompose the command into parts, providing relevant parts from the manual pages. \u00a0There are a few examples to try it out on too.<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>Here&#8217;s a good resource for all of those who is trying to learn shell and\/or figure out complex commands with lots of parameters and pipes &#8211; Explain Shell. You just paste the command and hit the &#8220;Explain&#8221; button, and the site will decompose the command into parts, providing relevant parts from the manual pages. \u00a0There &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2016\/05\/26\/explain-shell\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Explain Shell<\/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":"Explain Shell #UNIX #Linux #shell #bash #SysAdmin","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],"keyring_services":[],"class_list":["post-26130","post","type-post","status-publish","format-standard","hentry","category-general","category-linux","category-programming","category-sysadmin","category-technology","tag-bash","tag-command-line"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":26923,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/11\/21\/shell-parameter-expansion-default-values-for-shell-script-parameters\/","url_meta":{"origin":26130,"position":0},"title":"Shell parameter expansion : default values for shell script parameters","author":"Leonid Mamchenkov","date":"November 21, 2016","format":false,"excerpt":"When writing shell scripts, it's often useful to accept some command line parameters. \u00a0It's even more useful to have some defaults for those parameters. \u00a0Until now I've been using if statements to check if the parameter was empty, and if it was, to set it to the default value. \u00a0Something\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":47765,"url":"https:\/\/mamchenkov.net\/wordpress\/2020\/03\/19\/text-processing-in-the-shell\/","url_meta":{"origin":26130,"position":1},"title":"Text processing in the shell","author":"Leonid Mamchenkov","date":"March 19, 2020","format":false,"excerpt":"Whether you are an experienced shell user, or just a newbie, have a look at this article for a collection of the great tools and examples of how to process text in the shell. It includes all the usual suspects: cat, head, tail, wc, grep, cut, paste, sort, uniq, awk,\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":27421,"url":"https:\/\/mamchenkov.net\/wordpress\/2017\/03\/17\/cakephp-3-remove-shell-welcome-header\/","url_meta":{"origin":26130,"position":2},"title":"CakePHP 3 : Remove Shell Welcome Header","author":"Leonid Mamchenkov","date":"March 17, 2017","format":false,"excerpt":"CakePHP 3\u00a0has an excellent support for command line Shells, Tasks, and Console Tools. \u00a0There are a few that are bundled with the framework itself, and that come from a variety of plugins. \u00a0And, of course, you can have your own commands, specific to your application. There is one tiny little\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":27650,"url":"https:\/\/mamchenkov.net\/wordpress\/2017\/05\/30\/a-practical-guide-to-linux-commands-editors-and-shell-programming\/","url_meta":{"origin":26130,"position":3},"title":"A Practical Guide to Linux Commands, Editors, and Shell Programming","author":"Leonid Mamchenkov","date":"May 30, 2017","format":false,"excerpt":"I came across the second edition of the Prentice Hall's \"A Practical Guide to Linux Commands, Editors, and Shell Programming\" by\u00a0Mark G. Sobell (original link). \u00a0This is a rather lengthy book at just over 1,000 pages, covering everything from history of Linux and basic commands, all the way to bash,\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":27448,"url":"https:\/\/mamchenkov.net\/wordpress\/2017\/03\/22\/pushdpopd-vs-cd\/","url_meta":{"origin":26130,"position":4},"title":"pushd\/popd vs. cd","author":"Leonid Mamchenkov","date":"March 22, 2017","format":false,"excerpt":"My shell of choice and circumstance for most of my Linux life was Bash. \u00a0So, naturally, in my head, shell pretty much equals Bash, and I rarely think or get into situations when this is not true. \u00a0Recently, I was surprised by a script failure, which left me scratching my\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":8083,"url":"https:\/\/mamchenkov.net\/wordpress\/2004\/10\/20\/shaping-up-kde-all-the-way\/","url_meta":{"origin":26130,"position":5},"title":"Shaping up KDE all the way","author":"Leonid Mamchenkov","date":"October 20, 2004","format":false,"excerpt":"I think that by now everyone who touched KDE can pretty much figure out how to customize the appearence and shortcuts. Plenty of settings can be changed via kcontrol. Numerous themes can be downloaded from sites like www.kde-look.org. All of these are pretty trivial. There is more to customizing KDE\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":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/26130","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=26130"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/26130\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=26130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=26130"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=26130"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=26130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}