Shell Scripting

How to Automate Command Line Tasks Using Bash Scripting and Shell Programming
Author: Jaosn Cannon
Publisher: CreateSpace
ISBN: 9781517380434
Category:
Page: 98
View: 1638

Continue Reading →

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 Beginners, Python 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 book: 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. Scroll up, click the Buy Now With 1 Click button and get started learning Linux today!

grep kurz & gut


Author: Agnieszka Klus,John Bambenek
Publisher: O'Reilly Germany
ISBN: 3868991743
Category: Computers
Page: 88
View: 1611

Continue Reading →

grep kurz & gut ist die erste deutschsprachige Befehlsreferenz zu grep, dem mächtigen Such- und Filterungswerkzeug unter Unix. Jeder, der sich ausführlich zu den Möglichkeiten, die in grep stecken, informieren möchte, ist mit diesem Buch bestens bedient. Er erfährt, wie viele alltägliche Aufgaben mit grep ausgeführt werden können, von der Mail-Filterung über geschicktes Log-Management bis hin zur Malware-Analyse. Der Befehl grep stellt viele verschiedene Möglichkeiten bereit, Textstrings in einer Datei oder einem Ausgabestream zu finden. Diese Flexibilität macht grep zu einem mächtigen Tool, um das Vorhandensein von Informationen in Dateien zu ermitteln. Im Allgemeinen ist der Befehl grep nur dafür gedacht, Textausgaben oder Textdateien zu durchsuchen. Sie können auch Binärdateien (oder andere Nicht-Textdateien) durchsuchen, aber das Tool ist in dem Fall eingeschränkt. Tricks zum Durchsuchen von Binärdateien mit grep (also die Verwendung von String-Befehlen) werden ebenso in grep kurz & gut aufgezeigt. Sollte der Leser bereits mit der Arbeit mit grep vertraut sein, hilft ihm grep kurz & gut dabei, seine Kenntnisse aufzufrischen und mit grep besonders effizient zu arbeiten. Für grep-Einsteiger ist das vorliegende Buch eine hervorragende Möglichkeit, grep von Grund auf zu lernen und klug anzuwenden.

Mastering Linux Shell Scripting,

A practical guide to Linux command-line, Bash scripting, and Shell programming, 2nd Edition
Author: Mokhtar Ebrahim,Andrew Mallett
Publisher: Packt Publishing Ltd
ISBN: 1788990153
Category: Computers
Page: 284
View: 9414

Continue Reading →

Master the complexities of Bash shell scripting and unlock the power of shell for your enterprise Key Features Identify high-level steps such as verifying user input Using the command line and conditional statements in creating/executing simple shell scripts Create and edit dynamic shell scripts to manage complex and repetitive tasks Leverage the command-line to bypass GUI and automate common tasks Book Description In this book, you’ll discover everything you need to know to master shell scripting and make informed choices about the elements you employ. Grab your favorite editor and start writing your best Bash scripts step by step. 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. You will also learn to write complex shell scripts. This book will also deep dive into file system administration, directories, and system administration like networking, process management, user authentications, and package installation and regular expressions. Towards the end of the book, you will learn how to use Python as a BASH Scripting alternative. By the end of this book, you will know shell scripts at the snap of your fingers and will be able to automate and communicate with your system with keyboard expressions. What you will learn Make, execute, and debug your first Bash script 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 Python with BASH Who this book is for If you are a Linux administrator or a system administrator and are interested in automating tasks in your daily lives, saving time and effort, this book is for you. Basic shell scripting and command-line experience will be required. Familiarity with the tasks you need to automate will be helpful.

bash

Einstieg in die Shell-Programmierung
Author: Patrick Ditchen,Martin Schulte
Publisher: MITP-Verlags GmbH & Co. KG
ISBN: 3958455573
Category: Computers
Page: 216
View: 6012

Continue Reading →

Von den ersten Kommandos für die bash-Shell bis hin zum Einstieg in die Programmierung Grundfunktionen der Kommandozeile, Pipes, Vergleiche uvm. Fundierte Behandlung von awk, um Daten individueller und automatisierter zu bearbeiten, umzuformen oder auszuwerten Die bash ist die Standard-Shell auf Linux-Systemen und hervorragend für die tägliche Arbeit geeignet, denn mit ihr können Sie die Aufrufe mehrerer Programme kombinieren und automatisieren. Die Autoren führen Sie kompakt und praxisnah in die Konzepte und Techniken der Unix-Shell-Programmierung ein und zeigen Ihnen, wie Sie die bash im Alltag einsetzen sowie die auftretenden Schwierigkeiten bewältigen können. Sie lernen, mit der Kommandozeile zu arbeiten und welche die für die Programmierung wichtigsten Programme aus dem Unix-Werkzeugkasten sind. Sie erfahren, wie Sie mit Pipes und Variablen umgehen, sowie Vergleiche und arithmetische Operationen ausführen. Von den Grundfunktionen über den Umgang mit Kontrollstrukturen, Grouping oder auch dem Prozess-Handling schlagen die Autoren den Bogen zur Programmierung mit awk. Somit ist dieses Buch ein perfekter Einstieg in die Welt der Shell-Skript-Programmierung.

