Wicked Cool Shell Scripts, 2nd Edition

101 Scripts for Linux, OS X, and UNIX Systems

Author: Dave Taylor,Brandon Perry

Publisher: No Starch Press

ISBN: 1593277830

Category: Computers

Page: 392

View: 6323

DOWNLOAD NOW »

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!
Release

Wicked Cool Shell Scripts

101 Scripts for Linux, Mac OS X, and Unix Systems

Author: Dave Taylor

Publisher: No Starch Press

ISBN: 1593270127

Category: Computers

Page: 368

View: 8589

DOWNLOAD NOW »

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.
Release

How Linux Works

What Every Superuser Should Know

Author: Brian Ward

Publisher: No Starch Press

ISBN: 1593270887

Category: Computers

Page: 368

View: 2572

DOWNLOAD NOW »

Whether you're a systems administrator or a home user, you need to understand how Linux internals work before you can really master Linux — how it boots, how networking works, how to customize the kernel, and even what hardware to buy. How Linux Works contains the kind of information normally handed down from wizards—knowledge that comes from years of experience doing things the hard way. But instead of seeking the right incantation to make your system work, you can read How Linux Works to see how to administer Linux and why each particular technique works. This book covers such need-to-know topics as: –How Linux boots, with coverage of boot loaders and init –How networking, interfaces, firewalls, and servers work –How development tools and shared libraries work –How the kernel manages devices, device drivers, and processes, and how to build a custom kernel –How the Linux printing system works, with sections on cups, filters, and Ghostscript –How shell scripts work With its combination of background theory and real-world examples, How Linux Works will show you how to run your system instead of having your system run you.
Release

Perl One-Liners

130 Programs That Get Things Done

Author: Peteris Krumins

Publisher: No Starch Press

ISBN: 159327520X

Category: Computers

Page: 168

View: 4367

DOWNLOAD NOW »

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.
Release