Bash Command Line Pro Tips
By Jason Cannon
4.5/5
()
About this ebook
As someone that has used the Bash shell almost daily for over 15 years, I've accumulated several command line "tricks" that have saved me time and frustration. Bash Command Line Pro Tips is a collection of techniques that you can put to use right away to increase your efficiency at the command line.
Here is what you will learn by reading Bash Command Line Pro Tips:
* How to use tab completion
* How to quickly change to the previous directory
* Ways to reuse the last item from the previous command line
* How to rerun a command that starts with a given string
* What command substitution is and how to put it to good use
* How to use a for loop right from the command line
* How to rerun the previous command with Superuser privileges
* Rerun the previous command while substituting a string
* How to recall a word on the same command line
* How to fix typos and shorten lengthy commands with aliases
Jason Cannon
Jason Cannon is an award-winning actor, director, improviser, playwright, teacher, and author. He has an MFA in Directing, a Master's in Drama, and a quarter-century in the professional theatre. As an actor, Jason has portrayed everything from a rapping dinosaur to a robot and from a hitman to Hamlet. He has written plays about J. R. R. Tolkien and Aesop, directed plays about hiccuping dragons and foul-mouthed puppets, and once while improvising he was attacked by a stage light. He lives in Florida just a holler from the Gulf with his partner Rebecca and their two silly pups, Gaia and Odin. He makes a killer key lime pie and runs lots of 10Ks and half-marathons. Jason believes storytelling in all its forms-whether seen on the stage or read on a page-has the power not only to entertain but also to comfort, provoke, and inspire us to be better humans. Jason is also available as a workshop leader, story coach, editor, teacher, speaker, emcee, and even wedding officiant. Learn more about Jason at jason-cannon.com and check out his other books at ibis-books.com
Related to Bash Command Line Pro Tips
Related ebooks
Linux Commands By Example Rating: 5 out of 5 stars5/5Learning Linux Shell Scripting Rating: 4 out of 5 stars4/5Let's Use BASH on Windows 10! Rating: 0 out of 5 stars0 ratingsLinux Command-Line Tips & Tricks Rating: 0 out of 5 stars0 ratingsUNIX Shell Scripting Interview Questions, Answers, and Explanations: UNIX Shell Certification Review Rating: 5 out of 5 stars5/5Windows Command Prompt Rating: 0 out of 5 stars0 ratingsLinux Shell Scripting Essentials Rating: 1 out of 5 stars1/5Working with Linux – Quick Hacks for the Command Line Rating: 5 out of 5 stars5/5Arch Linux: Fast and Light! Rating: 3 out of 5 stars3/520 Windows Tools Every SysAdmin Should Know Rating: 5 out of 5 stars5/5An Ultimate Guide to Kali Linux for Beginners Rating: 3 out of 5 stars3/5The Complete Powershell Training for Beginners Rating: 0 out of 5 stars0 ratingsVim: The Basics Rating: 1 out of 5 stars1/5TCP/IP for Everyone Rating: 4 out of 5 stars4/5Bash for Fun: Bash Programming: Principles and Examples Rating: 0 out of 5 stars0 ratingsMastering Shell Commands On Linux Rating: 0 out of 5 stars0 ratingsLPIC-1 Primer Rating: 4 out of 5 stars4/5Linux - a Secure Personal Computer for Beginners Rating: 0 out of 5 stars0 ratingsThe Mac Terminal Reference and Scripting Primer Rating: 4 out of 5 stars4/5Learn Docker - .NET Core, Java, Node.JS, PHP or Python: Learn Collection Rating: 5 out of 5 stars5/5Linux Services Deployment Rating: 0 out of 5 stars0 ratingsWindows Security Basics: User Accounts Rating: 0 out of 5 stars0 ratingsAnsible For Linux by Examples Rating: 0 out of 5 stars0 ratingsThe Linux Command Line Beginner's Guide Rating: 4 out of 5 stars4/5Mastering Bash Rating: 5 out of 5 stars5/5Going Text: Mastering the Command Line Rating: 4 out of 5 stars4/5Simply Linux: Basics Rating: 5 out of 5 stars5/5Mastering Linux Shell Scripting Rating: 4 out of 5 stars4/5
System Administration For You
Learn PowerShell in a Month of Lunches, Fourth Edition: Covers Windows, Linux, and macOS Rating: 0 out of 5 stars0 ratingsLinux for Beginners: Linux Command Line, Linux Programming and Linux Operating System Rating: 4 out of 5 stars4/5CompTIA A+ Complete Review Guide: Core 1 Exam 220-1101 and Core 2 Exam 220-1102 Rating: 5 out of 5 stars5/5Cybersecurity: The Beginner's Guide: A comprehensive guide to getting started in cybersecurity Rating: 5 out of 5 stars5/5The Complete Powershell Training for Beginners Rating: 0 out of 5 stars0 ratingsPractical Data Analysis Rating: 4 out of 5 stars4/5Linux: Learn in 24 Hours Rating: 5 out of 5 stars5/5Networking for System Administrators: IT Mastery, #5 Rating: 5 out of 5 stars5/5Learn Windows PowerShell in a Month of Lunches Rating: 0 out of 5 stars0 ratingsBuilding a Plex Server with Raspberry Pi Rating: 0 out of 5 stars0 ratingsPowerShell: A Comprehensive Guide to Windows PowerShell Rating: 4 out of 5 stars4/5Git Essentials Rating: 4 out of 5 stars4/5Mastering Windows PowerShell Scripting Rating: 4 out of 5 stars4/5Learn Git in a Month of Lunches Rating: 0 out of 5 stars0 ratingsImprove your skills with Google Sheets: Professional training Rating: 0 out of 5 stars0 ratingsLinux Bible Rating: 0 out of 5 stars0 ratingsWordpress 2023 A Beginners Guide : Design Your Own Website With WordPress 2023 Rating: 0 out of 5 stars0 ratingsLearn PowerShell Scripting in a Month of Lunches Rating: 0 out of 5 stars0 ratingsWork with the Command-line: To Manage Files and Directories in Ubuntu Rating: 5 out of 5 stars5/5e-Discovery For Dummies Rating: 0 out of 5 stars0 ratingsMastering Linux Shell Scripting Rating: 4 out of 5 stars4/5USB Mass Storage: Designing and Programming Devices and Embedded Hosts Rating: 0 out of 5 stars0 ratingsLearn SQL Server Administration in a Month of Lunches Rating: 0 out of 5 stars0 ratingsMastering ServiceNow - Second Edition Rating: 3 out of 5 stars3/5ServiceNow IT Operations Management Rating: 5 out of 5 stars5/5
Related categories
Reviews for Bash Command Line Pro Tips
8 ratings0 reviews
Book preview
Bash Command Line Pro Tips - Jason Cannon
Bash Command Line Pro Tips
By Jason Cannon
Copyright 2014 Jason Cannon
Smashwords Edition
Table of Contents
About the Author
Introduction
Tip 1: Tab Completion
Tip 2: Change to the Previous Directory
Tip 3: Reuse the Last Item from the Previous Command Line
Tip 4: Rerun a Command That Starts with a given String
Tip 5: Command Substitution
Tip 6: Use a for Loop at the Command Line
Tip 7: Rerun the Previous Command with Root Privileges
Tip 8: Rerun the Previous Command While Substituting a String
Tip 9: Reuse a Word on the Same Command Line
Tip 10: Fix Typos and Shorten Lengthy Commands with Aliases
Conclusion
Additional Resources Including Exclusive Discounts
About the Author
Jason Cannon started his career as a Unix and Linux System Engineer in 1999. Since that time he has utilized his Linux skills at companies such as Xerox, UPS, Hewlett-Packard, and Amazon.com. Additionally, he has acted as a technical consultant and independent contractor for small to