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 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 filesControl file ownership and permissionsFind anything on your systemsEfficiently use the Linux shellMonitor system resourcesInstall softwareTest, fix, and work with networksLinux Phrasebook, Second Edition is the perfect quick command line reference for millions of Linux users and administrators at all levels of experience: people who want to get reliable information they can use right now -- with no distractions and no diversions!Contents at a Glance Part I: Getting StartedChapter 1 Things to Know About Your Command LineEverything Is a FileMaximum Filename LengthsNames Are Case-SensitiveSpecial Characters to Avoid in NamesWildcards and What They MeanSpecial Files That Affect Your Command LineIf There's Too Much Stuff on Screen, ResetChapter 2 Navigating Your File SystemList Files and FoldersList the Contents of Other FoldersList Folder Contents Using WildcardsView a List of Files in SubfoldersView a List of Contents in a Single ColumnView Contents As a Comma-Separated ListView Hidden Files and FoldersVisually Display a File's TypeDisplay Contents in ColorList Permissions, Ownership, and MoreReverse the Order Contents Are ListedSort Contents by Date and TimeSort Contents by SizeExpress File Sizes in Terms of K, M, and GDisplay the Path of Your Current DirectoryChange to a Different DirectoryChange to Your Home DirectoryChange to Your Previous DirectoryChapter 3 Creation and DestructionChange a File to the Current TimeChange a File to Any Desired TimeCreate a New, Empty FileCreate a New DirectoryCreate a New Directory and Any Necessary SubdirectoriesCopy FilesCopy Files Using WildcardsCopy Files VerboselyStop Yourself from Copying over Important FilesCopy DirectoriesCopy Files As Perfect Backups in Another DirectoryMove Files and FoldersRename Files and FoldersUnderstand How Linux Stores FilesCreate a Link Pointing to Another File or DirectoryDelete FilesRemove Several Files at Once with WildcardsPrevent Yourself from Deleting Key FilesDelete an Empty DirectoryRemove Files and Directories That Aren't EmptyDeleting Troublesome FilesChapter 4 Learning About CommandsFind Out About Commands with manQuickly Find Out What a Command Does Based on Its NameSearch for a Command Based on What It DoesRead a Command's Specific Man PageLearn About Commands with infoNavigate Within infoLocate the Paths for a Command's Executable, Source Files, and Man PagesFind Out Which Version of a Command Will RunDiscover How a Command Will Be InterpretedChapter 5 Building BlocksRun Several Commands SequentiallyRun Commands Only If the Previous Ones SucceedRun a Command Only If the Previous One FailsPlug the Output of a Command into Another CommandUnderstand Input/Output StreamsUse the Output of One Command As Input for AnotherRedirect a Command's Output to a FilePrevent Overwriting Files When Using RedirectionAppend a Command's Output to a FileUse a File As Input for a CommandCombine Input and Output RedirectionSend Output to a File and to stdout at the Same TimePart II: Working with FilesChapter 6 Viewing (Mostly Text) FilesFigure Out a File's TypeView Files on stdoutConcatenate Files to stdoutConcatenate Files to Another FileConcatenate Files and Number the LinesView Text Files a Screen at a TimeSearch Within Your PagerEdit Files Viewed with a PagerView the First 10 Lines of a FileView the First 10 Lines of Several FilesView the First Several Lines of a File or FilesView the First Several Bytes, Kilobytes, or Megabytes of a FileView the Last 10 Lines of a FileView the Last 10 Lines of Several FilesView the Last Several Lines of a File or FilesView the Constantly Updated Last Lines of a File or FilesChapter 7 Manipulating Text Files with FiltersCount the Number of Words, Lines, and Characters in a FileNumber Lines in a FileSelect an Entire Column of Data in a Delimited FileSort the Contents of a FileSort the Contents of a File NumericallyRemove Duplicate Lines in a FileSubstitute Selected Characters with OthersReplace Repeated Characters with a Single InstanceDelete Matching CharactersTransform Text in a FilePrint Specific Fields in a FileChapter 8 Ownerships and PermissionsBecome Another UserBecome Another User, with His Environment VariablesBecome rootBecome root, with Its Environment VariablesChange the Group Owning Files and DirectoriesRecursively Change the Group Owning a DirectoryChange the Owner of Files and DirectoriesChange the Owner and Group of Files and DirectoriesUnderstand the Basics of PermissionsChange Permissions on Files and Directories Using Alphabetic NotationChange Permissions on Files and Directories Using Numeric PermissionsChange Permissions RecursivelySet and Then Clear suidSet and Then Clear sgidSet and Then Clear the Sticky BitChapter 9 Archiving and CompressionArchive and Compress Files Using zipGet the Best Compression Possible with zipArchive and Compress Files of a Specified Type in Directories and SubdirectoriesPassword-Protect Compressed Zip ArchivesUnzip FilesTest Files That Will Be UnzippedArchive and Compress Files Using gzipArchive and Compress Files Recursively Using gzipUncompress Files Compressed with gzipTest Files That Will Be Unzipped with gunzipArchive and Compress Files Using bzip2Uncompress Files Compressed with bzip2Test Files That Will Be Unzipped with bunzip2Archive Files with tarArchive and Compress Files with tar and gzipTest Files That Will Be Untarred and UncompressedUntar and Uncompress FilesPart III: Finding Files, Words, and MoreChapter 10 Finding Files, Directories, Words, and PhrasesSearch a Database of FilenamesSearch a Database of Filenames Without Worrying About CaseUpdate the Database Used by locateSearching Inside Text Files for PatternsThe Basics of Searching Inside Text Files for PatternsSearch Recursively for Text in FilesSearch for Words and Highlight the ResultsSearch for Text in Files, Ignoring CaseSearch for Whole Words in FilesShow Line Numbers Where Words Appear in FilesSearch the Output of Other Commands for Specific WordsSee Context for Words Appearing in FilesShow Lines Where Words Do Not Appear in FilesList Files Containing Searched-for WordsList the Number of Occurrences of Words in FilesSearch for Words Inside Search ResultsChapter 11 The find CommandFind Files by NameFind Files by OwnershipFind Files by File SizeFind Files by File TypeFind Files by TimeShow Results If the Expressions Are True (AND)Show Results If Either Expression Is True (OR)Show Results If the Expression Is Not True (NOT)Execute a Command on Found FilesExecute a Command on Found Files More EfficientlyExecute a Command on Found Files Containing SpacesPart IV: Your EnvironmentChapter 12 Your ShellView Your Command-Line HistoryRun the Last Command AgainRun a Previous Command Using NumbersRun a Previous Command Using a StringSearch for a Previous Command and Run ItDisplay All Command AliasesView a Specific Command AliasCreate a New Temporary AliasCreate a New Permanent AliasRemove an AliasCreate a New Temporary FunctionCreate a New Permanent FunctionDisplay All FunctionsRemove a FunctionWhen to Use an Alias and When to Use a FunctionChapter 13 Monitoring System ResourcesDiscover How Long Your Computer Has Been RunningView All Currently Running ProcessesView a Process TreeView Processes Owned by a Particular UserEnd a Running ProcessView a Dynamically Updated List of Running ProcessesList Open FilesList a User's Open FilesList Users for a Particular FileList Processes for a Particular ProgramDisplay Information About System RAMShow File System Disk UsageReport File Space Used by a DirectoryReport Just the Total Space Used for a DirectoryChapter 14 Installing SoftwareInstall Software Packages (RPM)Remove Software Packages (RPM)Install Software Packages and Dependencies (RPM)Remove Software Packages and Dependencies (RPM)Upgrade Software Packages and Dependencies (RPM)Find Packages Available for Download (RPM)Install Software Packages (DEB)Remove Software Packages (DEB)Install Software Packages and Dependencies (DEB)Remove Software Packages and Dependencies (DEB)Upgrade Software Packages and Dependencies (DEB)Find Packages Available for Download (DEB)Clean Up Unneeded Installation Packages (DEB)Troubleshoot Problems with APT (DEB)Part V: NetworkingChapter 15 ConnectivityView the Status of Your Network InterfacesVerify That a Computer Is Running and Accepting RequestsTrace the Route Packets Take Between Two HostsQuery DNS RecordsConfigure a Network InterfaceView the Status of Your Wireless Network InterfacesConfigure a Wireless Network InterfaceGrab a New Address Using DHCPMake a Network Connection ActiveBring a Network Connection DownDisplay Your IP Routing TableChange Your IP Routing TableTroubleshooting Network ProblemsChapter 16 Working on the NetworkSecurely Log In to Another ComputeSecurely Log In to Another Machine Without a PasswordSecurely Transfer Files Between MachinesSecurely Copy Files Between HostsSecurely Transfer and Back Up FilesDownload Files Non-interactivelyDownload Websites Non-interactivelyDownload Sequential Files and Internet Resources
- Format: Paperback / softback
- Pages: 512 pages
- Publisher: Pearson Education (US)
- Publication Date: 15/12/2015
- Category: Linux
- ISBN: 9780321833884