{"id":21440,"date":"2023-02-15T09:39:49","date_gmt":"2023-02-15T09:39:49","guid":{"rendered":"https:\/\/www.booksofall.com\/cn\/?post_type=product&#038;p=21440"},"modified":"2023-02-15T09:39:50","modified_gmt":"2023-02-15T09:39:50","slug":"ad-hoc-data-analysis-from-the-unix-command-line","status":"publish","type":"product","link":"https:\/\/www.booksofall.com\/cn\/ad-hoc-data-analysis-from-the-unix-command-line\/","title":{"rendered":"Ad Hoc Data Analysis From The Unix Command Line"},"content":{"rendered":"<p>Unix\u00a0is a family of\u00a0<a title=\"Computer multitasking\" href=\"https:\/\/en.wikipedia.org\/wiki\/Computer_multitasking\">multitasking<\/a>,\u00a0<a class=\"mw-redirect\" title=\"Multiuser\" href=\"https:\/\/en.wikipedia.org\/wiki\/Multiuser\">multiuser<\/a>\u00a0computer\u00a0<a title=\"Operating system\" href=\"https:\/\/en.wikipedia.org\/wiki\/Operating_system\">operating systems<\/a>\u00a0that derive from the original\u00a0<a title=\"AT&amp;T Corporation\" href=\"https:\/\/en.wikipedia.org\/wiki\/AT%26T_Corporation\">AT&amp;T<\/a> Unix, whose development started in 1969\u00a0<sup id=\"cite_ref-reader_1-1\" class=\"reference\"><\/sup>at the\u00a0<a title=\"Bell Labs\" href=\"https:\/\/en.wikipedia.org\/wiki\/Bell_Labs\">Bell Labs<\/a>\u00a0research center by\u00a0<a title=\"Ken Thompson\" href=\"https:\/\/en.wikipedia.org\/wiki\/Ken_Thompson\">Ken Thompson<\/a>,\u00a0<a title=\"Dennis Ritchie\" href=\"https:\/\/en.wikipedia.org\/wiki\/Dennis_Ritchie\">Dennis Ritchie<\/a>, and others.<sup id=\"cite_ref-Ritchie_4-0\" class=\"reference\"><\/sup><\/p>\n<p>Initially intended for use inside the\u00a0Bell System, AT&amp;T\u00a0licensed\u00a0Unix to outside parties in the late 1970s, leading to a variety of both academic and commercial Unix variants from vendors including\u00a0University of California, Berkeley\u00a0(BSD),\u00a0Microsoft\u00a0(Xenix),\u00a0Sun Microsystems\u00a0(SunOS\/Solaris),\u00a0HP\/HPE\u00a0(HP-UX), and\u00a0IBM\u00a0(AIX). In the early 1990s, AT&amp;T sold its rights in Unix to\u00a0Novell, which then sold the UNIX trademark to\u00a0The Open Group, an industry consortium founded in 1996. The Open Group allows the use of the mark for certified operating systems that comply with the\u00a0Single UNIX Specification\u00a0(SUS).<\/p>\n<p>Once upon a time, I was working with a colleague who needed to do some quick data analysis to get a handle on the scope of a problem. He was considering importing the data into a database or writing a program to parse and summarize that data. Either of these options would have taken hours at least, and possibly days. I wrote this on his whiteboard:<\/p>\n<dl>\n<dd>Your friends: cat, find, grep, wc, cut, sort, uniq<\/dd>\n<\/dl>\n<p>These simple commands can be combined to quickly answer the kinds of questions for which most people would turn to a <a href=\"https:\/\/www.britannica.com\/technology\/database\">database<\/a>, if only the data were already in a database. You can quickly (often in seconds) form and test hypotheses about virtually any record-oriented data source.<\/p>\n<h5><span id=\"Intended_audience\" class=\"mw-headline\">Intended audience<\/span><\/h5>\n<p>You&#8217;ve logged into a <a href=\"https:\/\/unix.org\/\">Unix<\/a> box of some flavor and run some basic commands like\u00a0<tt>ls<\/tt>\u00a0and\u00a0<tt>cd<\/tt>\u00a0and\u00a0<tt>cat<\/tt>. If you don&#8217;t know what the\u00a0<tt>ls<\/tt>\u00a0command does, you need a more basic introduction to Unix than I&#8217;m going to give here.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><iframe frameborder=\"0\" allowtransparency=\"true\" allowFullscreen=\"true\" style=\"width: 100%; height: 700px; border: none;\" src=\"https:\/\/online.visual-paradigm.com\/share\/book\/ad-hoc-data-analysis-from-the-unix-command-line-printable-version-19beyreqmh?enforceShowPromotionBar=true&#038;p=1\"><\/iframe><\/p>\n","protected":false},"featured_media":21444,"template":"","meta":{"_yoast_wpseo_title":"","_yoast_wpseo_metadesc":""},"product_brand":[],"product_cat":[334],"product_tag":[],"class_list":{"0":"post-21440","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-linux","8":"first","9":"instock","10":"shipping-taxable","11":"product-type-simple"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Ad Hoc Data Analysis From The Unix Command Line - BooksOfAll Simplified Chinese<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.booksofall.com\/cn\/ad-hoc-data-analysis-from-the-unix-command-line\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ad Hoc Data Analysis From The Unix Command Line - BooksOfAll Simplified Chinese\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.booksofall.com\/cn\/ad-hoc-data-analysis-from-the-unix-command-line\/\" \/>\n<meta property=\"og:site_name\" content=\"BooksOfAll Simplified Chinese\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-15T09:39:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2023\/02\/img_63eca7056c187.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2023\/02\/img_63eca7056c187.png\" \/>\n<meta name=\"twitter:label1\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.booksofall.com\/cn\/ad-hoc-data-analysis-from-the-unix-command-line\/\",\"url\":\"https:\/\/www.booksofall.com\/cn\/ad-hoc-data-analysis-from-the-unix-command-line\/\",\"name\":\"Ad Hoc Data Analysis From The Unix Command Line - BooksOfAll Simplified Chinese\",\"isPartOf\":{\"@id\":\"https:\/\/www.booksofall.com\/cn\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.booksofall.com\/cn\/ad-hoc-data-analysis-from-the-unix-command-line\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/cn\/ad-hoc-data-analysis-from-the-unix-command-line\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2023\/02\/img_63eca7056c187.png\",\"datePublished\":\"2023-02-15T09:39:49+00:00\",\"dateModified\":\"2023-02-15T09:39:50+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.booksofall.com\/cn\/ad-hoc-data-analysis-from-the-unix-command-line\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.booksofall.com\/cn\/ad-hoc-data-analysis-from-the-unix-command-line\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.booksofall.com\/cn\/ad-hoc-data-analysis-from-the-unix-command-line\/#primaryimage\",\"url\":\"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2023\/02\/img_63eca7056c187.png\",\"contentUrl\":\"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2023\/02\/img_63eca7056c187.png\",\"width\":\"525\",\"height\":\"747\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.booksofall.com\/cn\/ad-hoc-data-analysis-from-the-unix-command-line\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.booksofall.com\/cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Categories\",\"item\":\"https:\/\/www.booksofall.com\/cn\/categories\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Ad Hoc Data Analysis From The Unix Command Line\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.booksofall.com\/cn\/#website\",\"url\":\"https:\/\/www.booksofall.com\/cn\/\",\"name\":\"BooksOfAll Simplified Chinese\",\"description\":\"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.\",\"publisher\":{\"@id\":\"https:\/\/www.booksofall.com\/cn\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.booksofall.com\/cn\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.booksofall.com\/cn\/#organization\",\"name\":\"BooksOfAll Simplified Chinese\",\"url\":\"https:\/\/www.booksofall.com\/cn\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.booksofall.com\/cn\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2022\/06\/booksofall-logo-2.png\",\"contentUrl\":\"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2022\/06\/booksofall-logo-2.png\",\"width\":166,\"height\":30,\"caption\":\"BooksOfAll Simplified Chinese\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/cn\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Ad Hoc Data Analysis From The Unix Command Line - BooksOfAll Simplified Chinese","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.booksofall.com\/cn\/ad-hoc-data-analysis-from-the-unix-command-line\/","og_locale":"zh_CN","og_type":"article","og_title":"Ad Hoc Data Analysis From The Unix Command Line - BooksOfAll Simplified Chinese","og_url":"https:\/\/www.booksofall.com\/cn\/ad-hoc-data-analysis-from-the-unix-command-line\/","og_site_name":"BooksOfAll Simplified Chinese","article_modified_time":"2023-02-15T09:39:50+00:00","og_image":[{"url":"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2023\/02\/img_63eca7056c187.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_image":"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2023\/02\/img_63eca7056c187.png","twitter_misc":{"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.booksofall.com\/cn\/ad-hoc-data-analysis-from-the-unix-command-line\/","url":"https:\/\/www.booksofall.com\/cn\/ad-hoc-data-analysis-from-the-unix-command-line\/","name":"Ad Hoc Data Analysis From The Unix Command Line - BooksOfAll Simplified Chinese","isPartOf":{"@id":"https:\/\/www.booksofall.com\/cn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.booksofall.com\/cn\/ad-hoc-data-analysis-from-the-unix-command-line\/#primaryimage"},"image":{"@id":"https:\/\/www.booksofall.com\/cn\/ad-hoc-data-analysis-from-the-unix-command-line\/#primaryimage"},"thumbnailUrl":"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2023\/02\/img_63eca7056c187.png","datePublished":"2023-02-15T09:39:49+00:00","dateModified":"2023-02-15T09:39:50+00:00","breadcrumb":{"@id":"https:\/\/www.booksofall.com\/cn\/ad-hoc-data-analysis-from-the-unix-command-line\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.booksofall.com\/cn\/ad-hoc-data-analysis-from-the-unix-command-line\/"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.booksofall.com\/cn\/ad-hoc-data-analysis-from-the-unix-command-line\/#primaryimage","url":"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2023\/02\/img_63eca7056c187.png","contentUrl":"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2023\/02\/img_63eca7056c187.png","width":"525","height":"747"},{"@type":"BreadcrumbList","@id":"https:\/\/www.booksofall.com\/cn\/ad-hoc-data-analysis-from-the-unix-command-line\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.booksofall.com\/cn\/"},{"@type":"ListItem","position":2,"name":"Categories","item":"https:\/\/www.booksofall.com\/cn\/categories\/"},{"@type":"ListItem","position":3,"name":"Ad Hoc Data Analysis From The Unix Command Line"}]},{"@type":"WebSite","@id":"https:\/\/www.booksofall.com\/cn\/#website","url":"https:\/\/www.booksofall.com\/cn\/","name":"BooksOfAll Simplified Chinese","description":"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.","publisher":{"@id":"https:\/\/www.booksofall.com\/cn\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.booksofall.com\/cn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Organization","@id":"https:\/\/www.booksofall.com\/cn\/#organization","name":"BooksOfAll Simplified Chinese","url":"https:\/\/www.booksofall.com\/cn\/","logo":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.booksofall.com\/cn\/#\/schema\/logo\/image\/","url":"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2022\/06\/booksofall-logo-2.png","contentUrl":"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2022\/06\/booksofall-logo-2.png","width":166,"height":30,"caption":"BooksOfAll Simplified Chinese"},"image":{"@id":"https:\/\/www.booksofall.com\/cn\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.booksofall.com\/cn\/wp-json\/wp\/v2\/product\/21440","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.booksofall.com\/cn\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/www.booksofall.com\/cn\/wp-json\/wp\/v2\/types\/product"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.booksofall.com\/cn\/wp-json\/wp\/v2\/media\/21444"}],"wp:attachment":[{"href":"https:\/\/www.booksofall.com\/cn\/wp-json\/wp\/v2\/media?parent=21440"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/www.booksofall.com\/cn\/wp-json\/wp\/v2\/product_brand?post=21440"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.booksofall.com\/cn\/wp-json\/wp\/v2\/product_cat?post=21440"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/www.booksofall.com\/cn\/wp-json\/wp\/v2\/product_tag?post=21440"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}