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.
Publisher resources
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
Python Crash Course, 2nd Edition
This is the second edition of the best selling Python book in the world. Python Crash …
book
Python Crash Course, 3rd Edition
Python Crash Course is the world's best-selling guide to the Python guide programming language, with over …
book
PowerShell for Sysadmins
PowerShell® is both a scripting language and an administrative shell that lets you control and automate …
book
Go H*ck Yourself
Go H*ck Yourself is an eye-opening, hands-on introduction to the world of hacking, from an award-winning …