Linux Shell Scripting Essentials

0
(0)

Linux Shell Scripting Essentials
 

  • Author:Sinny Kumari
  • Length: 282 pages
  • Edition: 1
  • Publisher: Packt Publishing
  • Publication Date: 2015-11-23
  • ISBN-10: 1785284444
  • ISBN-13: 9781785284441
  • Sales Rank: #4202824 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Learn shell scripting to solve complex shell-related problems and to efficiently automate your day-to-day tasks

    About This Book

    • Familiarize yourself with the terminal by learning about powerful shell features
    • Automate tasks by writing shell scripts for repetitive work
    • Packed with easy-to-follow, hands-on examples to help you write any type of shell script with confidence

    Who This Book Is For

    This book is aimed at administrators and those who have a basic knowledge of shell scripting and who want to learn how to get the most out of writing shell scripts.

    What You Will Learn

    • Write effective shell scripts easily
    • Perform search operations and manipulate large text data with a single shell command
    • Modularize reusable shell scripts by creating shell libraries
    • Redirect input, output, and errors of a command or script execution to other streams
    • Debug code with different shell debugging techniques to make your scripts bug-free
    • Manage processes, along with the environment variables needed to execute them properly
    • Execute and embed other languages in your scripts
    • Manage creation, deletion, and search operations in files

    In Detail

    Shell scripting is a quick method to prototype complex applications or problems. Shell scripts are a collection of commands to automate tasks, usually those for which the user has a repeated need, when working on Linux-based systems. Using simple commands or a combination of them in a shell can solve complex problems easily.

    This book starts with the basics, including essential commands that can be executed on Linux systems to perform tasks within a few nanoseconds. You’ll learn to use outputs from commands and transform them to show the data you require. Discover how to write shell scripts easily, execute script files, debug, and handle errors.

    Next, you’ll explore environment variables in shell programming and learn how to customize them and add a new environment. Finally, the book walks you through processes and how these interact with your shell scripts, along with how to use scripts to automate tasks and how to embed other languages and execute them.

    Style and approach

    This book is a pragmatic guide to writing efficient shell programs, complete with hands-on examples and tips.

    Table of Contents

    Chapter 1: The Beginning of the Scripting Journey
    Chapter 2: Getting Hands-on with I/O, Redirection Pipes, and Filters
    Chapter 3: Effective Script Writing
    Chapter 4: Modularizing and Debugging
    Chapter 5: Customizing the Environment
    Chapter 6 : Working with Files
    Chapter 7: Welcome to the Processes
    Chapter 8: Scheduling Tasks and Embedding Languages in Scripts

    中文:

    书名:Linux Shell Scripting Essentials

    学习如何编写外壳脚本以解决复杂的外壳相关问题,并高效地自动执行日常任务

    About This Book

    • 通过了解强大的外壳功能来熟悉终端
    • Automate tasks by writing shell scripts for repetitive work
    • 提供了易于操作的示例,可帮助您自信地编写任何类型的外壳脚本

    这本书是为谁写的

    这本书的目标读者是管理员和那些对Shell脚本有基本知识并希望学习如何从编写Shell脚本中获得最大收益的人。

    你将学到什么

    • Write effective shell scripts easily
    • 使用单个外壳命令执行搜索操作和操作大型文本数据
    • 通过创建外壳库来模块化可重用的外壳脚本
    • 将命令或脚本执行的输入、输出和错误重定向到其他流
    • 使用不同的外壳调试技术调试代码,使您的脚本没有错误
    • 管理进程以及正确执行这些进程所需的环境变量
    • 在您的脚本中执行并嵌入其他语言
    • 管理文件中的创建、删除和搜索操作

    In Detail

    外壳脚本是制作复杂应用程序或问题原型的一种快速方法。当在基于Linux的系统上工作时,外壳脚本是用于自动执行任务的命令集合,通常是用户反复需要执行的任务。在一个外壳中使用简单的命令或它们的组合可以轻松地解决复杂的问题。

    这本书从基础开始,包括可以在Linux系统上执行以在几纳秒内执行任务的基本命令。您将学习如何使用命令的输出并对其进行转换以显示所需的数据。了解如何轻松编写外壳脚本、执行脚本文件、调试和处理错误。

    接下来,您将探索Shell编程中的环境变量,并学习如何定制它们和添加新环境。最后,本书将向您介绍流程以及这些流程如何与您的外壳脚本交互,以及如何使用脚本自动执行任务,以及如何嵌入和执行其他语言。

    风格和方法

    本书是编写高效外壳程序的实用指南,配有实际操作的示例和技巧。

    Table of Contents

    第1章:脚本编写之旅的开始
    第2章:亲身体验I/O、重定向管道和过滤器
    Chapter 3: Effective Script Writing
    第4章:模块化和调试
    第5章:自定义环境
    第6章:使用文件
    第7章:欢迎使用流程
    第8章:调度任务和在脚本中嵌入语言

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

    点击星号评分!

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

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

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册