Command Line Kung Fu: Bash-Scripting-Tricks, Linux-Tipps und praktische Einzeiler für die Shell


Author: Jason Cannon
Publisher: Babelcube Inc.
ISBN: 150715349X
Category: Computers
Page: 59
View: 2118

Continue Reading →

Werde ein Linux-Ninja mit Command Line Kung Fu! Denkst du auch, dass du dich monatelang in einem Keller einschließen musst, um kryptische man-pages zu lesen, damit du Ninja-artige Kommandozeilen-Skills bekommst? In Wirklichkeit könntest du dir schon eine Menge Zeit und Frust ersparen, wenn du einfach nur jemanden hättest, der dir seine Tipps, Tricks und Tools zeigt. Was wäre, wenn du einem guten Freund über die Schulter schauen könntest, der nebenher zufällig ein Kommandozeilen-Guru ist? Wenn er dir nicht nur die Befehle zeigt, die er verwendet, sondern auch warum er sie verwendet und wie sie genau funktionieren? Und was wäre, wenn dieser Freund sich die Zeit nehmen würde, all das aufzuschreiben, damit du es nachlesen kannst? Wann immer du willst? Tatsächlich gibt es diesen Freund, und er hat genau das getan. Command Line Kung Fu ist vollgepackt mit dutzenden Tipps und über 100 Beispielen aus dem echten Leben. In diesem Buch wirst du keine theoretischen Beispiele finden, sondern lernen, wie du echte Probleme lösen und im Alltag relevante Aufgaben schnell und einfach erledigen kannst. Die einzelnen Techniken sind außerdem leicht aufzufinden. Jedes Kapitel behandelt ein spezielles Thema und inhaltlich zusammengehörige Tipps und Beispiele. Wenn du zum Beispiel Hilfe dabei benötigst, Text aus einer Datei zu extrahieren, kannst du einfach in das Kapitel zur Textmanipulation schauen. Hier sind ein paar Beispiele von dem, was du in Command Line Kung Fu lernen wirst: •Wie du einfach und schnell Befehle aus deiner Shell-Historie wiederholst •Wie du bestimmte Wörter aus deiner Shell-Historie herausholst, um sie in einem neuen Befehl wiederzuverwenden •Wie du eine Kopie deiner Kommandozeilensitzung speicherst •Wie du Leerzeilen und Kommentare aus Dateien entfernst •Texttransformation: von der Änderung der Groß- und Kleinschreibung bis zum Austau

Mastering Unix Shell Scripting

Bash, Bourne, and Korn Shell Scripting for Programmers, System Administrators, and UNIX Gurus
Author: Randal K. Michael
Publisher: John Wiley & Sons
ISBN: 1118080165
Category: Computers
Page: 1032
View: 2378

Continue Reading →

UNIX expert Randal K. Michael guides you through every detail of writing shell scripts to automate specific tasks. Each chapter begins with a typical, everyday UNIX challenge, then shows you how to take basic syntax and turn it into a shell scripting solution. Covering Bash, Bourne, and Korn shell scripting, this updated edition provides complete shell scripts plus detailed descriptions of each part. UNIX programmers and system administrators can tailor these to build tools that monitor for specific system events and situations, building solid UNIX shell scripting skills to solve real-world system administration problems.

Learn Linux Shell Scripting – Fundamentals of Bash 4.4

A comprehensive guide to automating administrative tasks with the Bash shell
Author: Sebastiaan Tammer
Publisher: Packt Publishing Ltd
ISBN: 1788990242
Category: Computers
Page: 452
View: 8878

Continue Reading →

