Jump to ratings and reviews
Rate this book

Linux Phrasebook (2nd Edition)

Rate this book
Get more done faster at the Linux command line! This best-selling Linux Phrasebook has been thoroughly updated in the second edition to reflect the newest distributions, incorporate feedback from hundreds of active Linux users, and cover today's newest tools and techniques -- including an entirely new chapter on text file manipulation.
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 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 Linux Phrasebook, Second Edition is the perfect quick command line reference for millions of Linux users and administrators at all levels of people who want to get reliable information they can use right now -- with no distractions and no diversions!
Contents at a Glance Part 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 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 Become root Beco...

512 pages, Paperback

First published June 1, 2006

20 people are currently reading
92 people want to read

About the author

Scott Granneman

14 books6 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
40 (40%)
4 stars
40 (40%)
3 stars
14 (14%)
2 stars
3 (3%)
1 star
1 (1%)
Displaying 1 - 6 of 6 reviews
Profile Image for Maya Senen.
461 reviews22 followers
January 9, 2015
This book is really useful for onboarding people into a Linux environment who have little to no experience. It is a great base for instruction.
Profile Image for Nickolai.
913 reviews8 followers
February 19, 2022
Отличная книга для начинающих изучать Linux. Доступным языком рассказывает об основных командах оболочки bash. После ее прочтения чувствуешь себя вполне уверенным пользователем.
2 reviews
September 1, 2022
The best Linux book I've encountered. Real world examples in a concise format. This is my Linux reference book. The author has a great sense of humor while explaining key concepts. If you want to learn Linux this is a must have book for your arsenal.
Profile Image for Nurfaiz Foat.
6 reviews1 follower
April 16, 2009
Really helped me alot in understanding linux terminal commands
Profile Image for Amy.
26 reviews6 followers
April 2, 2010
Another great codebook. Has many commands to tweak your system.
Profile Image for Harish P.
368 reviews4 followers
December 31, 2014
A nice usable Linux command reference. Not inundated with loads of jargon and flags.

Written in a very engaging style.
Displaying 1 - 6 of 6 reviews

Can't find what you're looking for?

Get help and learn more about the design.