Linux Shell Scripting Cookbook, 2nd Edition

0
(0)

Linux Shell Scripting Cookbook, 2nd Edition
 

  • Author:Sarath LakshmanShantanu Tushar
  • Length: 384 pages
  • Edition: 2
  • Publisher: Packt Publishing
  • Publication Date: 2013-05-21
  • ISBN-10: 1782162747
  • ISBN-13: 9781782162742
  • Sales Rank: #2293138 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Over 110 practical recipes to solve real-world shell problems, guaranteed to make you wonder how you ever lived without them

    Overview

    • Master the art of crafting one-liner command sequence to perform text processing, digging data from files, backups to sysadmin tools, and a lot more
    • And if powerful text processing isn’t enough, see how to make your scripts interact with the web-services like Twitter, Gmail
    • Explores the possibilities with the shell in a simple and elegant way – you will see how to effectively solve problems in your day to day life

    In Detail

    The shell remains one of the most powerful tools on a computer system — yet a large number of users are unaware of how much one can accomplish with it. Using a combination of simple commands, we will see how to solve complex problems in day to day computer usage.

    Linux Shell Scripting Cookbook, Second Edition will take you through useful real-world recipes designed to make your daily life easy when working with the shell. The book shows the reader how to effectively use the shell to accomplish complex tasks with ease.

    The book discusses basics of using the shell, general commands and proceeds to show the reader how to use them to perform complex tasks with ease.

    Starting with the basics of the shell, we will learn simple commands with their usages allowing us to perform operations on files of different kind. The book then proceeds to explain text processing, web interaction and concludes with backups, monitoring and other sysadmin tasks.

    Linux Shell Scripting Cookbook, Second Edition serves as an excellent guide to solving day to day problems using the shell and few powerful commands together to create solutions.

    What you will learn from this book

    • Explore a variety of regular usage tasks and how it can be made faster using shell command
    • Write shell scripts that can dig data from web and process it with few lines of code
    • Use different kinds of tools together to create solutions
    • Interact with simple web API from scripts
    • Perform and automate tasks such as automating backups and restore with archiving tools
    • Create and maintain file/folder archives, compression formats and encrypting techniques with shell
    • Set up Ethernet and Wireless LAN with the shell script
    • Monitor different activities on the network using logging techniques

    Approach

    This book is written in a Cookbook style and it offers learning through recipes with examples and illustrations. Each recipe contains step-by-step instructions about everything necessary to execute a particular task. The book is designed so that you can read it from start to end for beginners, or just open up any chapter and start following the recipes as a reference for advanced users.

    Who this book is written for

    This book is both for the casual GNU/Linux users who want to do amazing things with the shell, and for advanced users looking for ways to make their lives with the shell more productive.

    You can start writing scripts and one-liners by simply looking at the similar recipe and its descriptions without any working knowledge of shell scripting or Linux. Intermediate/advanced users as well as system administrators/ developers and programmers can use this book as a reference when they face problems while coding.

    Table of Contents

    Chapter 1: Shell Something Out
    Chapter 2: Have a Good Command
    Chapter 3: File In, File Out
    Chapter 4: Texting and Driving
    Chapter 5: Tangled Web? Not At All!
    Chapter 6: The Backup Plan
    Chapter 7: The Old-boy Network
    Chapter 8: Put on the Monitor’s Cap
    Chapter 9: Administration Calls

    中文:

    书名:Linux Shell Scripting Cookbook, 2nd Edition

    110多个解决现实世界外壳问题的实用食谱,保证会让你想知道没有它们你是如何生活的

    Overview

    • 掌握创建一行命令序列的技巧,以执行文本处理、从文件中挖掘数据、备份到sysadmin工具等
    • 如果强大的文本处理功能还不够,看看如何让你的脚本与Twitter、Gmail等网络服务互动
    • 以简单而优雅的方式探索外壳的各种可能性,您将看到如何有效地解决日常生活中的问题

    In Detail

    外壳仍然是计算机系统上最强大的工具之一-但大量用户并不知道使用它可以完成多少任务。使用简单命令的组合,我们将了解如何解决日常计算机使用中的复杂问题。

    Linux Shell脚本编写手册第二版将带您了解一些有用的真实食谱,这些食谱旨在让您在使用Shell时日常生活变得轻松。这本书向读者展示了如何有效地使用外壳轻松完成复杂的任务。

    这本书讨论了使用外壳的基础知识,通用命令,并继续向读者展示如何使用它们轻松地执行复杂的任务。

    从外壳的基础知识开始,我们将学习简单的命令及其用法,使我们能够对不同类型的文件执行操作。然后,这本书继续解释文本处理、网络交互,并以备份、监控和其他系统管理任务结束。

    Linux Shell脚本编写手册第二版是使用外壳和几个强大的命令共同创建解决方案来解决日常问题的优秀指南。

    你将从这本书中学到什么

    • 探索各种常规使用任务,以及如何使用外壳命令更快地执行该任务
    • 编写可以从Web中挖掘数据并只需几行代码即可处理的外壳脚本
    • 一起使用不同类型的工具来创建解决方案
    • 从脚本与简单的Web API交互
    • 执行并自动执行任务,例如使用归档工具自动执行备份和恢复
    • 使用外壳创建和维护文件/文件夹存档、压缩格式和加密技术
    • 使用外壳脚本设置以太网和无线局域网
    • 使用日志记录技术监控网络上的不同活动

    Approach

    这本书是以食谱的风格写的,它提供了通过示例和插图的食谱学习。每个食谱都包含有关执行特定任务所需的所有内容的逐步说明。这本书的设计使你可以为初学者从头到尾阅读它,或者只需打开任何一章,开始遵循食谱,作为高级用户的参考。

    Who this book is written for

    这本书既适合那些想要用外壳做令人惊叹的事情的普通GNU/Linux用户,也适合想要让自己的工作更有效率的高级用户。

    您只需查看类似的菜谱及其描述即可开始编写脚本和一行程序,而无需具备任何关于Shell脚本或Linux的实用知识。中级/高级用户以及系统管理员/开发人员和程序员在编写代码时遇到问题时可以参考本书。

    Table of Contents

    第一章:用壳把东西包起来
    第二章:掌握好指挥权
    Chapter 3: File In, File Out
    Chapter 4: Texting and Driving
    第5章:纠结的网?不用谢!
    Chapter 6: The Backup Plan
    Chapter 7: The Old-boy Network
    Chapter 8: Put on the Monitor’s Cap
    第9章:管理电话

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册