Shell Scripting: How to Automate Command Line Tasks Using Bash Scripting and Shell Programming

0
(0)

Shell Scripting: How to Automate Command Line Tasks Using Bash Scripting and Shell Programming
 

  • Author:Jason Cannon
  • Length: 99 pages
  • Edition: 1
  • Publication Date: 2015-09-14
  • ISBN-10: B015FZAXU6
  • Sales Rank: #54952 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Shell Scripting Made Easy

    If you want to learn how to write shell scripts like a pro, solve real-world problems, or automate repetitive and complex tasks, read on.

    Hello. My name is Jason Cannon and I’m the author of Linux for BeginnersPython Programming for Beginners, and an instructor to thousands of satisfied students. I started my IT career in the late 1990’s as a Unix and Linux System Engineer and I’ll be sharing my real-world shell scripting and bash programming experience with you throughout this book.

    By the end of this book you will be able to create shell scripts with ease. You’ll learn how to take tedious and repetitive tasks and turn them into programs that will save you time and simplify your life on Linux, Unix, or MAC systems.

    Here is what you will get and learn by reading this Shell Scripting ebook:

    • A step-by-step process of writing shell scripts that solve real-world problems.
    • The #1 thing you must do every time you create a shell script.
    • How to quickly find and fix the most shell scripting errors.
    • How to accept input from a user and then make decisions on that input.
    • How to accept and process command line arguments.
    • What special variables are available, how to use them in your shell scripts, and when to do so.
    • A shell script creation check list — You’ll never have to guess what to include in each of your shell scripts again. Just use this simple check list.
    • A shell script template (boilerplate). Use this format for each of your shell scripts. It shows exactly what to include and where everything goes. Eliminate guesswork!
    • Practice exercises with solutions so you can start using what you learn right away.
    • Real-world examples of shell scripts from my personal collection.
    • A download that contains the scripts used in the book and lessons. You’ll be able to look at and experiment with everything you’re learning.

    Learn to Program Using Any Shell Scirpting Language

    What you learn in this book can be applied to any shell, however the focus is on the bash shell and you’ll learn some really advanced bash features. Again, whether you’re using bash, bourne (sh), KornShell (ksh), C shell (csh), Z shell (zsh), or even the tcsh shell, you’ll be able to put what you learn in this book to good use.

    Perfect for Linux, Unix, Mac and More!

    Also, you’ll be able to use these scripts on any Linux environment including Ubuntu, Debian, Linux Mint, RedHat, Fedora, OpenSUSE, Slackware, Kali Linux and more. You’re scripts will even run on other operating systems such as Apple’s Mac OS X, Oracle’s Solaris, IBM’s AIX, HP’s HP-UX, FreeBSD, NetBSD, and OpenBSD.

    中文:

    书名:Shell Scripting: How to Automate Command Line Tasks Using Bash Scripting and Shell Programming

    轻松编写外壳脚本

    如果您想学习如何像专业人士一样编写外壳脚本、解决实际问题或自动执行重复而复杂的任务,请继续阅读。

    你好。我的名字是杰森·坎农,我是《生活》的作者。面向初学者的LinuxPython Programming for Beginners,也是数以千计满意的学生的导师。我在20世纪90年代末开始了我的IT职业生涯,当时我是一名Unix和Linux系统工程师,我将在本书中与大家分享我的真实外壳脚本编写和bash编程经验。

    在本书结束时,您将能够轻松地创建外壳脚本。您将学习如何处理乏味和重复的任务,并将它们转变为程序,以节省您的时间并简化您在Linux、Unix或Mac系统上的生活。

    以下是你通过阅读这篇文章将获得和学到的东西。外壳脚本编写电子书:

    • 这是一个逐步编写解决实际问题的外壳脚本的过程。
    • 每次创建外壳脚本时,您必须做的第一件事。
    • How to quickly find and fix the most shell scripting errors.
    • 如何接受用户的输入,然后对该输入做出决定。
    • 如何接受和处理命令行参数。
    • 有哪些特殊变量可用,如何在您的Shell脚本中使用它们,以及何时使用它们。
    • 您再也不必猜测要在每个Shell脚本中包含什么内容了。只要使用这个简单的核对表就可以了。
    • 外壳脚本模板(样板)。对您的每个外壳脚本使用此格式。它准确地显示了要包含的内容以及所有内容的去向。消除猜测!
    • 练习有解决方案的练习,这样你就可以立即开始使用你学到的东西。
    • 来自我个人收藏的真实的外壳脚本示例。
    • 包含本书和课程中使用的脚本的下载。你将能够观察和试验你正在学习的一切。

    学习使用任何外壳脚本语言进行编程

    您在本书中学到的内容可以应用于任何外壳,但是重点是bash外壳,您将学习一些真正高级的bash特性。同样,无论您是在使用bash、Bourne(Sh)、KornShell(Ksh)、C Shell(Csh)、Z Shell(Zsh),甚至是tcsh Shell,您都将能够很好地利用您在本书中学到的东西。

    非常适合Linux、Unix、Mac等操作系统!

    此外,您将能够在任何Linux环境上使用这些脚本,包括Ubuntu、Debian、Linux Mint、RedHat、Fedora、OpenSUSE、Slackware、Kali Linux等等。你的脚本甚至可以在其他操作系统上运行,比如苹果的Mac OS X、甲骨文的Solaris、IBM的AIX、惠普的HP-UX、FreeBSD、NetBSD和OpenBSD。

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

    点击星号评分!

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

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

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册