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/5Linux Command-Line Tips & Tricks Rating: 0 out of 5 stars0 ratingsWorking with Linux – Quick Hacks for the Command Line Rating: 5 out of 5 stars5/5Let's Use BASH on Windows 10! Rating: 0 out of 5 stars0 ratingsThe Windows Command Line Beginner's Guide: Second Edition Rating: 4 out of 5 stars4/5An Ultimate Guide to Kali Linux for Beginners Rating: 3 out of 5 stars3/5Bash for Fun: Bash Programming: Principles and Examples Rating: 0 out of 5 stars0 ratingsArch Linux: Fast and Light! Rating: 3 out of 5 stars3/520 Windows Tools Every SysAdmin Should Know Rating: 5 out of 5 stars5/5UNIX Shell Scripting Interview Questions, Answers, and Explanations: UNIX Shell Certification Review Rating: 5 out of 5 stars5/5Vim: The Basics Rating: 1 out of 5 stars1/5Windows Command Prompt Rating: 0 out of 5 stars0 ratingsWindows Command Prompt A-N Rating: 5 out of 5 stars5/5Mastering Shell Commands On Linux Rating: 0 out of 5 stars0 ratingsEasy Linux For Beginners Rating: 2 out of 5 stars2/5Linux Shell Scripting Essentials Rating: 1 out of 5 stars1/5The Mac Terminal Reference and Scripting Primer Rating: 4 out of 5 stars4/5LPIC-1 Primer Rating: 4 out of 5 stars4/5Linux - a Secure Personal Computer for Beginners Rating: 0 out of 5 stars0 ratingsTCP/IP for Everyone Rating: 4 out of 5 stars4/5The Complete Powershell Training for Beginners Rating: 0 out of 5 stars0 ratingsWindows Batch File Programming Rating: 2 out of 5 stars2/5Learn Batch File Programming! Rating: 1 out of 5 stars1/5Windows Security Basics: User Accounts Rating: 0 out of 5 stars0 ratingsHacking of Computer Networks: Full Course on Hacking of Computer Networks Rating: 0 out of 5 stars0 ratingsI am Linux : Being A Ultra Linux User Rating: 0 out of 5 stars0 ratingsThe Linux Command Line Beginner's Guide Rating: 4 out of 5 stars4/5Going Text: Mastering the Command Line Rating: 4 out of 5 stars4/5
System Administration For You
Improve your skills with Google Sheets: Professional training Rating: 0 out of 5 stars0 ratingsCybersecurity: The Beginner's Guide: A comprehensive guide to getting started in cybersecurity Rating: 5 out of 5 stars5/5Practical Data Analysis Rating: 4 out of 5 stars4/5Learn PowerShell in a Month of Lunches, Fourth Edition: Covers Windows, Linux, and macOS Rating: 0 out of 5 stars0 ratingsCompTIA A+ Complete Review Guide: Core 1 Exam 220-1101 and Core 2 Exam 220-1102 Rating: 5 out of 5 stars5/5Linux Bible Rating: 0 out of 5 stars0 ratingsLinux: Learn in 24 Hours Rating: 5 out of 5 stars5/5Ethical Hacking Rating: 4 out of 5 stars4/5ConfigMgr - An Administrator's Guide to Deploying Applications using PowerShell Rating: 5 out of 5 stars5/5Learn Windows PowerShell in a Month of Lunches Rating: 0 out of 5 stars0 ratingsSummary of Lights Out: by Ted Koppel | Includes Analysis Rating: 0 out of 5 stars0 ratingsLearn PowerShell Scripting in a Month of Lunches Rating: 0 out of 5 stars0 ratingsOperating Systems DeMYSTiFieD Rating: 0 out of 5 stars0 ratingsLinux for Beginners: Linux Command Line, Linux Programming and Linux Operating System Rating: 4 out of 5 stars4/5PowerShell in Depth Rating: 0 out of 5 stars0 ratingsMastering Active Directory Rating: 0 out of 5 stars0 ratingsBuilding a Plex Server with Raspberry Pi Rating: 0 out of 5 stars0 ratingsMastering Windows PowerShell Scripting Rating: 4 out of 5 stars4/5Learn Git in a Month of Lunches Rating: 0 out of 5 stars0 ratingsLearn SQL Server Administration in a Month of Lunches Rating: 3 out of 5 stars3/5Mastering Linux Shell Scripting Rating: 4 out of 5 stars4/5The Complete Powershell Training for Beginners Rating: 0 out of 5 stars0 ratingsGit Essentials Rating: 4 out of 5 stars4/5PowerShell: A Comprehensive Guide to Windows PowerShell Rating: 4 out of 5 stars4/5PowerShell: A Beginner's Guide to Windows PowerShell Rating: 4 out of 5 stars4/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