Create and maintain powerful Bash scripts for automation and administration. Key Features Get up and running with Linux shell scripting using real-world examples Leverage command-line techniques and methodologies to automate common yet complex administration tasks A practical guide with exposure to scripting constructs and common scripting patterns Book Description Shell scripts allow us to program commands in chains and have the system execute them as a scripted event, just like batch files. This book will start with an overview of Linux and Bash shell scripting, and then quickly deep dive into helping you set up your local environment, before introducing you to tools that are used to write shell scripts. The next set of chapters will focus on helping you understand Linux under the hood and what Bash provides the user. Soon, you will have embarked on your journey along the command line. You will now begin writing actual scripts instead of commands, and will be introduced to practical applications for scripts. The final set of chapters will deep dive into the more advanced topics in shell scripting. These advanced topics will take you from simple scripts to reusable, valuable programs that exist in the real world. The final chapter will leave you with some handy tips and tricks and, as regards the most frequently used commands, a cheat sheet containing the most interesting flags and options will also be provided. After completing this book, you should feel confident about starting your own shell scripting projects, no matter how simple or complex the task previously seemed. We aim to teach you how to script and what to consider, to complement the clear-cut patterns that you can use in your daily scripting challenges. What you will learn Understand Linux and Bash basics as well as shell scripting fundamentals Learn to write simple shell scripts that interact with Linux operating system Build, maintain, and deploy scripts in a Linux environment Learn best practices for writing shell scripts Avoid common pitfalls associated with Bash scripting Gain experience and the right toolset to write your own complex shell scripts Who this book is for This book targets new and existing Linux system administrators, Windows system administrators or developers who are interested in automating administrative tasks. No prior shell scripting experience is needed but in case you do this book will make a pro quickly. Readers should have a basic understanding of the command line.

Shell Programming and Bash Scripting

Ultimate Beginners Guide Book
Author: Robert Collins
Publisher: Createspace Independent Publishing Platform
ISBN: 9781540637703
Category:
Page: 108
View: 3486

Continue Reading →

This book is an exploration of Shell programming, also referred to as Bash Scripting. It begins by guiding you on how to automate the various tasks in UNIX by using the Shell scripts. The book also guides you on the effective steps on how to write the Shell scripts. In UNIX, we should come up with an effective mechanism for management of file systems and software packages. This book guides you on the effective way to do this in Shell. You are also guided on how to use the various UNIX editors such as the Vim editor, nano, and GNOME. You will learn how to use the various shortcuts provided by these text editors, as well as how to navigate within your file opened in the text editor. Structured commands, which are very common in Shell, are discussed in detail. You will learn how to use such statements for decision-making as well as for looping through your program. You are also guided on how to manipulate your text, as well as how to use regular expressions. In some programs, it is good for you to implement a mechanism for accepting user input and then making a decision based on that input. This book clearly guides you on how to do this in Bash scripting. Command line arguments have also been explored in detail. The following topics are discussed in this book: - Automate Tasks with Simple Script Utilities - Creating Shell Scripts - Manage Filesystems and Software Packages - Work with nano, KDE, and GNOME editors - Structured Commands, Text Manipulation, and Regular Expressions - Keyboard Input - Command Line Arguments

Beginning Shell Scripting


Author: Eric Foster-Johnson,John C. Welch,Micah Anderson
Publisher: John Wiley & Sons
ISBN: 0764597914
Category: Computers
Page: 528
View: 8510

Continue Reading →

Covering all major platforms-Linux, Unix, Mac OS X, and Windows-this guide shows programmers and power users how to customize an operating system, automate commands, and simplify administration tasks using shell scripts Offers complete shell-scripting instructions, robust code examples, and full scripts for OS customization Covers shells as a user interface, basic scripting techniques, script editing and debugging, graphing data, and simplifying administrative tasks In addition to Unix and Linux scripting, the book covers the latest Windows scripting techniques and offers a complete tutorial on Mac OS X scripting, including detailed coverage of mobile file systems, legacy applications, Mac text editors, video captures, and the Mac OS X Open Scripting Architecture

BSD hacks


Author: Dru Lavigne
Publisher: O'Reilly Germany
ISBN: 9783897213999
Category:
Page: 475
View: 9254

Continue Reading →

Mastering Linux Shell Scripting


Author: Andrew Mallett
Publisher: Packt Publishing Ltd
ISBN: 1784397598
Category: Computers
Page: 198
View: 6209

Continue Reading →

Master the complexities of Bash shell scripting and unlock the power of shell for your enterprise About 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 guide Who This Book Is For Mastering 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 BASH In Detail Shell 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 approach The 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.

Einführung in Perl


Author: Randal L. Schwartz,Tom Phoenix,Brian D. Foy
Publisher: O'Reilly Germany
ISBN: 386899145X
Category: Electronic books
Page: 398
View: 475

Continue Reading →

