000 08788cam a2200841Ii 4500
001 ocn935257135
003 OCoLC
005 20200827111650.0
006 m o d
007 cr unu||||||||
008 160119s2015 enka o 001 0 eng d
040 _aUMI
_beng
_erda
_epn
_cUMI
_dOCLCF
_dN$T
_dIDEBK
_dVT2
_dYDXCP
_dCOO
_dEBLCP
_dDEBSZ
_dDEBBG
_dTEFOD
_dOCLCQ
_dMERUC
_dOCLCQ
_dCEF
_dNLE
_dUKMGB
_dOCLCQ
_dUAB
_dUKAHL
_dOCLCQ
016 7 _a018007293
_2Uk
019 _a933584541
_a933587343
_a951065004
020 _a9781784397593
_q(electronic bk.)
020 _a1784397598
_q(electronic bk.)
020 _a1784396974
020 _a9781784396978
020 _z1784396974
020 _z9781784396978
024 3 _a9781784396978
029 1 _aAU@
_b000059520492
029 1 _aDEBBG
_bBV043968647
029 1 _aDEBSZ
_b473885093
029 1 _aDEBSZ
_b485791544
029 1 _aGBVCP
_b882751212
029 1 _aUKMGB
_b018007293
029 1 _aAU@
_b000057034091
029 1 _aAU@
_b000057558713
035 _a(OCoLC)935257135
_z(OCoLC)933584541
_z(OCoLC)933587343
_z(OCoLC)951065004
037 _aCL0500000703
_bSafari Books Online
037 _aEF155F79-E271-45AD-8384-F33DDB4FAF05
_bOverDrive, Inc.
_nhttp://www.overdrive.com
050 4 _aQA76.774.L46
072 7 _aCOM
_x046070
_2bisacsh
072 7 _aCOM
_x046030
_2bisacsh
082 0 4 _a005.446076
_223
049 _aMAIN
100 1 _aMallett, Andrew,
_eauthor.
_0http://id.loc.gov/authorities/names/no2015166093
245 1 0 _aMastering Linux shell scripting :
_bmaster the complexities of Bash shell scripting and unlock the power of shell for your enterprise /
_cAndrew Mallett.
264 1 _aBirmingham :
_bPackt Publishing,
_c2015.
300 _a1 online resource :
_billustrations
336 _atext
_btxt
_2rdacontent
337 _acomputer
_bc
_2rdamedia
338 _aonline resource
_bcr
_2rdacarrier
490 1 _aCommunity experience distilled
588 0 _aOnline resource; title from PDF title page (EBSCO, viewed May 3, 2016).
500 _aIncludes index.
520 8 _aAnnotation
_bMaster 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 _aCover ; 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 _aChapter 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 _aCreating 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 _aPattern 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 _aDisplaying 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 _aeBooks on EBSCOhost
_bEBSCO eBook Subscription Academic Collection - Worldwide
630 0 0 _aLinux.
_0http://id.loc.gov/authorities/names/n94087892
630 0 0 _aUNIX (Computer file)
_0http://id.loc.gov/authorities/names/n91019960
630 0 0 _aUNIX Shells.
_0http://id.loc.gov/authorities/names/n93002992
630 0 7 _aLinux.
_2fast
_0(OCoLC)fst01382136
630 0 7 _aUNIX (Computer file)
_2fast
_0(OCoLC)fst01365395
630 0 7 _aUNIX Shells.
_2fast
_0(OCoLC)fst01371348
650 7 _aCOMPUTERS
_xOperating Systems
_xLinux.
_2bisacsh
650 7 _aCOMPUTERS
_xOperating Systems
_xUNIX.
_2bisacsh
655 4 _aElectronic books.
776 0 8 _iPrint version:
_aMallett, Andrew.
_tMastering Linux Shell Scripting.
_dBirmingham : Packt Publishing, �2015
830 0 _aCommunity experience distilled.
_0http://id.loc.gov/authorities/names/no2011030603
856 4 0 _uhttps://libproxy.firstcity.edu.my:8443/login?url=http://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1133613
938 _aAskews and Holts Library Services
_bASKH
_nAH29879263
938 _aEBL - Ebook Library
_bEBLB
_nEBL4191333
938 _aEBSCOhost
_bEBSC
_n1133613
938 _aProQuest MyiLibrary Digital eBook Collection
_bIDEB
_ncis33455121
938 _aYBP Library Services
_bYANK
_n12768939
994 _a92
_bMYFCU
999 _c49806
_d49806