Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Small, Sharp Software Tools
About the Pragmatic Bookshelf
Table of Contents
Early Praise for Small, Sharp Software Tools
Acknowledgments
Preface
A Tale of Many CLIs
What’s In (and not in) This Book
How to Use This Book
Online Resources
Chapter 1: Getting Your Feet Wet
Accessing the Command-Line Interface
Getting Your Bearings
Creating and Reading Files
Redirecting Streams of Text
Creating Directories
Going Home
Using Autocompletion
Elevating Privileges
Installing Additional Programs with a Package Manager
Downloading Files
Read the Friendly Manual
Useful Shortcuts
Your Turn
What You Learned
Chapter 2: Creating an Ubuntu Virtual Machine with VirtualBox
Creating a New Virtual Machine
Configuring a Network
Installing the Guest Operating System
Working with Snapshots
Installing Software with the Package Manager
Improving Performance by Installing Guest Addi tions
Your Turn
What You Learned
Chapter 3: Navigating the Filesystem
Listing Files and Directories
Navigating Files and Folders
Switching Between Directories
Finding Files
Identifying Available Disk Space
Your Turn
What You Learned
Chapter 4: Working with Files and Directories
Creating Files
Reading Larger Files
Creating Directories
Copying, Moving, and Deleting Files and Direct ories
Managing File and Directory Permissions
Working with Links
Getting More Information About Fi lesystem Objects
Your Turn
What You Learned
Chapter 5: Streams of Text
Redirecting Input and Output with File Descri ptors
Splitting Streams with tee
Handling Standard Error Streams
Filtering with grep
Removing Characters from Output with cut
Sorting Output
Editing Streams with sed
Advanced Processing with awk
Using xargs
Your Turn
What You Learned
Chapter 6: The Shell and Environment
Exploring Environment and Shell Variables
Editing Text with GNU nano
Customizing Your Shell Se ssion
Creating Shortcuts with Aliases and Functions
Creating Keyboard Shortcuts
Modifying Readline Behavior
Your Turn
What You Learned
Chapter 7: Running and Managing Programs
Working with Commands
Reusing Previous Commands and Arguments
Managing Processes and Jobs
Terminating Processes
Using Command Substitution
Keeping Commands Running with GNU Screen
Your Turn
What You Learned
Chapter 8: Networking Tools
Getting Your Connection Inf ormation
Finding Information About Domain Names
Testing Network Connectivity
Making Web Requests with cURL
Working with Web APIs
Using Secure Shell to Connect to Remote Machi nes
Transferring Files
Exploring Network Connections
Using Netcat
Your Turn
What You Learned
Chapter 9: Automation
Automating Tasks with make
Writing Bash Scripts
Automating Your Workstation Setup
Your Turn
What You Learned
Chapter 10: Additional Programs
Working with Text and Files
Managing Your Environment
Working with Data and External APIs
Wrapping Up
Appendix 1: Command Quick Reference
Appendix 2: Installing GNU Utilities on macOS
Installing coreutils
Installing diffutils and findutils
You May Be Interested In…
← Prev
Back
Next →
← Prev
Back
Next →