Wicked Cool Shell Scripts 2nd Edition

Author: Dave Taylor
Publisher: No Starch Press
ISBN: 9781593276027
Release Date: 2016-12-16
Genre: Computers

Shell scripts are an efficient way to interact with your machine and manage your files and system operations. With just a few lines of code, your computer will do exactly what you want it to do. But you can also use shell scripts for many other essential (and not-so-essential) tasks. This second edition of Wicked Cool Shell Scripts offers a collection of useful, customizable, and fun shell scripts for solving common problems and personalizing your computing environment. Each chapter contains ready-to-use scripts and explanations of how they work, why you’d want to use them, and suggestions for changing and expanding them. You’ll find a mix of classic favorites, like a disk backup utility that keeps your files safe when your system crashes, a password manager, a weather tracker, and several games, as well as 23 brand-new scripts, including: *A ZIP code lookup tool that reports the city and state *A Bitcoin address information retriever *A suite of tools for working with cloud services like Dropbox and iCloud *Tools for renaming and applying commands to files in bulk *Image processing and editing tools Whether you want to save time managing your system or just find new ways to goof off, these scripts are wicked cool!

Wicked Cool Shell Scripts

Author: Dave Taylor
Publisher: No Starch Press
ISBN: 9781593270124
Release Date: 2004
Genre: Computers

This useful book offers 101 fun shell scripts for solving common problems and personalizing the computing environment. Readers will find shell scripts to create an interactive calculator, a spell checker, a disk backup utility, a weather tracker, a web logfile analysis tool, a stock portfolio tracker, and much more. The cookbook style examples are all written in Bourne Shell (sh) syntax; the scripts will run on Linux, Mac OS X, and Unix.

Wicked Cool Shell Scripts 2nd Edition

Author: Dave Taylor
Publisher: No Starch Press
ISBN: 9781593277833
Release Date: 2016-10-15
Genre: Computers

Shell scripts are an efficient way to interact with your machine and manage your files and system operations. With just a few lines of code, your computer will do exactly what you want it to do. But you can also use shell scripts for many other essential (and not-so-essential) tasks. This second edition of Wicked Cool Shell Scripts offers a collection of useful, customizable, and fun shell scripts for solving common problems and personalizing your computing environment. Each chapter contains ready-to-use scripts and explanations of how they work, why you’d want to use them, and suggestions for changing and expanding them. You'll find a mix of classic favorites, like a disk backup utility that keeps your files safe when your system crashes, a password manager, a weather tracker, and several games, as well as 23 brand-new scripts, including: – ZIP code lookup tool that reports the city and state – Bitcoin address information retriever – suite of tools for working with cloud services like Dropbox and iCloud – for renaming and applying commands to files in bulk – processing and editing tools Whether you want to save time managing your system or just find new ways to goof off, these scripts are wicked cool!

Shell Scripting

Author: Steve Parker
Publisher: John Wiley & Sons
ISBN: 9781118166321
Release Date: 2011-08-17
Genre: Computers

A compendium of shell scripting recipes that can immediately be used, adjusted, and applied The shell is the primary way of communicating with the Unix and Linux systems, providing a direct way to program by automating simple-to-intermediate tasks. With this book, Linux expert Steve Parker shares a collection of shell scripting recipes that can be used as is or easily modified for a variety of environments or situations. The book covers shell programming, with a focus on Linux and the Bash shell; it provides credible, real-world relevance, as well as providing the flexible tools to get started immediately. Shares a collection of helpful shell scripting recipes that can immediately be used for various of real-world challenges Features recipes for system tools, shell features, and systems administration Provides a host of plug and play recipes for to immediately apply and easily modify so the wheel doesn't have to be reinvented with each challenge faced Come out of your shell and dive into this collection of tried and tested shell scripting recipes that you can start using right away!

How Linux Works 2nd Edition

Author: Brian Ward
Publisher: No Starch Press
ISBN: 9781593275679
Release Date: 2014-11-14
Genre: Computers

