Build real-world, production-ready solutions in Go using cutting-edge technology and techniques
ABOUT THIS BOOK * Get up to date with Go and write code capable of delivering massive world-class scale performance and availability * Learn to apply the nuances of the Go language, and get to know the open source community that surrounds it to implement a wide range of start-up quality projects * more » Write interesting and clever but simple code, and learn skills and techniques that are directly transferrable to your own projects WHO THIS BOOK IS FOR If you are familiar with Go and are want to put your knowledge to work, then this is the book for you. Go programming knowledge is a must. WHAT YOU WILL LEARN * Build quirky and fun projects from scratch while exploring patterns, practices, and techniques, as well as a range of different technologies * Create websites and data services capable of massive scale using Go's net/http package, exploring RESTful patterns as well as low-latency WebSocket APIs * Interact with a variety of remote web services to consume capabilities ranging from authentication and authorization to a fully functioning thesaurus * Develop high-quality command-line tools that utilize the powerful shell capabilities and perform well using Go's in-built concurrency mechanisms * Build microservices for larger organizations using the Go Kit library * Implement a modern document database as well as high-throughput messaging queue technology to put together an architecture that is truly ready to scale * Write concurrent programs and gracefully manage the execution of them and communication by smartly using channels * Get a feel for app deployment using Docker and Google App Engine IN DETAIL Go is the language of the Internet age, and the latest version of Go comes with major architectural changes. Implementation of the language, runtime, and libraries has changed significantly. The compiler and runtime are now written entirely in Go. The garbage collector is now concurrent and provides dramatically lower pause times by running in parallel with other Go routines when possible. This book will show you how to leverage all the latest features and much more. This book shows you how to build powerful systems and drops you into real-world situations. You will learn to develop high-quality command-line tools that utilize the powerful shell capabilities and perform well using Go's in-built concurrency mechanisms. Scale, performance, and high availability lie at the heart of our projects, and the lessons learned throughout this book will arm you with everything you need to build world-class solutions. You will get a feel for app deployment using Docker and Google App Engine. Each project could form the basis of a start-up, which means they are directly applicable to modern software markets. STYLE AND APPROACH This book provides fun projects that involve building applications from scratch. These projects will teach you to build chat applications, a distributed system, and a recommendation system. « less
Shell Programming in Unix, Linux and OS X is a thoroughly updated revision of Kochan and Wood’s classic Unix Shell Programming tutorial. Following the methodology of the original text, the book focuses on the POSIX standard shell, and teaches you how to develop programs in this useful programming environment, more » taking full advantage of the underlying power of Unix and Unix-like operating systems. After a quick review of Unix utilities, the book’s authors take you step-by-step through the process of building shell scripts, debugging them, and understanding how they work within the shell’s environment. All major features of the shell are covered, and the large number of practical examples make it easy for you to build shell scripts for your particular applications. The book also describes the major features of the Korn and Bash shells. Learn how to… * Take advantage of the many utilities provided in the Unix system * Write powerful shell scripts * Use the shell’s built-in decision-making and looping constructs * Use the shell’s powerful quoting mechanisms * Make the most of the shell’s built-in history and command editing capabilities * Use regular expressions with Unix commands * Take advantage of the special features of the Korn and Bash shells * Identify the major differences between versions of the shell language * Customize the way your Unix system responds to you * Set up your shell environment * Make use of functions * Debug scripts Contents at a Glance 1 A Quick Review of the Basics 2 What Is the Shell? 3 Tools of the Trade 4 And Away We Go 5 Can I Quote You on That? 6 Passing Arguments 7 Decisions, Decisions 8 ‘Round and ‘Round She Goes 9 Reading and Printing Data 10 Your Environment 11 More on Parameters 12 Loose Ends 13 Rolo Revisited 14 Interactive and Nonstandard Shell Features A Shell Summary B For More Information « less
101 Scripts for Linux, OS X, and UNIX Systems
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 more » 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! « less
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 more » 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. « less
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 more » 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! « less
For use with all versions of Linux, including Ubuntu,™ Fedora,™ openSUSE,™ Red Hat,® Debian, Mandriva, Mint, and now OS X, too! * Get more done faster, and become a true Linux guru by mastering the command line! * Learn from hundreds of realistic, high-quality examples * NEW! Coverage of the Mac more » OS X command line and its unique tools * NEW! Expert primer on automating tasks with Perl The Most Useful Linux Tutorial and Reference, with Hundreds of High-Quality Examples for Every Distribution–Now Covers OS X and Perl, Too! To be truly productive with Linux, you need to thoroughly master shells and the command line. Until now, you had to buy two books to gain that mastery: a tutorial on fundamental Linux concepts and techniques, plus a separate reference. Now, there’s a far better solution. Renowned Linux expert Mark Sobell has brought together comprehensive, insightful guidance on the tools system administrators, developers, and power users need most, and an outstanding day-to-day reference, both in the same book. This book is 100 percent distribution and release agnostic: You can use it with any Linux system, now and for years to come. Use Macs, too? This new edition adds comprehensive coverage of the Mac OS X command line, including essential OS X-only tools and utilities other Linux/UNIX books ignore. Packed with hundreds of high-quality, realistic examples, this book gives you Linux from the ground up: the clearest explanations and most useful knowledge about everything from filesystems to shells, editors to utilities, and programming tools to regular expressions. Sobell has also added an outstanding new primer on Perl, the most important programming tool for Linux admins seeking to automate complex, time-consuming tasks. A Practical Guide to Linux® Commands, Editors, and Shell Programming, Second Edition, is the only book to deliver * Better, more realistic examples covering tasks you’ll actually need to perform * Deeper insight, based on Sobell’s immense knowledge of every Linux and OS X nook and cranny * A start-to-finish primer on Perl for every system administrator * In-depth coverage of basic and advanced Linux shell programming with bash and tcsh * Practical explanations of 100 core utilities, from aspell to xargs–including Mac OS X specific utilities from ditto to SetFile * All-new coverage of automating remote backups with rsync * Dozens of system security tips, including step-by-step walkthroughs of implementing secure communications using ssh and scp * Tips and tricks for customizing the shell and using it interactively from the command line * Complete guides to high-productivity editing with both vim and emacs * A comprehensive, 286-page command reference section–now with revised and expanded indexes for faster access to the information you need * Instructions for updating systems automatically with apt-getand yum * Dozens of exercises to help you practice and gain confidence * And much more, including coverage of BitTorrent, gawk, sed, find, sort, bzip2, and regular expressions « less
Scripting the GNU/Linux Shell. Covering Bash 4.0.
The bash shell is a complete programming language, not merely a glue to combine external Linux commands. By taking full advantage of shell internals, shell programs can perform as snappily as utilities written in C or other compiled languages. And you will see how, without assuming Unix lore, you can more » write professional bash 4.0 programs through standard programming techniques. « less
Automate Your Unix Tasks
Shell scripting skills never go out of style. It's the shell that unlocks the real potential of Unix. Shell scripting is essential for Unix users and system administrators-a way to quickly harness and customize the full power of any Unix system. With shell scripts, you can combine the fundamental more » Unix text and file processing commands to crunch data and automate repetitive tasks. But beneath this simple promise lies a treacherous ocean of variations in Unix commands and standards. Classic Shell Scripting is written to help you reliably navigate these tricky waters. Writing shell scripts requires more than just a knowledge of the shell language, it also requires familiarity with the individual Unix programs: why each one is there, how to use them by themselves, and in combination with the other programs. The authors are intimately familiar with the tips and tricks that can be used to create excellent scripts, as well as the traps that can make your best effort a bad shell script. With Classic Shell Scripting you'll avoid hours of wasted effort. You'll learn not only write useful shell scripts, but how to do it properly and portably. The ability to program and customize the shell quickly, reliably, and portably to get the best out of any individual system is an important skill for anyone operating and maintaining Unix or Linux systems. Classic Shell Scripting gives you everything you need to master these essential skills. « less
Conquering the Command Line
Some areas are covered in other books, but this one goes into some little-seen side streets and alleyways to show you the shortcuts to more efficient use of the shell. ...The material here is invaluable: you're not going to get it from the manual pages! I strongly recommend it. - Ernest J. This is a more » totally neat idea for a book... the command line gets addictive quickly. - Bill Ryan, Bill's House O Insomnia This comprehensive, hands-on guide focuses on two of the most popular and feature-rich shells, bash and zsh. From Bash to Z Shell: Conquering the Command Line is a book for all skill levels. Novices will receive an introduction to the features of shells and power users will get to explore the benefits of zsh--one of the most powerful, versatile shells ever written. Intermediate users will uncover hints, recipes, and ideas to enhance their skill sets. The book covers shell programming, but is unique in its thorough coverage of using shells interactively--a powerful and time-saving alternative to windows and a mouse. This strong author team has written an immediately useful book, packed with examples and suggestions that users of Unix, Linux, Mac OS X and Microsoft Windows can readily apply. « less
The only book available that covers the powerful Bash shell and associated tools that are essential to any Linux programming professional.