Cargando…

Mastering Linux shell scripting : master the complexities of Bash shell scripting and unlock the power of shell for your enterprise /

Annotation

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Mallett, Andrew (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing, 2015.
Colección:Community experience distilled.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)

MARC

LEADER 00000cam a2200000Ii 4500
001 OR_ocn935257135
003 OCoLC
005 20231017213018.0
006 m o d
007 cr unu||||||||
008 160119s2015 enka o 001 0 eng d
040 |a UMI  |b eng  |e rda  |e pn  |c UMI  |d OCLCF  |d N$T  |d IDEBK  |d VT2  |d YDXCP  |d COO  |d EBLCP  |d DEBSZ  |d DEBBG  |d TEFOD  |d OCLCQ  |d MERUC  |d OCLCQ  |d CEF  |d NLE  |d UKMGB  |d OCLCQ  |d UAB  |d UKAHL  |d OCLCQ  |d QGK  |d OCLCO 
016 7 |a 018007293  |2 Uk 
019 |a 933584541  |a 933587343  |a 951065004  |a 1259094667 
020 |a 9781784397593  |q (electronic bk.) 
020 |a 1784397598  |q (electronic bk.) 
020 |a 1784396974 
020 |a 9781784396978 
020 |z 1784396974 
020 |z 9781784396978 
024 3 |a 9781784396978 
029 1 |a AU@  |b 000059520492 
029 1 |a DEBBG  |b BV043968647 
029 1 |a DEBSZ  |b 473885093 
029 1 |a DEBSZ  |b 485791544 
029 1 |a GBVCP  |b 882751212 
029 1 |a UKMGB  |b 018007293 
029 1 |a AU@  |b 000057034091 
029 1 |a AU@  |b 000057558713 
035 |a (OCoLC)935257135  |z (OCoLC)933584541  |z (OCoLC)933587343  |z (OCoLC)951065004  |z (OCoLC)1259094667 
037 |a CL0500000703  |b Safari Books Online 
037 |a EF155F79-E271-45AD-8384-F33DDB4FAF05  |b OverDrive, Inc.  |n http://www.overdrive.com 
050 4 |a QA76.774.L46 
072 7 |a COM  |x 046070  |2 bisacsh 
072 7 |a COM  |x 046030  |2 bisacsh 
082 0 4 |a 005.446076  |2 23 
049 |a UAMI 
100 1 |a Mallett, Andrew,  |e author. 
245 1 0 |a Mastering Linux shell scripting :  |b master the complexities of Bash shell scripting and unlock the power of shell for your enterprise /  |c Andrew Mallett. 
264 1 |a Birmingham :  |b Packt Publishing,  |c 2015. 
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 
490 1 |a Community experience distilled 
588 0 |a Online resource; title from PDF title page (EBSCO, viewed May 3, 2016). 
500 |a Includes index. 
520 8 |a Annotation  |b Master the complexities of Bash shell scripting and unlock the power of shell for your enterpriseAbout This Book Identify the high level steps such as verifying user input, using command lines and conditional statements in creating and executing simple shell scripts Create and edit dynamic shell scripts to manage complex and repetitive tasks Learn about scripting in Perl and programming in Python as a BASH scripting alternative with this practical, step-by-step guideWho This Book Is ForMastering Linux Shell Scripting has been written for Linux administrators who want to automate tasks in their daily lives, saving time and effort. You'll need to have command-line experience and be familiar with the tasks that you need to automate. What You Will Learn Use the type command to identify the order of command evaluation Create interactive scripts that prompt for user input Foster menu structures for operators with little command-line experience Develop scripts that dynamically edit web configuration files to produce a new virtual host Write scripts that use AWK to search and reports on log files Draft effective scripts using functions as building blocks, reducing maintenance and build time Make informed choices by comparing different script languages such as Perl and Python with BASHIn DetailShell scripting is a quick method to prototype a complex application or a problem by automating tasks when working on Linux-based systems. Using both simple one-line commands and command sequences complex problems can be solved with ease, from text processing to backing up sysadmin tools. In this book, you'll discover everything you need to know to master shell scripting and make informed choices about the elements you employ. Get to grips with the fundamentals of creating and running a script in normal mode, and in debug mode. Learn about various conditional statements' code snippets, and realize the power of repetition and loops in your shell script. Implement functions and edit files using the Stream Editor, script in Perl, program in Python as well as complete coverage of other scripting languages to ensure you can choose the best tool for your project. Style and approachThe book will capture your attention and keep you engaged with the simplicity and clarity of each explanation. Every step is accompanied with screen captures so you can cross-check the results before moving on. 
505 0 |a Cover ; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: What and Why of Scripting with Bash ; Bash vulnerabilities; The bash command hierarchy; Command type; Command PATH; Preparing text editors for scripting; Configuring vim; Configuring nano; Configuring gedit; Creating and executing scripts; Hello World!; Executing the script; Checking the exit status; Ensuring a unique name; Hello Dolly!; Running the script with arguments; The importance of correct quotes; Printing the script name; Debugging your scripts; Summary. 
505 8 |a Chapter 2: Creating Interactive Scripts Using echo with options; Basic script using read; Script comments; Enhancing scripts with read prompts; Limiting the number of entered characters; Controlling the visibility of entered text; Enhancing learning with simple scripts; Backing-up with scripts; Connecting to a server; Version 1 -- ping; Version 2 -- SSH; Version 3 -- MySQL/MariaDB; Summary; Chapter 3: Conditions Attached ; Simple decision paths using command-line lists; Verifying user input with lists; Using the test shell builtin; Testing strings; Testing integers; Testing file types. 
505 8 |a Creating conditional statements using ifExtending if with else; More conditions with elif; Creating the backup2.sh using elif; Using case statements; Recipe -- building a front-end with grep; Summary; Chapter 4: Creating Code Snippets ; Abbreviations; Using code snippets; Bringing color to the terminal; Summary; Chapter 5: Alternative Syntax ; Recapping test; Testing files; Adding logic; Square brackets as not seen before; Providing parameter defaults; Variables; Special parameters; Setting defaults; When in doubt -- Quote!; Advanced test using [[; Whitespace; Other advanced features. 
505 8 |a Pattern matchingRegular expressions; Regular expression script; Arithmetic operations using ((; Simple math; Parameter manipulation; Standard arithmetic tests; Summary; Chapter 6: Iterating with Loops ; For loops; Controlling the loop; While loops and until loops; Reading input from files; Creating operator menus; Summary; Chapter 7: Creating Building Blocks with Functions ; Introducing functions; Passing parameters to functions; Returning values from functions; Using functions in menus; Summary; Chapter 8: Introducing sed ; Using grep to display text. 
505 8 |a Displaying received data on an interfaceDisplaying user account data; Listing the number of CPUs in a system; Parsing CSV files; The CSV file; Isolating catalog entries; Using regular expressions; Working with alternate spellings; How many words have four consecutive vowels?; RE anchors; Understanding the basics of sed; Substituting command; Editing the file; Summary; Chapter 9: Automating Apache Virtual Hosts ; Apache name-based Virtual Hosts; Creating the Virtual Hosts template; First steps; Isolating lines; sed script files; Automating Virtual Host creation. 
590 |a O'Reilly  |b O'Reilly Online Learning: Academic/Public Library Edition 
590 |a eBooks on EBSCOhost  |b EBSCO eBook Subscription Academic Collection - Worldwide 
630 0 0 |a Linux. 
630 0 0 |a UNIX (Computer file) 
630 0 0 |a UNIX Shells. 
630 0 7 |a Linux  |2 fast 
630 0 7 |a UNIX (Computer file)  |2 fast 
630 0 7 |a UNIX Shells  |2 fast 
650 7 |a COMPUTERS  |x Operating Systems  |x Linux.  |2 bisacsh 
650 7 |a COMPUTERS  |x Operating Systems  |x UNIX.  |2 bisacsh 
776 0 8 |i Print version:  |a Mallett, Andrew.  |t Mastering Linux Shell Scripting.  |d Birmingham : Packt Publishing, ©2015 
830 0 |a Community experience distilled. 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781784396978/?ar  |z Texto completo (Requiere registro previo con correo institucional) 
938 |a Askews and Holts Library Services  |b ASKH  |n AH29879263 
938 |a EBL - Ebook Library  |b EBLB  |n EBL4191333 
938 |a EBSCOhost  |b EBSC  |n 1133613 
938 |a ProQuest MyiLibrary Digital eBook Collection  |b IDEB  |n cis33455121 
938 |a YBP Library Services  |b YANK  |n 12768939 
994 |a 92  |b IZTAP