Harness the Combinatoric Power of Command-Line Tools and Utilities
About The Book
The command-line interface is making a comeback. That’s because developers know that all the best features of your operating system are hidden behind a user interface designed to help average people use the computer. But you’re not the average user, and the CLI is the most efficient way to get work done fast. Turn tedious chores into quick tasks: read and write files, manage complex directory hierarchies, perform network diagnostics, download files, work with APIs, and combine individual programs to create your own workflows. Put down that mouse, open the CLI, and take control of your software development environment.
Description
No matter what language or platform you’re using, you can use the CLI to create projects, run servers, and manage files. You can even create new tools that fit right in with grep, sed, awk, and xargs. You’ll work with the Bash shell and the most common command-line utilities available on macOS, Windows 10, and many flavors of Linux.
Create files without opening a text editor. Manage complex directory strutures and move around your entire file system without touching the mouse. Diagnose network issues and interact with APIs. Chain several commands together to transform data, and create your own scripts to automate repetitive tasks. Make things even faster by customizing your environment, creating shortcuts, and integrating other tools into your environment. Hands-on activities and exercises will cement your newfound knowledge and give you the confidence to use the CLI to its fullest potential. And if you’re worried you’ll wreck your system, this book walks you through creating an Ubuntu virtual machine so you can practice worry-free.
Dive into the CLI and join the thousands of other devs who use it every day.
What’s In The Book
You’ll get hands-on experience with:
- Navigating Files and Folders
- Finding Files
- Identifying Available Disk Space
- Creating, Copying, Moving, and Deleting Files and Directories
- Managing File and Directory Permissions
- Working with Links
- Redirecting Input and Output with File Descriptors
- Filtering with grep
- Editing Streams with
sed
- Advanced Processing with
awk
- Using
xargs
- Customizing Your Shell Session
- Creating Shortcuts with Aliases and Functions
- Creating Keyboard Shortcuts
- Testing Network Connectivity
- Making Web Requests with cURL
- Working with APIs
- Using Secure Shell to Connect to Remote Machines
- Transferring Files
- Exploring Network Connections
- Automating Tasks with Make
- Writing Bash Scripts
…And much more.