Linux shell scripting bootcamp :: explore the possibilities of the shell in a simple and elegant way /
A quick and straightforward approach to writing shell scripts to accomplish different types of tasks on a Linux system. About This Book Understand expressions and variables and how to use them practically Familiarize yourself with the various text filtering tools available in Linux A fast-paced and...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Elektronisch E-Book |
Sprache: | English |
Veröffentlicht: |
Birmingham, UK :
Packt Publishing,
2017.
|
Schlagworte: | |
Online-Zugang: | Volltext |
Zusammenfassung: | A quick and straightforward approach to writing shell scripts to accomplish different types of tasks on a Linux system. About This Book Understand expressions and variables and how to use them practically Familiarize yourself with the various text filtering tools available in Linux A fast-paced and concise guide that gets you well versed with linux shell scripting. Who This Book Is For This book is for both 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. What You Will Learn Get acquainted with the basics of a shell script to serve as a refresher for more advanced topics Learn different ways to create and run a script Discuss the passing and verification of parameters, along with the verification of other items. Understand the different forms of conditions and loops, and go over the sleep command in detail Learn about different ways to handle the reporting of return codes Create an interactive script by reading the keyboard and use subroutines and interrupts Create scripts to perform backups and go over the use of encryption tools and checksums Use wget and curl in scripts to get data directly from the Internet In Detail Linux Shell Scripting Bootcamp is all about learning the essentials of script creation, validating parameters, and checking for the existence of files and other items needed by the script. We will use scripts to explore iterative operations using loops and learn different types of loop statements, with their differences. Along with this, we will also create a numbered backup script for backup files. Further, you will get well-versed with how variables work on a Linux system and how they relate to scripts. You'll also learn how to create and call subroutines in a script and create interactive scripts. The most important archive commands, zip and tar, are also discussed for performing backups. Later, you will dive deeper by understanding the use of wget and curl scripts and the use of checksum and file encryption in further chapters. Finally, you will learn how to debug scripts and scripting best practices that will enable you to write a great code every time! By the end of the book, you will be able to write shell scripts that can dig data from the web and process it efficiently. Style and approach This book is all about fast and intensive learning. This means we don't waste time in helping readers get started. The new conten... |
Beschreibung: | Includes index. |
Beschreibung: | 1 online resource : illustrations |
Bibliographie: | Includes bibliographical references at the end of each chapters and index. |
ISBN: | 9781787125414 1787125416 |
Internformat
MARC
LEADER | 00000cam a2200000 i 4500 | ||
---|---|---|---|
001 | ZDB-4-EBA-ocn999610969 | ||
003 | OCoLC | ||
005 | 20241004212047.0 | ||
006 | m o d | ||
007 | cr unu|||||||| | ||
008 | 170804s2017 enka o 001 0 eng d | ||
040 | |a UMI |b eng |e rda |e pn |c UMI |d STF |d IDEBK |d OCLCF |d TOH |d COO |d N$T |d UOK |d CEF |d KSU |d UAB |d QGK |d OCLCO |d OCLCQ |d OCLCO |d OCLCL |d OCLCQ |d DXU | ||
019 | |a 1259217446 | ||
020 | |a 9781787125414 |q (electronic bk.) | ||
020 | |a 1787125416 |q (electronic bk.) | ||
020 | |z 9781787281103 | ||
035 | |a (OCoLC)999610969 |z (OCoLC)1259217446 | ||
037 | |a CL0500000881 |b Safari Books Online | ||
050 | 4 | |a QA76.774.L46 | |
072 | 7 | |a COM |x 046070 |2 bisacsh | |
082 | 7 | |a 005.432 |2 23 | |
049 | |a MAIN | ||
100 | 1 | |a Lewis, James Kent, |e author. | |
245 | 1 | 0 | |a Linux shell scripting bootcamp : |b explore the possibilities of the shell in a simple and elegant way / |c James Kent Lewis. |
264 | 1 | |a Birmingham, UK : |b Packt Publishing, |c 2017. | |
300 | |a 1 online resource : |b illustrations | ||
336 | |a text |b txt |2 rdacontent | ||
337 | |a computer |b c |2 rdamedia | ||
338 | |a online resource |b cr |2 rdacarrier | ||
347 | |a text file | ||
588 | |a Description based on online resource; title from cover (Safari, viewed August 4, 2017). | ||
500 | |a Includes index. | ||
520 | |a A quick and straightforward approach to writing shell scripts to accomplish different types of tasks on a Linux system. About This Book Understand expressions and variables and how to use them practically Familiarize yourself with the various text filtering tools available in Linux A fast-paced and concise guide that gets you well versed with linux shell scripting. Who This Book Is For This book is for both 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. What You Will Learn Get acquainted with the basics of a shell script to serve as a refresher for more advanced topics Learn different ways to create and run a script Discuss the passing and verification of parameters, along with the verification of other items. Understand the different forms of conditions and loops, and go over the sleep command in detail Learn about different ways to handle the reporting of return codes Create an interactive script by reading the keyboard and use subroutines and interrupts Create scripts to perform backups and go over the use of encryption tools and checksums Use wget and curl in scripts to get data directly from the Internet In Detail Linux Shell Scripting Bootcamp is all about learning the essentials of script creation, validating parameters, and checking for the existence of files and other items needed by the script. We will use scripts to explore iterative operations using loops and learn different types of loop statements, with their differences. Along with this, we will also create a numbered backup script for backup files. Further, you will get well-versed with how variables work on a Linux system and how they relate to scripts. You'll also learn how to create and call subroutines in a script and create interactive scripts. The most important archive commands, zip and tar, are also discussed for performing backups. Later, you will dive deeper by understanding the use of wget and curl scripts and the use of checksum and file encryption in further chapters. Finally, you will learn how to debug scripts and scripting best practices that will enable you to write a great code every time! By the end of the book, you will be able to write shell scripts that can dig data from the web and process it efficiently. Style and approach This book is all about fast and intensive learning. This means we don't waste time in helping readers get started. The new conten... | ||
504 | |a Includes bibliographical references at the end of each chapters and index. | ||
505 | 0 | |a Cover -- Copyright -- Credits -- About the Author -- Acknowledgement -- About the Reviewer -- www.PacktPub.com -- Customer Feedback -- Table of Contents -- Preface -- Chapter 1: Getting Started with Shell Scripting -- Getting started -- Using a good text editor -- Demonstrating the use of scripts -- Chapter 1 -- Script 1 -- Chapter 1 -- Script 2 -- Chapter 1 -- Script 3 -- Chapter 1 -- Script 4 -- Chapter 1 -- Script 5 -- Chapter 1 -- Script 6 -- Summary -- Chapter 2: Working with Variables -- Using variables in scripts -- Chapter 2 -- Script 1 -- Validating parameters using conditional statements -- Chapter 2 -- Script 2 -- Comparison operators for strings -- Chapter 2 -- Script 3 -- Chapter 2 -- Script 4 -- Chapter 2 -- Script 5 -- Environment variables -- Chapter 2 -- Script 6 -- Chapter 2 -- Script 7 -- Summary -- Chapter 3: Using Loops and the sleep Command -- Using loops -- Chapter 3 -- Script 1 -- Chapter 3 -- Script 2 -- Chapter 3 -- Script 3 -- Screen manipulation -- Chapter 3 -- Script 4 -- Chapter 3 -- Script 5 -- Indenting your code -- Chapter 3 -- Script 6 -- Using the for statement -- Chapter 3 -- Script 7 -- Chapter 3 -- Script 8 -- Leaving a loop early -- Chapter 3 -- Script 9 -- The sleep command -- Chapter 3 -- Script 10 -- Chapter 3 -- Script 11 -- Watching a process -- Chapter 3 -- Script 12 -- Creating numbered backup files -- Chapter 3 -- Script 13 -- Summary -- Chapter 4: Creating and Calling Subroutines -- Clearing the screen -- Chapter 4 -- Script 1 -- File redirection -- Command piping -- Chapter 4 -- Script 2 -- Chapter 4 -- Script 3 -- Subroutines -- Chapter 4 -- Script 4 -- Using parameters -- Chapter 4 -- Script 5 -- Chapter 4 -- Script 6 -- Making a current backup of your work -- Chapter 4 -- Script 7 -- Summary -- Chapter 5: Creating Interactive Scripts -- Chapter 5 -- Script 1 -- Chapter 5 -- Script 2 -- Chapter 5 -- Script 3. | |
505 | 8 | |a Chapter 5 -- Script 4 -- Chapter 5 -- Script 5 -- Chapter 5 -- Script 6 -- Chapter 5 -- Script 7 -- Chapter 5 -- Script 8 -- Summary -- Chapter 6: Automating Tasks with Scripts -- Chapter 6 -- Script 1 -- Chapter 6 -- Script 2 -- Chapter 6 -- Script 3 -- Chapter 6 -- Script 4 -- Cron -- Chapter 6 -- Script 5 -- Chapter 6 -- Script 6 -- Chapter 6 -- Script 7 -- Summary -- Chapter 7: Working with Files -- Writing files -- Chapter 7 -- Script 1 -- Reading files -- Chapter 7 -- Script 2 -- Chapter 7 -- Script 3 -- Chapter 7 -- Script 4 -- Reading and writing files -- Chapter 7 -- Script 5 -- Reading and writing files interactively -- Chapter 7 -- Script 6 -- File checksums -- File encryption -- Chapter 7 -- Script 7 -- Summary -- Chapter 8: Working with wget and curl -- Introducing the wget program -- wget options -- wget return codes -- wget configuration files -- Chapter 8 -- Script 1 -- wget and recursion -- wget options -- curl -- curl options -- Chapter 8 -- Script 2 -- Summary -- Chapter 9: Debugging Scripts -- Syntax errors -- Chapter 9 -- Script 1 -- Chapter 9 -- Script 2 -- Automatic backups -- More syntax errors -- Chapter 9 -- Script 3 -- Logic errors -- Chapter 9 -- Script 4 -- Using set to debug scripts -- Chapter 9 -- Script 5 and Script 6 -- Chapter 9 -- Script 7 -- Chapter 9 -- Script 8 -- Chapter 9 -- Script 9 -- Summary -- Chapter 10: Scripting Best Practices -- Verifying backups -- ssh and scp -- Find and use a good text editor -- Environment variables and aliases -- ssh prompt -- Testing an archive -- Progress indicator -- Chapter 10 -- Script 1 -- Creating new commands from a template -- Chapter 10 -- Script 2 -- Alerting the user -- Chapter 10 -- Script 3 -- Summary -- Index. | |
630 | 0 | 0 | |a Linux. |0 http://id.loc.gov/authorities/names/n94087892 |
630 | 0 | 7 | |a Linux |2 fast |
650 | 0 | |a Scripting languages (Computer science) |0 http://id.loc.gov/authorities/subjects/sh2006007256 | |
650 | 0 | |a Operating systems (Computers) |0 http://id.loc.gov/authorities/subjects/sh85094982 | |
650 | 6 | |a Langages de script (Informatique) | |
650 | 6 | |a Systèmes d'exploitation (Ordinateurs) | |
650 | 7 | |a operating systems. |2 aat | |
650 | 7 | |a COMPUTERS / Operating Systems / Linux. |2 bisacsh | |
650 | 7 | |a Operating systems (Computers) |2 fast | |
650 | 7 | |a Scripting languages (Computer science) |2 fast | |
758 | |i has work: |a Linux Shell Scripting Bootcamp (Text) |1 https://id.oclc.org/worldcat/entity/E39PCYJCC6Wk9r9GPtqHYvBRXd |4 https://id.oclc.org/worldcat/ontology/hasWork | ||
776 | |z 1-78728-110-8 | ||
776 | |z 1-78712-541-6 | ||
856 | 4 | 0 | |l FWS01 |p ZDB-4-EBA |q FWS_PDA_EBA |u https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1560826 |3 Volltext |
938 | |a ProQuest MyiLibrary Digital eBook Collection |b IDEB |n cis38517036 | ||
938 | |a EBSCOhost |b EBSC |n 1560826 | ||
994 | |a 92 |b GEBAY | ||
912 | |a ZDB-4-EBA | ||
049 | |a DE-863 |
Datensatz im Suchindex
DE-BY-FWS_katkey | ZDB-4-EBA-ocn999610969 |
---|---|
_version_ | 1816882397028810752 |
adam_text | |
any_adam_object | |
author | Lewis, James Kent |
author_facet | Lewis, James Kent |
author_role | aut |
author_sort | Lewis, James Kent |
author_variant | j k l jk jkl |
building | Verbundindex |
bvnumber | localFWS |
callnumber-first | Q - Science |
callnumber-label | QA76 |
callnumber-raw | QA76.774.L46 |
callnumber-search | QA76.774.L46 |
callnumber-sort | QA 276.774 L46 |
callnumber-subject | QA - Mathematics |
collection | ZDB-4-EBA |
contents | Cover -- Copyright -- Credits -- About the Author -- Acknowledgement -- About the Reviewer -- www.PacktPub.com -- Customer Feedback -- Table of Contents -- Preface -- Chapter 1: Getting Started with Shell Scripting -- Getting started -- Using a good text editor -- Demonstrating the use of scripts -- Chapter 1 -- Script 1 -- Chapter 1 -- Script 2 -- Chapter 1 -- Script 3 -- Chapter 1 -- Script 4 -- Chapter 1 -- Script 5 -- Chapter 1 -- Script 6 -- Summary -- Chapter 2: Working with Variables -- Using variables in scripts -- Chapter 2 -- Script 1 -- Validating parameters using conditional statements -- Chapter 2 -- Script 2 -- Comparison operators for strings -- Chapter 2 -- Script 3 -- Chapter 2 -- Script 4 -- Chapter 2 -- Script 5 -- Environment variables -- Chapter 2 -- Script 6 -- Chapter 2 -- Script 7 -- Summary -- Chapter 3: Using Loops and the sleep Command -- Using loops -- Chapter 3 -- Script 1 -- Chapter 3 -- Script 2 -- Chapter 3 -- Script 3 -- Screen manipulation -- Chapter 3 -- Script 4 -- Chapter 3 -- Script 5 -- Indenting your code -- Chapter 3 -- Script 6 -- Using the for statement -- Chapter 3 -- Script 7 -- Chapter 3 -- Script 8 -- Leaving a loop early -- Chapter 3 -- Script 9 -- The sleep command -- Chapter 3 -- Script 10 -- Chapter 3 -- Script 11 -- Watching a process -- Chapter 3 -- Script 12 -- Creating numbered backup files -- Chapter 3 -- Script 13 -- Summary -- Chapter 4: Creating and Calling Subroutines -- Clearing the screen -- Chapter 4 -- Script 1 -- File redirection -- Command piping -- Chapter 4 -- Script 2 -- Chapter 4 -- Script 3 -- Subroutines -- Chapter 4 -- Script 4 -- Using parameters -- Chapter 4 -- Script 5 -- Chapter 4 -- Script 6 -- Making a current backup of your work -- Chapter 4 -- Script 7 -- Summary -- Chapter 5: Creating Interactive Scripts -- Chapter 5 -- Script 1 -- Chapter 5 -- Script 2 -- Chapter 5 -- Script 3. Chapter 5 -- Script 4 -- Chapter 5 -- Script 5 -- Chapter 5 -- Script 6 -- Chapter 5 -- Script 7 -- Chapter 5 -- Script 8 -- Summary -- Chapter 6: Automating Tasks with Scripts -- Chapter 6 -- Script 1 -- Chapter 6 -- Script 2 -- Chapter 6 -- Script 3 -- Chapter 6 -- Script 4 -- Cron -- Chapter 6 -- Script 5 -- Chapter 6 -- Script 6 -- Chapter 6 -- Script 7 -- Summary -- Chapter 7: Working with Files -- Writing files -- Chapter 7 -- Script 1 -- Reading files -- Chapter 7 -- Script 2 -- Chapter 7 -- Script 3 -- Chapter 7 -- Script 4 -- Reading and writing files -- Chapter 7 -- Script 5 -- Reading and writing files interactively -- Chapter 7 -- Script 6 -- File checksums -- File encryption -- Chapter 7 -- Script 7 -- Summary -- Chapter 8: Working with wget and curl -- Introducing the wget program -- wget options -- wget return codes -- wget configuration files -- Chapter 8 -- Script 1 -- wget and recursion -- wget options -- curl -- curl options -- Chapter 8 -- Script 2 -- Summary -- Chapter 9: Debugging Scripts -- Syntax errors -- Chapter 9 -- Script 1 -- Chapter 9 -- Script 2 -- Automatic backups -- More syntax errors -- Chapter 9 -- Script 3 -- Logic errors -- Chapter 9 -- Script 4 -- Using set to debug scripts -- Chapter 9 -- Script 5 and Script 6 -- Chapter 9 -- Script 7 -- Chapter 9 -- Script 8 -- Chapter 9 -- Script 9 -- Summary -- Chapter 10: Scripting Best Practices -- Verifying backups -- ssh and scp -- Find and use a good text editor -- Environment variables and aliases -- ssh prompt -- Testing an archive -- Progress indicator -- Chapter 10 -- Script 1 -- Creating new commands from a template -- Chapter 10 -- Script 2 -- Alerting the user -- Chapter 10 -- Script 3 -- Summary -- Index. |
ctrlnum | (OCoLC)999610969 |
dewey-full | 005.432 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 005 - Computer programming, programs, data, security |
dewey-raw | 005.432 |
dewey-search | 005.432 |
dewey-sort | 15.432 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
format | Electronic eBook |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>08645cam a2200601 i 4500</leader><controlfield tag="001">ZDB-4-EBA-ocn999610969</controlfield><controlfield tag="003">OCoLC</controlfield><controlfield tag="005">20241004212047.0</controlfield><controlfield tag="006">m o d </controlfield><controlfield tag="007">cr unu||||||||</controlfield><controlfield tag="008">170804s2017 enka o 001 0 eng d</controlfield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">UMI</subfield><subfield code="b">eng</subfield><subfield code="e">rda</subfield><subfield code="e">pn</subfield><subfield code="c">UMI</subfield><subfield code="d">STF</subfield><subfield code="d">IDEBK</subfield><subfield code="d">OCLCF</subfield><subfield code="d">TOH</subfield><subfield code="d">COO</subfield><subfield code="d">N$T</subfield><subfield code="d">UOK</subfield><subfield code="d">CEF</subfield><subfield code="d">KSU</subfield><subfield code="d">UAB</subfield><subfield code="d">QGK</subfield><subfield code="d">OCLCO</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">OCLCO</subfield><subfield code="d">OCLCL</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">DXU</subfield></datafield><datafield tag="019" ind1=" " ind2=" "><subfield code="a">1259217446</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781787125414</subfield><subfield code="q">(electronic bk.)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1787125416</subfield><subfield code="q">(electronic bk.)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="z">9781787281103</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)999610969</subfield><subfield code="z">(OCoLC)1259217446</subfield></datafield><datafield tag="037" ind1=" " ind2=" "><subfield code="a">CL0500000881</subfield><subfield code="b">Safari Books Online</subfield></datafield><datafield tag="050" ind1=" " ind2="4"><subfield code="a">QA76.774.L46</subfield></datafield><datafield tag="072" ind1=" " ind2="7"><subfield code="a">COM</subfield><subfield code="x">046070</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="082" ind1="7" ind2=" "><subfield code="a">005.432</subfield><subfield code="2">23</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">MAIN</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Lewis, James Kent,</subfield><subfield code="e">author.</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Linux shell scripting bootcamp :</subfield><subfield code="b">explore the possibilities of the shell in a simple and elegant way /</subfield><subfield code="c">James Kent Lewis.</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Birmingham, UK :</subfield><subfield code="b">Packt Publishing,</subfield><subfield code="c">2017.</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">1 online resource :</subfield><subfield code="b">illustrations</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="a">text</subfield><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="a">computer</subfield><subfield code="b">c</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="a">online resource</subfield><subfield code="b">cr</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="347" ind1=" " ind2=" "><subfield code="a">text file</subfield></datafield><datafield tag="588" ind1=" " ind2=" "><subfield code="a">Description based on online resource; title from cover (Safari, viewed August 4, 2017).</subfield></datafield><datafield tag="500" ind1=" " ind2=" "><subfield code="a">Includes index.</subfield></datafield><datafield tag="520" ind1=" " ind2=" "><subfield code="a">A quick and straightforward approach to writing shell scripts to accomplish different types of tasks on a Linux system. About This Book Understand expressions and variables and how to use them practically Familiarize yourself with the various text filtering tools available in Linux A fast-paced and concise guide that gets you well versed with linux shell scripting. Who This Book Is For This book is for both 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. What You Will Learn Get acquainted with the basics of a shell script to serve as a refresher for more advanced topics Learn different ways to create and run a script Discuss the passing and verification of parameters, along with the verification of other items. Understand the different forms of conditions and loops, and go over the sleep command in detail Learn about different ways to handle the reporting of return codes Create an interactive script by reading the keyboard and use subroutines and interrupts Create scripts to perform backups and go over the use of encryption tools and checksums Use wget and curl in scripts to get data directly from the Internet In Detail Linux Shell Scripting Bootcamp is all about learning the essentials of script creation, validating parameters, and checking for the existence of files and other items needed by the script. We will use scripts to explore iterative operations using loops and learn different types of loop statements, with their differences. Along with this, we will also create a numbered backup script for backup files. Further, you will get well-versed with how variables work on a Linux system and how they relate to scripts. You'll also learn how to create and call subroutines in a script and create interactive scripts. The most important archive commands, zip and tar, are also discussed for performing backups. Later, you will dive deeper by understanding the use of wget and curl scripts and the use of checksum and file encryption in further chapters. Finally, you will learn how to debug scripts and scripting best practices that will enable you to write a great code every time! By the end of the book, you will be able to write shell scripts that can dig data from the web and process it efficiently. Style and approach This book is all about fast and intensive learning. This means we don't waste time in helping readers get started. The new conten...</subfield></datafield><datafield tag="504" ind1=" " ind2=" "><subfield code="a">Includes bibliographical references at the end of each chapters and index.</subfield></datafield><datafield tag="505" ind1="0" ind2=" "><subfield code="a">Cover -- Copyright -- Credits -- About the Author -- Acknowledgement -- About the Reviewer -- www.PacktPub.com -- Customer Feedback -- Table of Contents -- Preface -- Chapter 1: Getting Started with Shell Scripting -- Getting started -- Using a good text editor -- Demonstrating the use of scripts -- Chapter 1 -- Script 1 -- Chapter 1 -- Script 2 -- Chapter 1 -- Script 3 -- Chapter 1 -- Script 4 -- Chapter 1 -- Script 5 -- Chapter 1 -- Script 6 -- Summary -- Chapter 2: Working with Variables -- Using variables in scripts -- Chapter 2 -- Script 1 -- Validating parameters using conditional statements -- Chapter 2 -- Script 2 -- Comparison operators for strings -- Chapter 2 -- Script 3 -- Chapter 2 -- Script 4 -- Chapter 2 -- Script 5 -- Environment variables -- Chapter 2 -- Script 6 -- Chapter 2 -- Script 7 -- Summary -- Chapter 3: Using Loops and the sleep Command -- Using loops -- Chapter 3 -- Script 1 -- Chapter 3 -- Script 2 -- Chapter 3 -- Script 3 -- Screen manipulation -- Chapter 3 -- Script 4 -- Chapter 3 -- Script 5 -- Indenting your code -- Chapter 3 -- Script 6 -- Using the for statement -- Chapter 3 -- Script 7 -- Chapter 3 -- Script 8 -- Leaving a loop early -- Chapter 3 -- Script 9 -- The sleep command -- Chapter 3 -- Script 10 -- Chapter 3 -- Script 11 -- Watching a process -- Chapter 3 -- Script 12 -- Creating numbered backup files -- Chapter 3 -- Script 13 -- Summary -- Chapter 4: Creating and Calling Subroutines -- Clearing the screen -- Chapter 4 -- Script 1 -- File redirection -- Command piping -- Chapter 4 -- Script 2 -- Chapter 4 -- Script 3 -- Subroutines -- Chapter 4 -- Script 4 -- Using parameters -- Chapter 4 -- Script 5 -- Chapter 4 -- Script 6 -- Making a current backup of your work -- Chapter 4 -- Script 7 -- Summary -- Chapter 5: Creating Interactive Scripts -- Chapter 5 -- Script 1 -- Chapter 5 -- Script 2 -- Chapter 5 -- Script 3.</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Chapter 5 -- Script 4 -- Chapter 5 -- Script 5 -- Chapter 5 -- Script 6 -- Chapter 5 -- Script 7 -- Chapter 5 -- Script 8 -- Summary -- Chapter 6: Automating Tasks with Scripts -- Chapter 6 -- Script 1 -- Chapter 6 -- Script 2 -- Chapter 6 -- Script 3 -- Chapter 6 -- Script 4 -- Cron -- Chapter 6 -- Script 5 -- Chapter 6 -- Script 6 -- Chapter 6 -- Script 7 -- Summary -- Chapter 7: Working with Files -- Writing files -- Chapter 7 -- Script 1 -- Reading files -- Chapter 7 -- Script 2 -- Chapter 7 -- Script 3 -- Chapter 7 -- Script 4 -- Reading and writing files -- Chapter 7 -- Script 5 -- Reading and writing files interactively -- Chapter 7 -- Script 6 -- File checksums -- File encryption -- Chapter 7 -- Script 7 -- Summary -- Chapter 8: Working with wget and curl -- Introducing the wget program -- wget options -- wget return codes -- wget configuration files -- Chapter 8 -- Script 1 -- wget and recursion -- wget options -- curl -- curl options -- Chapter 8 -- Script 2 -- Summary -- Chapter 9: Debugging Scripts -- Syntax errors -- Chapter 9 -- Script 1 -- Chapter 9 -- Script 2 -- Automatic backups -- More syntax errors -- Chapter 9 -- Script 3 -- Logic errors -- Chapter 9 -- Script 4 -- Using set to debug scripts -- Chapter 9 -- Script 5 and Script 6 -- Chapter 9 -- Script 7 -- Chapter 9 -- Script 8 -- Chapter 9 -- Script 9 -- Summary -- Chapter 10: Scripting Best Practices -- Verifying backups -- ssh and scp -- Find and use a good text editor -- Environment variables and aliases -- ssh prompt -- Testing an archive -- Progress indicator -- Chapter 10 -- Script 1 -- Creating new commands from a template -- Chapter 10 -- Script 2 -- Alerting the user -- Chapter 10 -- Script 3 -- Summary -- Index.</subfield></datafield><datafield tag="630" ind1="0" ind2="0"><subfield code="a">Linux.</subfield><subfield code="0">http://id.loc.gov/authorities/names/n94087892</subfield></datafield><datafield tag="630" ind1="0" ind2="7"><subfield code="a">Linux</subfield><subfield code="2">fast</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Scripting languages (Computer science)</subfield><subfield code="0">http://id.loc.gov/authorities/subjects/sh2006007256</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Operating systems (Computers)</subfield><subfield code="0">http://id.loc.gov/authorities/subjects/sh85094982</subfield></datafield><datafield tag="650" ind1=" " ind2="6"><subfield code="a">Langages de script (Informatique)</subfield></datafield><datafield tag="650" ind1=" " ind2="6"><subfield code="a">Systèmes d'exploitation (Ordinateurs)</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">operating systems.</subfield><subfield code="2">aat</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">COMPUTERS / Operating Systems / Linux.</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Operating systems (Computers)</subfield><subfield code="2">fast</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Scripting languages (Computer science)</subfield><subfield code="2">fast</subfield></datafield><datafield tag="758" ind1=" " ind2=" "><subfield code="i">has work:</subfield><subfield code="a">Linux Shell Scripting Bootcamp (Text)</subfield><subfield code="1">https://id.oclc.org/worldcat/entity/E39PCYJCC6Wk9r9GPtqHYvBRXd</subfield><subfield code="4">https://id.oclc.org/worldcat/ontology/hasWork</subfield></datafield><datafield tag="776" ind1=" " ind2=" "><subfield code="z">1-78728-110-8</subfield></datafield><datafield tag="776" ind1=" " ind2=" "><subfield code="z">1-78712-541-6</subfield></datafield><datafield tag="856" ind1="4" ind2="0"><subfield code="l">FWS01</subfield><subfield code="p">ZDB-4-EBA</subfield><subfield code="q">FWS_PDA_EBA</subfield><subfield code="u">https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1560826</subfield><subfield code="3">Volltext</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">ProQuest MyiLibrary Digital eBook Collection</subfield><subfield code="b">IDEB</subfield><subfield code="n">cis38517036</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">EBSCOhost</subfield><subfield code="b">EBSC</subfield><subfield code="n">1560826</subfield></datafield><datafield tag="994" ind1=" " ind2=" "><subfield code="a">92</subfield><subfield code="b">GEBAY</subfield></datafield><datafield tag="912" ind1=" " ind2=" "><subfield code="a">ZDB-4-EBA</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-863</subfield></datafield></record></collection> |
id | ZDB-4-EBA-ocn999610969 |
illustrated | Illustrated |
indexdate | 2024-11-27T13:27:57Z |
institution | BVB |
isbn | 9781787125414 1787125416 |
language | English |
oclc_num | 999610969 |
open_access_boolean | |
owner | MAIN DE-863 DE-BY-FWS |
owner_facet | MAIN DE-863 DE-BY-FWS |
physical | 1 online resource : illustrations |
psigel | ZDB-4-EBA |
publishDate | 2017 |
publishDateSearch | 2017 |
publishDateSort | 2017 |
publisher | Packt Publishing, |
record_format | marc |
spelling | Lewis, James Kent, author. Linux shell scripting bootcamp : explore the possibilities of the shell in a simple and elegant way / James Kent Lewis. Birmingham, UK : Packt Publishing, 2017. 1 online resource : illustrations text txt rdacontent computer c rdamedia online resource cr rdacarrier text file Description based on online resource; title from cover (Safari, viewed August 4, 2017). Includes index. A quick and straightforward approach to writing shell scripts to accomplish different types of tasks on a Linux system. About This Book Understand expressions and variables and how to use them practically Familiarize yourself with the various text filtering tools available in Linux A fast-paced and concise guide that gets you well versed with linux shell scripting. Who This Book Is For This book is for both 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. What You Will Learn Get acquainted with the basics of a shell script to serve as a refresher for more advanced topics Learn different ways to create and run a script Discuss the passing and verification of parameters, along with the verification of other items. Understand the different forms of conditions and loops, and go over the sleep command in detail Learn about different ways to handle the reporting of return codes Create an interactive script by reading the keyboard and use subroutines and interrupts Create scripts to perform backups and go over the use of encryption tools and checksums Use wget and curl in scripts to get data directly from the Internet In Detail Linux Shell Scripting Bootcamp is all about learning the essentials of script creation, validating parameters, and checking for the existence of files and other items needed by the script. We will use scripts to explore iterative operations using loops and learn different types of loop statements, with their differences. Along with this, we will also create a numbered backup script for backup files. Further, you will get well-versed with how variables work on a Linux system and how they relate to scripts. You'll also learn how to create and call subroutines in a script and create interactive scripts. The most important archive commands, zip and tar, are also discussed for performing backups. Later, you will dive deeper by understanding the use of wget and curl scripts and the use of checksum and file encryption in further chapters. Finally, you will learn how to debug scripts and scripting best practices that will enable you to write a great code every time! By the end of the book, you will be able to write shell scripts that can dig data from the web and process it efficiently. Style and approach This book is all about fast and intensive learning. This means we don't waste time in helping readers get started. The new conten... Includes bibliographical references at the end of each chapters and index. Cover -- Copyright -- Credits -- About the Author -- Acknowledgement -- About the Reviewer -- www.PacktPub.com -- Customer Feedback -- Table of Contents -- Preface -- Chapter 1: Getting Started with Shell Scripting -- Getting started -- Using a good text editor -- Demonstrating the use of scripts -- Chapter 1 -- Script 1 -- Chapter 1 -- Script 2 -- Chapter 1 -- Script 3 -- Chapter 1 -- Script 4 -- Chapter 1 -- Script 5 -- Chapter 1 -- Script 6 -- Summary -- Chapter 2: Working with Variables -- Using variables in scripts -- Chapter 2 -- Script 1 -- Validating parameters using conditional statements -- Chapter 2 -- Script 2 -- Comparison operators for strings -- Chapter 2 -- Script 3 -- Chapter 2 -- Script 4 -- Chapter 2 -- Script 5 -- Environment variables -- Chapter 2 -- Script 6 -- Chapter 2 -- Script 7 -- Summary -- Chapter 3: Using Loops and the sleep Command -- Using loops -- Chapter 3 -- Script 1 -- Chapter 3 -- Script 2 -- Chapter 3 -- Script 3 -- Screen manipulation -- Chapter 3 -- Script 4 -- Chapter 3 -- Script 5 -- Indenting your code -- Chapter 3 -- Script 6 -- Using the for statement -- Chapter 3 -- Script 7 -- Chapter 3 -- Script 8 -- Leaving a loop early -- Chapter 3 -- Script 9 -- The sleep command -- Chapter 3 -- Script 10 -- Chapter 3 -- Script 11 -- Watching a process -- Chapter 3 -- Script 12 -- Creating numbered backup files -- Chapter 3 -- Script 13 -- Summary -- Chapter 4: Creating and Calling Subroutines -- Clearing the screen -- Chapter 4 -- Script 1 -- File redirection -- Command piping -- Chapter 4 -- Script 2 -- Chapter 4 -- Script 3 -- Subroutines -- Chapter 4 -- Script 4 -- Using parameters -- Chapter 4 -- Script 5 -- Chapter 4 -- Script 6 -- Making a current backup of your work -- Chapter 4 -- Script 7 -- Summary -- Chapter 5: Creating Interactive Scripts -- Chapter 5 -- Script 1 -- Chapter 5 -- Script 2 -- Chapter 5 -- Script 3. Chapter 5 -- Script 4 -- Chapter 5 -- Script 5 -- Chapter 5 -- Script 6 -- Chapter 5 -- Script 7 -- Chapter 5 -- Script 8 -- Summary -- Chapter 6: Automating Tasks with Scripts -- Chapter 6 -- Script 1 -- Chapter 6 -- Script 2 -- Chapter 6 -- Script 3 -- Chapter 6 -- Script 4 -- Cron -- Chapter 6 -- Script 5 -- Chapter 6 -- Script 6 -- Chapter 6 -- Script 7 -- Summary -- Chapter 7: Working with Files -- Writing files -- Chapter 7 -- Script 1 -- Reading files -- Chapter 7 -- Script 2 -- Chapter 7 -- Script 3 -- Chapter 7 -- Script 4 -- Reading and writing files -- Chapter 7 -- Script 5 -- Reading and writing files interactively -- Chapter 7 -- Script 6 -- File checksums -- File encryption -- Chapter 7 -- Script 7 -- Summary -- Chapter 8: Working with wget and curl -- Introducing the wget program -- wget options -- wget return codes -- wget configuration files -- Chapter 8 -- Script 1 -- wget and recursion -- wget options -- curl -- curl options -- Chapter 8 -- Script 2 -- Summary -- Chapter 9: Debugging Scripts -- Syntax errors -- Chapter 9 -- Script 1 -- Chapter 9 -- Script 2 -- Automatic backups -- More syntax errors -- Chapter 9 -- Script 3 -- Logic errors -- Chapter 9 -- Script 4 -- Using set to debug scripts -- Chapter 9 -- Script 5 and Script 6 -- Chapter 9 -- Script 7 -- Chapter 9 -- Script 8 -- Chapter 9 -- Script 9 -- Summary -- Chapter 10: Scripting Best Practices -- Verifying backups -- ssh and scp -- Find and use a good text editor -- Environment variables and aliases -- ssh prompt -- Testing an archive -- Progress indicator -- Chapter 10 -- Script 1 -- Creating new commands from a template -- Chapter 10 -- Script 2 -- Alerting the user -- Chapter 10 -- Script 3 -- Summary -- Index. Linux. http://id.loc.gov/authorities/names/n94087892 Linux fast Scripting languages (Computer science) http://id.loc.gov/authorities/subjects/sh2006007256 Operating systems (Computers) http://id.loc.gov/authorities/subjects/sh85094982 Langages de script (Informatique) Systèmes d'exploitation (Ordinateurs) operating systems. aat COMPUTERS / Operating Systems / Linux. bisacsh Operating systems (Computers) fast Scripting languages (Computer science) fast has work: Linux Shell Scripting Bootcamp (Text) https://id.oclc.org/worldcat/entity/E39PCYJCC6Wk9r9GPtqHYvBRXd https://id.oclc.org/worldcat/ontology/hasWork 1-78728-110-8 1-78712-541-6 FWS01 ZDB-4-EBA FWS_PDA_EBA https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1560826 Volltext |
spellingShingle | Lewis, James Kent Linux shell scripting bootcamp : explore the possibilities of the shell in a simple and elegant way / Cover -- Copyright -- Credits -- About the Author -- Acknowledgement -- About the Reviewer -- www.PacktPub.com -- Customer Feedback -- Table of Contents -- Preface -- Chapter 1: Getting Started with Shell Scripting -- Getting started -- Using a good text editor -- Demonstrating the use of scripts -- Chapter 1 -- Script 1 -- Chapter 1 -- Script 2 -- Chapter 1 -- Script 3 -- Chapter 1 -- Script 4 -- Chapter 1 -- Script 5 -- Chapter 1 -- Script 6 -- Summary -- Chapter 2: Working with Variables -- Using variables in scripts -- Chapter 2 -- Script 1 -- Validating parameters using conditional statements -- Chapter 2 -- Script 2 -- Comparison operators for strings -- Chapter 2 -- Script 3 -- Chapter 2 -- Script 4 -- Chapter 2 -- Script 5 -- Environment variables -- Chapter 2 -- Script 6 -- Chapter 2 -- Script 7 -- Summary -- Chapter 3: Using Loops and the sleep Command -- Using loops -- Chapter 3 -- Script 1 -- Chapter 3 -- Script 2 -- Chapter 3 -- Script 3 -- Screen manipulation -- Chapter 3 -- Script 4 -- Chapter 3 -- Script 5 -- Indenting your code -- Chapter 3 -- Script 6 -- Using the for statement -- Chapter 3 -- Script 7 -- Chapter 3 -- Script 8 -- Leaving a loop early -- Chapter 3 -- Script 9 -- The sleep command -- Chapter 3 -- Script 10 -- Chapter 3 -- Script 11 -- Watching a process -- Chapter 3 -- Script 12 -- Creating numbered backup files -- Chapter 3 -- Script 13 -- Summary -- Chapter 4: Creating and Calling Subroutines -- Clearing the screen -- Chapter 4 -- Script 1 -- File redirection -- Command piping -- Chapter 4 -- Script 2 -- Chapter 4 -- Script 3 -- Subroutines -- Chapter 4 -- Script 4 -- Using parameters -- Chapter 4 -- Script 5 -- Chapter 4 -- Script 6 -- Making a current backup of your work -- Chapter 4 -- Script 7 -- Summary -- Chapter 5: Creating Interactive Scripts -- Chapter 5 -- Script 1 -- Chapter 5 -- Script 2 -- Chapter 5 -- Script 3. Chapter 5 -- Script 4 -- Chapter 5 -- Script 5 -- Chapter 5 -- Script 6 -- Chapter 5 -- Script 7 -- Chapter 5 -- Script 8 -- Summary -- Chapter 6: Automating Tasks with Scripts -- Chapter 6 -- Script 1 -- Chapter 6 -- Script 2 -- Chapter 6 -- Script 3 -- Chapter 6 -- Script 4 -- Cron -- Chapter 6 -- Script 5 -- Chapter 6 -- Script 6 -- Chapter 6 -- Script 7 -- Summary -- Chapter 7: Working with Files -- Writing files -- Chapter 7 -- Script 1 -- Reading files -- Chapter 7 -- Script 2 -- Chapter 7 -- Script 3 -- Chapter 7 -- Script 4 -- Reading and writing files -- Chapter 7 -- Script 5 -- Reading and writing files interactively -- Chapter 7 -- Script 6 -- File checksums -- File encryption -- Chapter 7 -- Script 7 -- Summary -- Chapter 8: Working with wget and curl -- Introducing the wget program -- wget options -- wget return codes -- wget configuration files -- Chapter 8 -- Script 1 -- wget and recursion -- wget options -- curl -- curl options -- Chapter 8 -- Script 2 -- Summary -- Chapter 9: Debugging Scripts -- Syntax errors -- Chapter 9 -- Script 1 -- Chapter 9 -- Script 2 -- Automatic backups -- More syntax errors -- Chapter 9 -- Script 3 -- Logic errors -- Chapter 9 -- Script 4 -- Using set to debug scripts -- Chapter 9 -- Script 5 and Script 6 -- Chapter 9 -- Script 7 -- Chapter 9 -- Script 8 -- Chapter 9 -- Script 9 -- Summary -- Chapter 10: Scripting Best Practices -- Verifying backups -- ssh and scp -- Find and use a good text editor -- Environment variables and aliases -- ssh prompt -- Testing an archive -- Progress indicator -- Chapter 10 -- Script 1 -- Creating new commands from a template -- Chapter 10 -- Script 2 -- Alerting the user -- Chapter 10 -- Script 3 -- Summary -- Index. Linux. http://id.loc.gov/authorities/names/n94087892 Linux fast Scripting languages (Computer science) http://id.loc.gov/authorities/subjects/sh2006007256 Operating systems (Computers) http://id.loc.gov/authorities/subjects/sh85094982 Langages de script (Informatique) Systèmes d'exploitation (Ordinateurs) operating systems. aat COMPUTERS / Operating Systems / Linux. bisacsh Operating systems (Computers) fast Scripting languages (Computer science) fast |
subject_GND | http://id.loc.gov/authorities/names/n94087892 http://id.loc.gov/authorities/subjects/sh2006007256 http://id.loc.gov/authorities/subjects/sh85094982 |
title | Linux shell scripting bootcamp : explore the possibilities of the shell in a simple and elegant way / |
title_auth | Linux shell scripting bootcamp : explore the possibilities of the shell in a simple and elegant way / |
title_exact_search | Linux shell scripting bootcamp : explore the possibilities of the shell in a simple and elegant way / |
title_full | Linux shell scripting bootcamp : explore the possibilities of the shell in a simple and elegant way / James Kent Lewis. |
title_fullStr | Linux shell scripting bootcamp : explore the possibilities of the shell in a simple and elegant way / James Kent Lewis. |
title_full_unstemmed | Linux shell scripting bootcamp : explore the possibilities of the shell in a simple and elegant way / James Kent Lewis. |
title_short | Linux shell scripting bootcamp : |
title_sort | linux shell scripting bootcamp explore the possibilities of the shell in a simple and elegant way |
title_sub | explore the possibilities of the shell in a simple and elegant way / |
topic | Linux. http://id.loc.gov/authorities/names/n94087892 Linux fast Scripting languages (Computer science) http://id.loc.gov/authorities/subjects/sh2006007256 Operating systems (Computers) http://id.loc.gov/authorities/subjects/sh85094982 Langages de script (Informatique) Systèmes d'exploitation (Ordinateurs) operating systems. aat COMPUTERS / Operating Systems / Linux. bisacsh Operating systems (Computers) fast Scripting languages (Computer science) fast |
topic_facet | Linux. Linux Scripting languages (Computer science) Operating systems (Computers) Langages de script (Informatique) Systèmes d'exploitation (Ordinateurs) operating systems. COMPUTERS / Operating Systems / Linux. |
url | https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1560826 |
work_keys_str_mv | AT lewisjameskent linuxshellscriptingbootcampexplorethepossibilitiesoftheshellinasimpleandelegantway |