Unlike some operating systems, Linux doesn’t try to hide the important bits from you—it gives you full control of your computer. But to truly master Linux, you need to understand its internals, like how the system boots, how networking works, and what the kernel actually does. In this completely revised second edition of the perennial best seller How Linux Works, author Brian Ward makes the concepts behind Linux internals accessible to anyone curious about the inner workings of the operating system. Inside, you’ll find the kind of knowledge that normally comes from years of experience doing things the hard way. You’ll learn: * How Linux boots, from boot loaders to init implementations (systemd, Upstart, and System V) * How the kernel manages devices, device drivers, and processes * How networking, interfaces, firewalls, and servers work * How development tools work and relate to shared libraries * How to write effective shell scripts You’ll also explore the kernel and examine key system tasks inside user space, including system calls, input and output, and filesystems. With its combination of background, theory, real-world examples, and patient explanations, How Linux Works will teach you what you need to know to solve pesky problems and take control of your operating system.

Perl One Liners

Author: Peteris Krumins
Publisher: No Starch Press
ISBN: 9781593275204
Release Date: 2013-11-13
Genre: COMPUTERS

Part of the fun of programming in Perl lies in tackling tedious tasks with short, efficient, and reusable code. Often, the perfect tool is the one-liner, a small but powerful program that fits in one line of code and does one thing really well. In Perl One-Liners, author and impatient hacker Peteris Krumins takes you through more than 100 compelling one-liners that do all sorts of handy things, such as manipulate line spacing, tally column values in a table, and get a list of users on a system. This cookbook of useful, customizable, and fun scripts will even help hone your Perl coding skills, as Krumins dissects the code to give you a deeper understanding of the language. You'll find one-liners that: * Encode, decode, and convert strings * Generate random passwords * Calculate sums, factorials, and the mathematical constants π and e * Add or remove spaces * Number lines in a file * Print lines that match a specific pattern * Check to see if a number is prime with a regular expression * Convert IP address to decimal form * Replace one string with another And many more! Save time and sharpen your coding skills as you learn to conquer those pesky tasks in a few precisely placed keystrokes with Perl One-Liners.

The Linux Command Line

Author: William E. Shotts, Jr.
Publisher: No Starch Press
ISBN: 9781593273897
Release Date: 2012
Genre: COMPUTERS

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. A featured resource in the Linux Foundation's "Evolution of a SysAdmin"

Linux Shell Scripting with Bash

Author: Ken O. Burtch
Publisher: Sams Publishing
ISBN: 9780672326424
Release Date: 2004-01-01
Genre: Computers

The only book available that covers the powerful Bash shell and associated tools that are essential to any Linux programming professional.

Mastering Linux Shell Scripting

Author: Andrew Mallett
Publisher: Packt Publishing Ltd
ISBN: 9781784397593
Release Date: 2015-12-24
Genre: Computers

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.

Pro Linux System Administration

Author: Dennis Matotek
Publisher: Apress
ISBN: 9781484220085
Release Date: 2017-03-14
Genre: Computers

Implement a SOHO or SMB Linux infrastructure to expand your business and associated IT capabilities. Backed by the expertise and experienced guidance of the authors, this book provides everything you need to move your business forward. Pro Linux System Administration makes it easy for small- to medium–sized businesses to enter the world of zero–cost software running on Linux and covers all the distros you might want to use, including Red Hat, Ubuntu, Debian, and CentOS. Pro Linux System Administration takes a layered, component–based approach to open source business systems, while training system administrators as the builders of business infrastructure. Completely updated for this second edition, Dennis Matotek takes you through an infrastructure-as-code approach, seamlessly taking you through steps along the journey of Linux administration with all you need to master complex systems. This edition now includes Jenkins, Ansible, Logstash and more. What You'll Learn: Understand Linux architecture Build, back up, and recover Linux servers Create basic networks and network services with Linux Build and implement Linux infrastructure and services including mail, web, databases, and file and print Implement Linux security Resolve Linux performance and capacity planning issues Who This Book Is For: Small to medium–sized business owners looking to run their own IT, system administrators considering migrating to Linux, and IT systems integrators looking for an extensible Linux infrastructure management approach.

Linux Command Line and Shell Scripting Bible

Author: Richard Blum
Publisher: John Wiley & Sons
ISBN: 9781118984192
Release Date: 2015-01-06
Genre: Computers