Perl ist eine Skriptsprache zur einfachen Bearbeitung von Texten, Dateien und Prozessen. Ursprunglich ein beliebtes Werkzeug von Unix-Systemadministratoren fur die zahllosen alltaglichen Aufgaben hat sich Perl zu einer ausgewachsenen Programmiersprache fur nahezu jede Rechnerplattform entwickelt und wird fur Web- und Datenbank-Programmierung, XML-Verarbeitung, Systemadministration und vieles mehr eingesetzt. Das Schweizer Messer der Programmiersprachen Gleichzeitig ist Perl immer noch das Schweizer Messer fur die kleinen alltaglichen Aufgaben. Perl ist schnell, macht Spa und erweist sich als auerordentlich nutzlich. Viele haben Perl gelernt, weil sie mussten, und benutzen es weiter, weil sie es lieben. Fur Einsteiger Einfuhrung in Perl ist ein sorgfaltig abgestimmter Kurs fur Einsteiger von drei der erfahrensten Perl-Dozenten. Mit vielen Programmierbeispielen sowie Ubungen und ausgearbeiteten Losungen zu jedem Thema zeigen die Autoren Schritt fur Schritt, wie man mit Perl, Version 5.14, programmiert. Ideal fur Systemadministoren und Programmierer Einfuhrung in Perl ist das ideale Buch fur Systemadministratoren und Programmierer, die schon nach kurzer Zeit einsetzbare Perl-Skripten schreiben wollen.

Programmieren mit Perl


Author: Larry Wall,Tom Christiansen,Jon Orwant
Publisher: O'Reilly Verlag DE
ISBN: 9783897211445
Category: Perl (Computer program language)
Page: 1094
View: 3886

Continue Reading →

Programmieren mit Perl ist die Übersetzung der 2. Auflage von Programming Perl, der anerkannten Perl-Bibel. Perl selbst ist die erste von Larry Wall geschaffene Legende, dieses Buch (überall liebevoll nur das "Kamel-Buch" genannt) ist die zweite. Gemeinsam mit anderen Perl-Experten lüftet Wall die vielen neuen Geheimnisse der Version 5 von Perl, liefert dabei gleichzeitig aber auch neue Einsichten in die alten und erprobten Features. Perl ist zur ungekrönten Königin der Programmiersprachen herangewachsen und wird zunehmend als die nützlichste Sprache angesehen, wenn es darum geht, eine Vielzahl von Aufgaben über viele Plattformen hinweg und so portabel wie möglich zu erledigen. Nicht mehr zufrieden damit, nur die Unix-Umgebung zu dominieren, zog Perl aus, nun auch noch die Web- Programmierung zu beherrschen. Programmieren mit Perl enthält unter anderem: Eine ausführliche Einführung in die Sprache und ihre Syntax; eine vollständige Referenz aller Perl-Funktionen, Perl-Operationen und Standard-Bibliotheksmodule; eine Erläuterung der Perl-Referenzen und komplexen Datenstrukturen; eine detaillierte Darstellung der objektorientierten Eigenschaften von Perl; weiterführende Themen wie Effizienz, Debugging, Aufrufoptionen, Sicherheit von Programmen, Interprozesskommunikation, Autoloading und vieles mehr.

Oracle Shell Scripting

Linux and UNIX Programming for Oracle
Author: Jon Emmons
Publisher: Rampant Techpress
ISBN: N.A
Category: Computers
Page: 300
View: 9718

Continue Reading →

With the expert techniques discussed in this book, Oracle database administrators can automate routine tasks to save time and money and better monitor the flow of work. Using shell scripts—an indispensable tool on UIX and Linux—any number of commands can be combined and executed either simultaneously or sequentially. More than 50 working shell scripts for both beginners and experts give Oracle professionals a fantastic head-start on automating their administration duties and are easily modifiable for any environment. Topics include the history of shells and shell scripting, detailed step-by-step instructions on building shell scripts, how to tell when things are working right, and how to effectively monitor the system for failures.

Routineaufgaben mit Python automatisieren

Praktische Programmierlösungen für Einsteiger
Author: Al Sweigart
Publisher: dpunkt.verlag
ISBN: 3864919932
Category: Computers
Page: 576
View: 3431

Continue Reading →

