May 2017
Beginner
222 pages
3h 50m
English
In this section, we will be looking at ways to improve your productivity using your shell. The Linux command line is great because it has a variety of tools we can use. What makes it even greater is the fact that we can chain these tools together to form greater, more powerful tools that will make us even more productive. We will not go into basic shell commands; instead we will be looking at some cool pipe and subshell combinations that can make our lives easier.
Let's start with a basic pipe; in this example, we are counting the length of the current path using the following command:
pwd | wc -c
pwd, as you probably know, stands for print working directory. The | is the pipe symbol, and what ...