Bash Command Line and Shell Scripts: Pocket Primer

  • 3h 39m
  • Oswald Campesato
  • Mercury Learning
  • 2020

As part of the best-selling Pocket Primer series, this book is designed to introduce readers to an assortment of useful command-line utilities that can be combined to create simple, yet powerful shell scripts. While all examples and scripts use the “bash” command set, many of the concepts translate into other command shells (such as sh, ksh, zsh, and csh), including the concept of piping data between commands and the highly versatile sed and awk commands. Aimed at a reader relatively new to working in a bash environment, the book is comprehensive enough to be a good reference and teach a few new techniques to those who already have some experience with creating shell scripts. It contains a variety of code fragments and shell scripts for data scientists, data analysts, and other people who want shell-based solutions to “clean” various types of text files. In addition, the concepts and code samples in this book are useful for people who want to simplify routine tasks. Includes companion files with all of the source code examples (download from the publisher by writing to info@merclearning.com).

Features

  • Takes introductory concepts and commands in bash, and then demonstrates their uses in simple, yet powerful shell scripts
  • Contains an assortment of shell scripts for data scientists, data analysts, and other people who want shell-based solutions to “clean” various types of text files
  • Includes companion files with all of the source code examples (download from the publisher by writing to info@merclearning.com)

About the Author

Oswald Campesato (San Francisco, CA) is an instructor at UCSC who teaches AI classes in Machine Learning, Deep Learning, NLP, Deep Reinforcement Learning, and TensorFlow2/Keras. He is the sole author of more than twenty-five books including TensorFlow 2 Pocket Primer, Python 3 for Machine Learning, and the Python Pocket Primer (Mercury Learning).

In this Book

  • Introduction
  • Files and Directories
  • Useful Commands
  • Conditional Logic and Loops
  • Filtering Data with GREP
  • Transforming Data with SED
  • Working with AWK
  • Intro to Shell Scripts
  • Shell Scripts with GREP and AWK Command
  • Miscellaneous Shell Scripts

YOU MIGHT ALSO LIKE