{"id":7578,"date":"2004-06-15T23:04:34","date_gmt":"2004-06-15T21:04:34","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/2004\/06\/15\/learn-unix-shell\/"},"modified":"2017-06-06T09:17:01","modified_gmt":"2017-06-06T07:17:01","slug":"learn-unix-shell","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2004\/06\/15\/learn-unix-shell\/","title":{"rendered":"Learn UNIX shell"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p><img decoding=\"async\" class=\"alignleft\" src=\"\/wordpress\/wp-content\/20040615-xterm.jpg\" alt=\"\" \/><\/p>\n<p>There is a very nice <a href=\"http:\/\/linuxcommand.org\/learning_the_shell.php\">shell tutorial<\/a> at <a href=\"http:\/\/linuxcommand.org\/\">LinuxCommand.Org<\/a>.<\/p>\n<p>Not only it covers all the stuff like conditions, loops, and functions, but it also provides a list of resources to continue your education on the matter. The language is simple and the examples are clear.<\/p>\n<p>There is also a nice explanation on how to start writing scripts once you feel more or less comfortable with the command line itself. And, of course, you can find few ready made scripts in the <a href=\"http:\/\/linuxcommand.org\/script_library.php\">script library<\/a> over there.<\/p>\n<p>Strongly recommended for shell beginners.<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>There is a very nice shell tutorial at LinuxCommand.Org. Not only it covers all the stuff like conditions, loops, and functions, but it also provides a list of resources to continue your education on the matter. The language is simple and the examples are clear. There is also a nice explanation on how to start &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2004\/06\/15\/learn-unix-shell\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Learn UNIX 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":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[1,62],"tags":[3098,1960,253],"keyring_services":[],"class_list":["post-7578","post","type-post","status-publish","format-standard","hentry","category-general","category-technology","tag-bash","tag-command-line","tag-unix"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":9157,"url":"https:\/\/mamchenkov.net\/wordpress\/2005\/06\/25\/daily-del-icio-us-bookmarks\/","url_meta":{"origin":7578,"position":0},"title":"Daily del.icio.us bookmarks","author":"Leonid Mamchenkov","date":"June 25, 2005","format":false,"excerpt":"Shared bookmarks for del.icio.us user tvset on 2005-06-25 del.icio.us direc.tor: Delivering A High-Performance AJAX Web Service Broker :: Johnvey Tagged as: ajax browsers delicious javascript search tags web xml Google Maps Standalone Mode Tagged as: google googlemaps hack hacks map maps technology xml Jazz | All About Jazz Tagged as:\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":22377,"url":"https:\/\/mamchenkov.net\/wordpress\/2014\/08\/12\/what-is-the-shortest-and-most-effective-code-ever-written\/","url_meta":{"origin":7578,"position":1},"title":"What is the shortest and most effective code ever written?","author":"Leonid Mamchenkov","date":"August 12, 2014","format":false,"excerpt":"Quora runs the question, that by now has plenty of awesome answers. \u00a0But this one is my favorite so far: The 'true' program in Unix from the 1970s was an empty file. The shell interpreted that as a shell script which ran and resulted in no error status, so 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":21430,"url":"https:\/\/mamchenkov.net\/wordpress\/2014\/04\/02\/the-collection-of-evil-scripts\/","url_meta":{"origin":7578,"position":2},"title":"The collection of evil scripts","author":"Leonid Mamchenkov","date":"April 2, 2014","format":false,"excerpt":"Via the GitHub's daily email I came across a collection of evil scripts. \u00a0Here they are: Shell CSS JavaScript These are fun to read and are mildly educational, but on some level it's scary how much knowledge and effort went into this.","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":9876,"url":"https:\/\/mamchenkov.net\/wordpress\/2006\/01\/30\/best-shell-alias-ever\/","url_meta":{"origin":7578,"position":3},"title":"Best shell alias ever","author":"Leonid Mamchenkov","date":"January 30, 2006","format":false,"excerpt":"I came across the best shell alias ever: alias up=\"cd ..\" This is one of those things that make me go \"Why didn't I thought of it earlier? And myself?\". In order to add some value to this post, here are my two mostly used aliases: alias pd=\"perldoc\" alias pdf=\"perldoc\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":7578,"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":9494,"url":"https:\/\/mamchenkov.net\/wordpress\/2005\/09\/25\/daily-del-icio-us-bookmarks\/","url_meta":{"origin":7578,"position":5},"title":"Daily del.icio.us bookmarks","author":"Leonid Mamchenkov","date":"September 25, 2005","format":false,"excerpt":"Here are a bunch of bookmarks about Vim text editor. Efficient Editing With vim - Jonathan McPherson Tagged as: article blog computers editors programming reference vi vim VIM Color Scheme Test Tagged as: color colorscheme editors example test vi vim VIM Email Client Tagged as: computers cool editors email mua\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\/7578","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=7578"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/7578\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=7578"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=7578"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=7578"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=7578"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}