Book description
Master shell basics and Unix tools and discover easy commands to perform complex tasks with speed
Key Features
- Learn why the Bash shell is widely used on Linux and iOS
- Explore advanced shell concepts, such as pipes and redirection
- Understand how to use Unix command-line tools as building blocks for different tasks
Book Description
The most basic interface to a computer - the command line - remains the most flexible and powerful way of processing data and performing and automating various day-to-day tasks.
Command Line Fundamentals begins by exploring the basics, and then focuses on the most common tool, the Bash shell (which is standard on all Linux and iOS systems). As you make your way through the book, you'll explore the traditional Unix command-line programs as implemented by the GNU project. You'll also learn to use redirection and pipelines to assemble these programs to solve complex problems.
By the end of this book, you'll have explored the basics of shell scripting, allowing you to easily and quickly automate tasks.
What you will learn
- Use the Bash shell to run commands
- Utilize basic Unix utilities such as cat, tr, sort, and uniq
- Explore shell wildcards to manage groups of files
- Apply useful keyboard shortcuts in shell
- Employ redirection and pipes to process data
- Write both basic and advanced shell scripts to automate tasks
Who this book is for
Command Line Fundamentals is for programmers who use GUIs but want to understand how to use the command line to complete tasks faster.
Table of contents
- Preface
-
Introduction to the Command Line
- Introduction
- Command Line: History, Shells, and Terminology
- Exploring the Filesystem
-
Shell History Recall, Editing, and Autocompletion
- Command History Recall
- Exercise 3: Exploring Shell History
- Command-Line Shortcuts
- Exercise 4: Using Shell Keyboard Shortcuts
- Command-Line Autocompletion
- Exercise 5: Completing a Folder Path
- Exercise 6: Completing a Command
- Exercise 7: Completing a Command using Options
- Activity 3: Command-Line Editing
- Shell Wildcards and Globbing
- Summary
- Command-Line Building Blocks
- Advanced Command-Line Concepts
- Shell Scripting
- Appendix
Product information
- Title: Command Line Fundamentals
- Author(s):
- Release date: December 2018
- Publisher(s): Packt Publishing
- ISBN: 9781789807769
You might also like
book
Basic Linux Terminal Tips and Tricks: Learn to Work Quickly on the Command Line
Learn command line tricks, programs, and hacks you can use day to day as a Linux …
book
Tweak Your Mac Terminal: Command Line macOS
Look beyond the basics of Mac programming and development to become a Mac power user. When …
book
Linux Command Line and Shell Scripting Techniques
Practical and actionable recipes for using shell and command-line scripting on your Linux OS with confidence …
book
CCNP Security FIREWALL 642-618 Official Cert Guide
Trust the best selling Official Cert Guide series from Cisco Press to help you learn, prepare, …