Talk directly to your system for a faster workflow with automation capability Linux Command Line and Shell Scripting Bible is your essential Linux guide. With detailed instruction and abundant examples, this book teaches you how to bypass the graphical interface and communicate directly with your computer, saving time and expanding capability. This third edition incorporates thirty pages of new functional examples that are fully updated to align with the latest Linux features. Beginning with command line fundamentals, the book moves into shell scripting and shows you the practical application of commands in automating frequently performed functions. This guide includes useful tutorials, and a desk reference value of numerous examples. The Linux command line allows you to type specific shell commands directly into the system to manipulate files and query system resources. Command line statements can be combined into short programs called shell scripts, a practice increasing in popularity due to its usefulness in automation. This book is a complete guide providing detailed instruction and expert advice working 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 book contains information that every Linux user should know. Why not learn to use the system to its utmost capability? Linux is a robust system with tremendous potential, and Linux Command Line and Shell Scripting Bible opens the door to new possibilities.

Python Playground

Author: Mahesh Venkitachalam
Publisher: No Starch Press
ISBN: 9781593276041
Release Date: 2015-10-01
Genre: Computers

Python is a powerful programming language that’s easy to learn and fun to play with. But once you’ve gotten a handle on the basics, what do you do next? Python Playground is a collection of imaginative programming projects that will inspire you to use Python to make art and music, build simulations of real-world phenomena, and interact with hardware like the Arduino and Raspberry Pi. You’ll learn to use common Python tools and libraries like numpy, matplotlib, and pygame to do things like: *Generate Spirograph-like patterns using parametric equations and the turtle module *Create music on your computer by simulating frequency overtones *Translate graphical images into ASCII art *Write an autostereogram program that produces 3D images hidden beneath random patterns *Make realistic animations with OpenGL shaders by exploring particle systems, transparency, and billboarding techniques *Construct 3D visualizations using data from CT and MRI scans *Build a laser show that responds to music by hooking up your computer to an Arduino Programming shouldn’t be a chore. Have some solid, geeky fun with Python Playground. The projects in this book are compatible with both Python 2 and 3.

Wicked Cool Java

Author: Brian D. Eubanks
Publisher: No Starch Press
ISBN: 9781593270612
Release Date: 2005
Genre: COMPUTERS

Containing 101 fun, interesting, and useful ways to get more out of Java, this title targets developers and system architects who have some basic Java knowledge but may not be familiar with the wide range of libraries available.

Thug Kitchen 101

Author: Thug Kitchen
Publisher: Hachette UK
ISBN: 9780751562316
Release Date: 2016-10-06
Genre: Cooking

The creators of the New York Times bestselling cookbook series Thug Kitchen are back to deliver you the sorta gentle, but always hilarious shove you need to take the leap into healthy eating. Thug Kitchen 101 includes more than 100 easy and accessible recipes to give you a solid start toward a better diet. TK holds your hand and explains ingredients from chickpeas to nooch so you'll feel confident knowing exactly what the f*ck you're cooking. This kickass kitchen primer also serves up health benefits and nutrition to remind everyone, from clueless newbies to health nuts, how a plant-based lifestyle benefits our bodies, minds, environment and wallets. THAT'S RIGHT. EAT GREEN, SAVE GREEN. So scared of commitment you can't even dedicate some time to cook? Thug Kitchen's here to fix that sh*t: All recipes in TK 101 are guaranteed to be faster than delivery, so you can whip up some tasty meals with simple ingredients regardless of when you stumble home from work. You're too damn important to be eating garbage, so TK has made it easy to take care of #1: you. No needless nonsense or preachy bullsh*t. Just delicious, healthy, homemade food for all the full-time hustlers out there.

Gray Hat C

Author: Brandon Perry
Publisher: No Starch Press
ISBN: 9781593277598
Release Date: 2017-06-28
Genre: Computers

Learn to use C#’s powerful set of core ­libraries to automate tedious yet important tasks like fuzzing, performing vulnerability scans, and analyzing malware. With some help from Mono, you’ll write your own practical security tools that will run on Windows, OS X, Linux, and even mobile devices. After a crash course in C# and some of its advanced features, you’ll learn how to: *Generate shellcode in Metasploit to create cross-platform and cross-architecture payloads *Automate Nessus, OpenVAS, and sqlmap to scan for vulnerabilities and exploit SQL injections *Write a .NET decompiler for OS X and Linux *Parse and read offline registry hives to dump system information *Automate the security tools Arachni and Metasploit using their MSGPACK RPCs Streamline and simplify your workday by making the most of C#’s extensive repertoire of powerful tools and libraries with Gray Hat C#.