Buying Options

Kindle Price: $4.91
includes tax, if applicable
Read this title for $0.00. Learn more
Read for $0.00

These promotions will be applied to this item:

Some promotions may be combined; others are not eligible to be combined with other offers. For details, please see the Terms & Conditions associated with these promotions.

Deliver to your Kindle or other device

Deliver to your Kindle or other device

Command Line Kung Fu: Bash Scripting Tricks, Linux Shell Programming Tips, and Bash One-liners by [Cannon, Jason]
Kindle App Ad

Command Line Kung Fu: Bash Scripting Tricks, Linux Shell Programming Tips, and Bash One-liners Kindle Edition

See all 3 formats and editions Hide other formats and editions
Amazon Price
New from Used from

Length: 124 pages Enhanced Typesetting: Enabled Page Flip: Enabled
Language: English

Kindle Daily Deal: Save at least 70%
Each day we unveil a new book deal at a specially discounted price - for that day only. See today's deal or sign up for the newsletter

Product description

Product Description

Become a Linux Ninja with Command Line Kung Fu!

Do you think you have to lock yourself in a basement reading cryptic man pages for months on end in order to have ninja like command line skills?

In reality, if you had someone share their most powerful command line tips, tricks, and patterns you'd save yourself a lot of time and frustration. What if you could look over the shoulder of a good friend that just happened to be a command line guru? What if they not only showed you the commands they were using, but why they were using them and exactly how they worked? And what if that friend took the time to write all of it down so you can refer to it whenever you liked?

Well, a friend did just that. Command Line Kung Fu is packed with dozens of tips and over 100 practical real-world examples. You won't find theoretical examples in this book. The examples demonstrate how to solve actual problems and accomplish worthwhile goals.

The tactics are easy to find, too. Each chapter covers a specific topic and groups related tips and examples together. For example, if you need help extracting text from a file look in the "Text Processing and Manipulation" chapter.

Also, a comprehensive index is included. If you want to find every example where a given command is used -- even if it's not the main subject of the tip -- look in the index. It will list every single place in the book where that command appears.

Here is just some of what you will learn by reading Command Line Kung Fu:

  • How to quickly and easily repeat commands in your shell history

  • Shortcuts for grabbing specific words from your shell history to use in your current command

  • How to save a copy of your command line session for later reference

  • How to strip out blank lines and comments from files

  • How to control colorized text when uses pipes and pagers

  • Ways to transform text: from changing case to substituting characters and more

  • How to extract specific blocks of text from files or streams of input

  • A quick tip to fix common typos

  • How to edit files over the network

  • How to compare the differences between files on your local computer and a remote one

  • How to create and use SSH tunnels

  • Ways to verify what programs are listening on what ports

  • How to kill all the processes for a given user with a single command
  • Strategies for dealing with multi-hop SSH connections

  • How to disconnect from a server in a way that will allow you to pick up where you left off

  • How to automate software installs that require user input

  • Shell scripting tips

  • How to automatically keep repeating a command until it succeeds

  • The right way to delete a file that is being written to

  • How to surf the web from the command line... and more importantly how to download anything from the web and interact with HTTP APIs

  • Ways to determine who and what is using the most disk space

  • How to secure your web browser session when using an open wifi hotspot

  • How to generate random passwords from the command line

  • Two tips for easily creating backups

  • Tips for handling tar archives

  • How to replace a string in multiple files at once with just one command
  • and much more...

What you learn in Command Line Kung Fu applies to any Linux distribution including Ubuntu, Debian, Linux Mint, RedHat, Fedora, OpenSUSE, Slackware, and more.

Scroll up, click the "Buy Now With 1-Click" button to get your black belt in Linux Command Line Kung Fu.

Product details

  • Format: Kindle Edition
  • File Size: 936 KB
  • Print Length: 124 pages
  • Simultaneous Device Usage: Unlimited
  • Sold by: Amazon Australia Services, Inc.
  • Language: English
  • Text-to-Speech: Enabled
  • X-Ray:
  • Word Wise: Not Enabled
  • Screen Reader: Supported
  • Enhanced Typesetting: Enabled
  • Average Customer Review: Be the first to review this item
  • Amazon Bestsellers Rank: #133,188 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
click to open popover

No customer reviews

Review this product

Share your thoughts with other customers

Most helpful customer reviews on 4.5 out of 5 stars 67 reviews
Roy A. Milner
5.0 out of 5 starsBest Command Line Book Yet!
15 August 2017 - Published on
Verified Purchase
3 people found this helpful.
Charles Forry
5.0 out of 5 starsStart the book from the beginning
5 January 2018 - Published on
Verified Purchase
3 people found this helpful.
Eric G. Johnfelt
5.0 out of 5 starsA Very Good Book For Expanding Your CL Skills.
11 July 2016 - Published on
Verified Purchase
5 people found this helpful.
Zachary Storer
5.0 out of 5 starsIt's full of useful little tips for *nix
28 January 2016 - Published on
Verified Purchase
4 people found this helpful.
Xuexiu z.
5.0 out of 5 starsthis is a nice clearly written book and I like to read it ...
10 February 2018 - Published on
Verified Purchase
One person found this helpful.