Linux Phrasebook, Second Edition offers a concise, handy reference to the Linux commands that, like a language phrasebook, can be used on the spot on moment's notice. Don't waste a minute on non-essentials: this straight-to-the-point reference delivers specific information and tested commands designed to work with any modern Linux distribution. Portable enough to take anywhere, it starts with a quick introduction to essential command line concepts, and then delivers all the modern Linux command examples, variations, and parameters you need to:
- View, manipulate, archive, and compress files
- Control file ownership and permissions
- Find anything on your systems
- Efficiently use the Linux shell
- Monitor system resources
- Install software
- Test, fix, and work with networks
Contents at a Glance Part I: Getting Started
Chapter 1 Things to Know About Your Command Line Everything Is a File Maximum Filename Lengths Names Are Case-Sensitive Special Characters to Avoid in Names Wildcards and What They Mean Special Files That Affect Your Command Line If There's Too Much Stuff on Screen, Reset Chapter 2 Navigating Your File System List Files and Folders List the Contents of Other Folders List Folder Contents Using Wildcards View a List of Files in Subfolders View a List of Contents in a Single Column View Contents As a Comma-Separated List View Hidden Files and Folders Visually Display a File's Type Display Contents in Color List Permissions, Ownership, and More Reverse the Order Contents Are Listed Sort Contents by Date and Time Sort Contents by Size Express File Sizes in Terms of K, M, and G Display the Path of Your Current Directory Change to a Different Directory Change to Your Home Directory Change to Your Previous Directory Chapter 3 Creation and Destruction Change a File to the Current Time Change a File to Any Desired Time Create a New, Empty File Create a New Directory Create a New Directory and Any Necessary Subdirectories Copy Files Copy Files Using Wildcards Copy Files Verbosely Stop Yourself from Copying over Important Files Copy Directories Copy Files As Perfect Backups in Another Directory Move Files and Folders Rename Files and Folders Understand How Linux Stores Files Create a Link Pointing to Another File or Directory Delete Files Remove Several Files at Once with Wildcards Prevent Yourself from Deleting Key Files Delete an Empty Directory Remove Files and Directories That Aren't Empty Deleting Troublesome Files Chapter 4 Learning About Commands Find Out About Commands with man Quickly Find Out What a Command Does Based on Its Name Search for a Command Based on What It Does Read a Command's Specific Man Page Learn About Commands with info Navigate Within info Locate the Paths for a Command's Executable, Source Files, and Man Pages Find Out Which Version of a Command Will Run Discover How a Command Will Be Interpreted Chapter 5 Building Blocks Run Several Commands Sequentially Run Commands Only If the Previous Ones Succeed Run a Command Only If the Previous One Fails Plug the Output of a Command into Another Command Understand Input/Output Streams Use the Output of One Command As Input for Another Redirect a Command's Output to a File Prevent Overwriting Files When Using Redirection Append a Command's Output to a File Use a File As Input for a Command Combine Input and Output Redirection Send Output to a File and to stdout at the Same Time Part II: Working with Files
Chapter 6 Viewing (Mostly Text) Files Figure Out a File's Type View Files on stdout Concatenate Files to stdout Concatenate Files to Another File Concatenate Files and Number the Lines View Text Files a Screen at a Time Search Within Your Pager Edit Files Viewed with a Pager View the First 10 Lines of a File View the First 10 Lines of Several Files View the First Several Lines of a File or Files View the First Several Bytes, Kilobytes, or Megabytes of a File View the Last 10 Lines of a File View the Last 10 Lines of Several Files View the Last Several Lines of a File or Files View the Constantly Updated Last Lines of a File or Files Chapter 7 Manipulating Text Files with Filters Count the Number of Words, Lines, and Characters in a File Number Lines in a File Select an Entire Column of Data in a Delimited File Sort the Contents of a File Sort the Contents of a File Numerically Remove Duplicate Lines in a File Substitute Selected Characters with Others Replace Repeated Characters with a Single Instance Delete Matching Characters Transform Text in a File Print Specific Fields in a File Chapter 8 Ownerships and Permissions Become Another User Become Another User, with His Environment Variables Be
Share This Book: