Learning Linux Shell Scripting

0
(0)

Learning Linux Shell Scripting
 

  • Author:Ganesh Sanjiv Naik
  • Length: 306 pages
  • Edition: 1
  • Publisher: Packt Publishing
  • Publication Date: 2015-12-31
  • ISBN-10: 1785286218
  • ISBN-13: 9781785286216
  • Sales Rank: #1012732 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Unleash the power of shell scripts to solve real-world problems by breaking through the practice of writing tedious code

    About This Book

    • Learn how to efficiently and effectively build shell scripts and develop advanced applications with this handy book
    • Develop high quality and efficient solutions by writing professional and real-world scripts, and debug scripts by checking and shell tracing
    • A step-by-step tutorial to automate routine tasks by developing scripts from a basic level to very advanced functionality

    Who This Book Is For

    This book is ideal for those who are proficient at working with Linux and who want to learn about shell scripting to improve their efficiency and practical skills. By the end of this book, you will be able to confidently use your own shell scripts in the real world.

    What You Will Learn

    • Familiarize yourself with the various text filtering tools available in Linux
    • Combine the fundamental text and file processing commands to process data and automate repetitive tasks
    • Understand expressions and variables and how to use them practically
    • Automate decision-making and save a lot of time and effort of revisiting code
    • Get to grips with advanced functionality such as using traps and signals and using dialogs to develop screens
    • Start up a system and customize a Linux system
    • Take an in-depth look at regular expressions and pattern matching to understand the capabilities of scripting

    In Detail

    Linux is the one of the most powerful and universally adopted OSes. Shell is a program that gives the user direct interaction with the operating system. Scripts are collections of commands that are stored in a file. The shell can read this file and act on the commands as if they were typed on the keyboard. Shell scripting is used to automate day-to-day administration, and for testing or product development tasks.

    This book covers Bash, GNU Bourne Again SHell, preparing you to work in the exciting world of Linux shell scripting. We start with an introduction to the Shell environment and explain basic commands used in Shell. Next we move on to check, kill, and control the execution of processes in Linux OS. Further, we teach you about the filter tools available in Linux and explain standard output and standard errors devices.

    Then we will ensure you understand Shell’s interpretation of commands and get a firmer grasp so you use them in practice. Next, you’ll experience some real-world essentials such as debugging and perform Shell arithmetic fluently. Then you’ll take a step ahead and learn new and advanced topics in Shell scripting, such as starting up a system and customizing a Linux system. Finally, you’ll get to understand the capabilities of scripting and learn about Grep, Stream Editor, and Awk.

    Style and approach

    This practical book will go from the very basics of shell scripting to complex, customized automation. The idea behind this book is to be as practical as possible and give you the look and feel of what real-world scripting is like.

    Table of Contents

    Chapter 1: Getting Started and Working with Shell Scripting
    Chapter 2: Drilling Deep into Process Management, Job Control, and Automation
    Chapter 3: Using Text Processing and Filters in Your Scripts
    Chapter 4: Working with Commands
    Chapter 5: Exploring Expressions and Variables
    Chapter 6: Neat Tricks with Shell Scripting
    Chapter 7: Performing Arithmetic Operations in Shell Scripts
    Chapter 8: Automating Decision Making in Scripts
    Chapter 9: Working with Functions
    Chapter 10: Using Advanced Functionality in Scripts
    Chapter 11: System Startup and Customizing a Linux System
    Chapter 12: Pattern Matching and Regular Expressions with sed and awk

    中文:

    书名:Learning Linux Shell Scripting

    通过打破编写单调乏味的代码的做法,释放外壳脚本解决实际问题的能力

    About This Book

    • 学习如何高效有效地构建外壳脚本和开发高级应用程序
    • 通过编写专业和真实的脚本来开发高质量和高效的解决方案,并通过检查和外壳跟踪来调试脚本
    • 通过开发从基本级别到非常高级的脚本来自动执行日常任务的分步教程

    这本书是为谁写的

    这本书非常适合那些精通使用Linux并且想要学习外壳脚本以提高效率和实际技能的人。到本书结束时,您将能够自信地在现实世界中使用您自己的外壳脚本。

    你将学到什么

    • 熟悉Linux中提供的各种文本过滤工具
    • 结合基本的文本和文件处理命令来处理数据并自动执行重复性任务
    • 了解表达式和变量以及如何实际使用它们
    • 自动化决策并节省大量重新访问代码的时间和精力
    • Get to grips with advanced functionality such as using traps and signals and using dialogs to develop screens
    • Start up a system and customize a Linux system
    • 深入了解正则表达式和模式匹配以了解脚本编写的功能

    In Detail

    Linux是功能最强大、被广泛采用的操作系统之一。外壳是一个让用户与操作系统直接交互的程序。脚本是存储在文件中的命令集合。外壳程序可以读取该文件并执行命令,就像它们是在键盘上键入的一样。外壳脚本用于自动执行日常管理以及测试或产品开发任务。

    本书介绍了Bash、GNU Bourne Again Shell,为您在令人兴奋的Linux Shell脚本世界中工作做好了准备。我们从介绍Shell环境开始,并解释在Shell中使用的基本命令。接下来,我们将检查、终止和控制Linux OS中进程的执行。此外,我们还将向您介绍Linux中可用的筛选工具,并解释标准输出和标准错误设备。

    然后,我们将确保您理解壳牌对命令的解释,并更牢固地掌握这些命令,以便您在实践中使用它们。接下来,您将体验一些现实世界的基本知识,如调试和流畅地执行Shell算法。然后,您将更进一步,学习有关Shell脚本的新的高级主题,例如启动系统和定制Linux系统。最后,您将了解脚本编写的功能,并了解grep、Stream Editor和Awk。

    风格和方法

    这本实用的书将从最基础的外壳脚本到复杂的、定制的自动化。这本书背后的理念是尽可能实用,并让您感受到现实世界中的脚本编写是什么样子的。

    目录表

    第1章:开始和使用Shell脚本
    第2章:深入了解流程管理、作业控制和自动化
    第3章:在脚本中使用文本处理和过滤器
    第4章:使用命令
    Chapter 5: Exploring Expressions and Variables
    Chapter 6: Neat Tricks with Shell Scripting
    第7章:在Shell脚本中执行算术运算
    Chapter 8: Automating Decision Making in Scripts
    Chapter 9: Working with Functions
    Chapter 10: Using Advanced Functionality in Scripts
    第11章:系统启动和定制Linux系统
    Chapter 12: Pattern Matching and Regular Expressions with sed and awk

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

    点击星号评分!

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

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

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册