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/5Linux Command-Line Tips & Tricks Rating: 0 out of 5 stars0 ratingsLet's Use BASH on Windows 10! Rating: 0 out of 5 stars0 ratingsLearning Linux Shell Scripting Rating: 4 out of 5 stars4/5Linux Bible Rating: 0 out of 5 stars0 ratingsWindows Command Prompt Rating: 0 out of 5 stars0 ratingsThe Windows Command Line Beginner's Guide: Second Edition Rating: 4 out of 5 stars4/520 Windows Tools Every SysAdmin Should Know Rating: 5 out of 5 stars5/5Windows Command Prompt A-N Rating: 5 out of 5 stars5/5Linux Command Line and Shell Scripting Bible Rating: 3 out of 5 stars3/5Bash for Fun: Bash Programming: Principles and Examples Rating: 0 out of 5 stars0 ratingsThe Mac Terminal Reference and Scripting Primer Rating: 4 out of 5 stars4/5An Ultimate Guide to Kali Linux for Beginners Rating: 3 out of 5 stars3/5UNIX Shell Scripting Interview Questions, Answers, and Explanations: UNIX Shell Certification Review Rating: 5 out of 5 stars5/5TCP/IP for Everyone Rating: 4 out of 5 stars4/5The Complete Powershell Training for Beginners Rating: 0 out of 5 stars0 ratingsVim: The Basics Rating: 1 out of 5 stars1/5Debian GNU/Linux : Guide to Installation and Usage Rating: 0 out of 5 stars0 ratingsMastering Shell Commands On Linux Rating: 0 out of 5 stars0 ratingsLinux - a Secure Personal Computer for Beginners Rating: 0 out of 5 stars0 ratingsLinux Services Deployment Rating: 0 out of 5 stars0 ratingsUbuntu Linux Toolbox: 1000+ Commands for Power Users Rating: 3 out of 5 stars3/5LPIC-1 Primer Rating: 4 out of 5 stars4/5Mastering Linux System Administration Rating: 0 out of 5 stars0 ratingsUNIX Shell Programming Interview Questions You'll Most Likely Be Asked Rating: 0 out of 5 stars0 ratingsCisco Packet Tracer for Beginners Rating: 5 out of 5 stars5/5Windows Batch File Programming Rating: 2 out of 5 stars2/5Linux Shell Scripting Essentials Rating: 1 out of 5 stars1/5Learn Batch File Programming! Rating: 1 out of 5 stars1/5
System Administration For You
Practical Data Analysis Rating: 4 out of 5 stars4/5Linux: Learn in 24 Hours Rating: 5 out of 5 stars5/5PowerShell: A Comprehensive Guide to Windows PowerShell 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 ratingsLearn PowerShell in a Month of Lunches, Fourth Edition: Covers Windows, Linux, and macOS Rating: 5 out of 5 stars5/5Networking for System Administrators: IT Mastery, #5 Rating: 5 out of 5 stars5/5Ethical Hacking Rating: 4 out of 5 stars4/5PowerShell: A Beginner's Guide to Windows PowerShell Rating: 4 out of 5 stars4/5Learning ServiceNow Rating: 5 out of 5 stars5/5Wordpress 2023 A Beginners Guide : Design Your Own Website With WordPress 2023 Rating: 0 out of 5 stars0 ratingsMastering Windows PowerShell Scripting Rating: 4 out of 5 stars4/5Learn PowerShell Scripting in a Month of Lunches Rating: 0 out of 5 stars0 ratingsGit Essentials Rating: 4 out of 5 stars4/5Learn SQL Server Administration in a Month of Lunches Rating: 3 out of 5 stars3/5Operating Systems DeMYSTiFieD Rating: 0 out of 5 stars0 ratingsMastering Bash Rating: 5 out of 5 stars5/5Instant Ubuntu Rating: 4 out of 5 stars4/5Mastering Linux Network Administration Rating: 4 out of 5 stars4/5Learning Microsoft Endpoint Manager: Unified Endpoint Management with Intune and the Enterprise Mobility + Security Suite Rating: 0 out of 5 stars0 ratingsBasics with Windows Powershell Rating: 0 out of 5 stars0 ratingsOracle Solaris 11 Advanced Administration Cookbook Rating: 0 out of 5 stars0 ratingsMastering Ubuntu Server Rating: 5 out of 5 stars5/5
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