Wenn Sie jemals Stunden damit verbracht haben, Dateien umzubenennen oder Hunderte von Tabelleneinträgen zu aktualisieren, dann wissen Sie, wie stumpfsinnig manche Tätigkeiten sein können. Wie wäre es, den Computer dazu zu bringen, diese Arbeiten zu übernehmen? In diesem Buch lernen Sie, wie Sie mit Python Aufgaben in Sekundenschnelle erledigen können, die sonst viel Zeit in Anspruch nehmen würden. Programmiererfahrung brauchen Sie dazu nicht: Wenn Sie einmal die Grundlagen gemeistert haben, werden Sie Python-Programme schreiben, die automatisch alle möglichen praktischen Aufgaben für Sie abarbeiten: • eine oder eine Vielzahl von Dateien nach Texten durchsuchen • Dateien und Ordner erzeugen, aktualisieren, verschieben und umbenennen • das Web durchsuchen und Inhalte herunterladen • Excel-Dateien aktualisieren und formatieren • PDF-Dateien teilen, zusammenfügen, mit Wasserzeichen versehen und verschlüsseln • Erinnerungsmails und Textnachrichten verschicken • Online-Formulare ausfüllen Schritt-für-Schritt-Anleitungen führen Sie durch jedes Programm und Übungsaufgaben am Ende jedes Kapitels fordern Sie dazu auf, die Programme zu verbessern und Ihre Fähigkeiten auf ähnliche Problemstellungen zu richten. Verschwenden Sie nicht Ihre Zeit mit Aufgaben, die auch ein gut dressierter Affe erledigen könnte. Bringen Sie Ihren Computer dazu, die langweilige Arbeit zu machen!

Linux Command Line and Shell Scripting Bible


Author: Richard Blum,Christine Bresnahan
Publisher: John Wiley & Sons
ISBN: 1118984196
Category: Computers
Page: 816
View: 2758

Continue Reading →

Talk directly to your system for a faster workflow withautomation capability Linux Command Line and Shell Scripting Bible is youressential Linux guide. With detailed instruction and abundantexamples, this book teaches you how to bypass the graphicalinterface and communicate directly with your computer, saving timeand expanding capability. This third edition incorporates thirtypages of new functional examples that are fully updated to alignwith the latest Linux features. Beginning with command linefundamentals, the book moves into shell scripting and shows you thepractical application of commands in automating frequentlyperformed functions. This guide includes useful tutorials, and adesk reference value of numerous examples. The Linux command line allows you to type specific shellcommands directly into the system to manipulate files and querysystem resources. Command line statements can be combined intoshort programs called shell scripts, a practice increasing inpopularity due to its usefulness in automation. This book is acomplete guide providing detailed instruction and expert adviceworking within this aspect of Linux. Write simple script utilities to automate tasks Understand the shell, and create shell scripts Produce database, e-mail, and web scripts Study scripting examples ranging from basic to advanced Whether used as a tutorial or as a quick reference, this bookcontains information that every Linux user should know. Why notlearn to use the system to its utmost capability? Linux is a robustsystem with tremendous potential, and Linux Command Line andShell Scripting Bible opens the door to new possibilities.

The Linux Command Line

A Complete Introduction
Author: William E. Jr. Shotts
Publisher: No Starch Press
ISBN: 1593274262
Category: Computers
Page: 480
View: 3414

Continue Reading →

You've experienced the shiny, point-and-click surface of your Linux computer—now dive below and explore its depths with the power of the command line. The Linux Command Line takes you from your very first terminal keystrokes to writing full programs in Bash, the most popular Linux shell. Along the way you'll learn the timeless skills handed down by generations of gray-bearded, mouse-shunning gurus: file navigation, environment configuration, command chaining, pattern matching with regular expressions, and more. In addition to that practical knowledge, author William Shotts reveals the philosophy behind these tools and the rich heritage that your desktop Linux machine has inherited from Unix supercomputers of yore. As you make your way through the book's short, easily-digestible chapters, you'll learn how to: –Create and delete files, directories, and symlinks –Administer your system, including networking, package installation, and process management –Use standard input and output, redirection, and pipelines –Edit files with Vi, the world’s most popular text editor –Write shell scripts to automate common or boring tasks –Slice and dice text files with cut, paste, grep, patch, and sed Once you overcome your initial "shell shock," you'll find that the command line is a natural and expressive way to communicate with your computer. Just don't be surprised if your mouse starts to gather dust.

Expert Shell Scripting


Author: Ron Peters
Publisher: Apress
ISBN: 1430218428
Category: Computers
Page: 320
View: 6091

Continue Reading →

System administrators need libraries of solutions that are ingenious but understandable. They don't want to reinvent the wheel, but they don't want to reinvent filesystem management either! Expert Shell Scripting is the ultimate resource for all working Linux, Unix, and OS X system administrators who would like to have short, succinct, and powerful shell implementations of tricky system scripting tasks. Automating small to medium system management tasks Analyzing system data and editing configuration files Scripting Linux, Unix, and OS X applications using bash, ksh, et al.