Linux shell scripting bootcamp : explore the possibilities of the shell in a simple and elegant way
(eBook)

Book Cover
Average Rating
Published
Birmingham, UK : Packt Publishing, 2017.
Format
eBook
ISBN
1787125416, 9781787125414
Physical Desc
1 online resource : illustrations
Status

Description

Loading Description...

Also in this Series

Checking series information...

More Like This

Loading more titles like this title...

Syndetics Unbound

More Details

Language
English

Notes

General Note
Includes index.
Bibliography
Includes bibliographical references at the end of each chapters and index.
Description
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...

Reviews from GoodReads

Loading GoodReads Reviews.

Citations

APA Citation, 7th Edition (style guide)

Lewis, J. K. (2017). Linux shell scripting bootcamp: explore the possibilities of the shell in a simple and elegant way . Packt Publishing.

Chicago / Turabian - Author Date Citation, 17th Edition (style guide)

Lewis, James Kent. 2017. Linux Shell Scripting Bootcamp: Explore the Possibilities of the Shell in a Simple and Elegant Way. Packt Publishing.

Chicago / Turabian - Humanities (Notes and Bibliography) Citation, 17th Edition (style guide)

Lewis, James Kent. Linux Shell Scripting Bootcamp: Explore the Possibilities of the Shell in a Simple and Elegant Way Packt Publishing, 2017.

MLA Citation, 9th Edition (style guide)

Lewis, James Kent. Linux Shell Scripting Bootcamp: Explore the Possibilities of the Shell in a Simple and Elegant Way Packt Publishing, 2017.

Note! Citations contain only title, author, edition, publisher, and year published. Citations should be used as a guideline and should be double checked for accuracy. Citation formats are based on standards as of August 2021.

Staff View

Grouped Work ID
54e08057-d5e0-abe5-d58f-de1b93523777-eng
Go To Grouped Work

Grouping Information

Grouped Work ID54e08057-d5e0-abe5-d58f-de1b93523777-eng
Full titlelinux shell scripting bootcamp explore the possibilities of the shell in a simple and elegant way
Authorlewis james kent
Grouping Categorybook
Last Update2024-10-04 13:10:14PM
Last Indexed2024-10-12 05:03:40AM

Book Cover Information

Image Sourcesyndetics
First LoadedSep 27, 2024
Last UsedSep 27, 2024

Marc Record

First DetectedJul 29, 2024 04:03:06 PM
Last File Modification TimeOct 04, 2024 01:23:27 PM

MARC Record

LEADER08084cam a2200481 i 4500
001ocn999610969
003OCoLC
00520240927105016.0
006m     o  d        
007cr unu||||||||
008170804s2017    enka    o     001 0 eng d
019 |a 1259217446
020 |a 1787125416|q (electronic bk.)
020 |a 9781787125414|q (electronic bk.)
020 |z 9781787281103
035 |a (OCoLC)999610969|z (OCoLC)1259217446
037 |a CL0500000881|b Safari Books Online
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
049 |a FMGA
050 4|a QA76.774.L46
08204|a 005.432|2 23
1001 |a Lewis, James Kent,|e author.
24510|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
500 |a Includes index.
504 |a Includes bibliographical references at the end of each chapters and index.
5050 |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.
5058 |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.
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...
588 |a Description based on online resource; title from cover (Safari, viewed August 4, 2017).
63000|a Linux.|0 http://id.loc.gov/authorities/names/n94087892
63007|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
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
85640|u https://www.aclib.us/OReilly