The source content for blog.juliobiason.me
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

137 lines
6.2 KiB

<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<!-- Enable responsiveness on mobile devices-->
<!-- viewport-fit=cover is to support iPhone X rounded corners and notch in landscape-->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, viewport-fit=cover">
<title>Julio Biason .Me 4.3</title>
<!-- CSS -->
<link rel="stylesheet" href="https://blog.juliobiason.me/print.css" media="print">
<link rel="stylesheet" href="https://blog.juliobiason.me/poole.css">
<link rel="stylesheet" href="https://blog.juliobiason.me/hyde.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface">
</head>
<body class=" ">
<div class="sidebar">
<div class="container sidebar-sticky">
<div class="sidebar-about">
<a href="https:&#x2F;&#x2F;blog.juliobiason.me"><h1>Julio Biason .Me 4.3</h1></a>
<p class="lead">Old school dev living in a 2.0 dev world</p>
</div>
<ul class="sidebar-nav">
<li class="sidebar-nav-item"><a href="&#x2F;">English</a></li>
<li class="sidebar-nav-item"><a href="&#x2F;pt">Português</a></li>
<li class="sidebar-nav-item"><a href="&#x2F;tags">Tags (EN)</a></li>
<li class="sidebar-nav-item"><a href="&#x2F;pt&#x2F;tags">Tags (PT)</a></li>
</ul>
</div>
</div>
<div class="content container">
<div class="post">
<h1 class="post-title">Linux Shell Scripting Cookbook - Shantanu Tushar</h1>
<span class="post-date">
2016-01-13
<a href="https://blog.juliobiason.me/tags/books/">#books</a>
<a href="https://blog.juliobiason.me/tags/shantanu-tushar/">#shantanu tushar</a>
<a href="https://blog.juliobiason.me/tags/reviews/">#reviews</a>
<a href="https://blog.juliobiason.me/tags/it/">#it</a>
<a href="https://blog.juliobiason.me/tags/shell-script/">#shell script</a>
<a href="https://blog.juliobiason.me/tags/stars-2/">#stars:2</a>
<a href="https://blog.juliobiason.me/tags/published-2011/">#published:2011</a>
</span>
<p><a href="https://www.goodreads.com/book/show/10370134-linux-shell-scripting-cookbook">GoodReads Summary</a>:
This cookbook is for beginners or intermediate Linux users who want to master
writing Bash shell scripts. Intermediate/advanced users, system
administrators, developers, and programmers can use it as a reference when
they face problems while coding. Each recipe contains step-by-step
instructions about everything necessary to execute a particular task. The book
is designed so that beginners can read it from start to end while advanced
users can just open it at any chapter and start following the recipes as a
reference. It covers most of the commands on Linux with a variety of use cases
accompanied by plenty of examples and guides you on implementing some of the
commonest Linux commands with recipes that handle operations or properties
related to files like searching and mining inside a file with grep. It also
shows how utilities like sed, awk, grep, and cut can be combined to solve text
processing problems. The focus is on saving time by automating activities with
a few lines of script.</p>
<span id="continue-reading"></span><div>
★★☆☆☆
</div>
<p>I don't know why, but when I saw the title, I expected to be a book only about
bash. Bash is a shell for *nix based systems and, as VIM, is one of the apps
you can use for 10 years and, after reading something about it, you find
something completely new.</p>
<p>Thing is, this is not just about bash. This book is about tools in the GNU
system that can help write shell scripts. And even if you're pissed about
Stallman asking to call the system GNU/Linux, this <em>is</em> about GNU tools: tr,
expect, find... All GNU tools.</p>
<p>So &quot;GNU Shell Scripting Cookbook&quot; would be a more appropriate title.</p>
<p>About the content itself... It's mostly a miss than a hit. Some things are
some wrong it hurts (Git does <em>not</em> add a <code>.git</code> directory inside every
directory, it creates one at the base directory of the project) and some are
so utterly stupid to the point of being dangerous (you don't need root to
chown a file!). Some points are so strange, they seem like the authors used a
GNU/Linux for only two months and decided to write a book about it.</p>
<p>The book have two authors and it shows. Lots of repeated information, some
things not building on things already said (really guys? Not matching pipe
with stdin/stdout redirection?) will give you the impression that they never
spoke about the book or had a roadmap for it. And there is a shitton of &quot;as
follows&quot; (seriously, you'll get sick of reading &quot;as follows&quot; over the book).
It says in the cover that, besides the two authors, there were at least 5
reviewers. But it seems none of them actually read the book -- and I'm not
talking about easy things to find in a 1 minute Google search (like the git
thing), but things like &quot;this 'as follows' is getting through my nerves,
you're using it every-fucking-where&quot;.</p>
<p>The content gets better in the end, when it gets over the &quot;teaching phase&quot;,
but you'll still have the bad taste of things wrong from the previous
chapters. </p>
<p>So, basically, the book tries to cater to two different audiences -- the
beginner and the master -- and doesn't seem to be able to provide a good
content for any. </p>
</div>
</div>
</body>
</html>