Example: biology

The Linux Command Line

The Linux Command line Fifth Internet Edition William Shotts A Book Copyright 2008-2019, William E. Shotts, Jr. This work is licensed under the Creative Commons Attribution-Noncommercial-No De- rivative Works United States License. To view a copy of this license, visit the link above or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042. A version of this book is also available in printed form, published by No Starch Press. Copies may be purchased wherever fine books are sold. No Starch Press also offers elec- tronic formats for popular e-readers. They can be reached at: Linux is the registered trademark of Linus Torvalds.

This book is part of the LinuxCommand.org project, a site for Linux education and advo- cacy devoted to helping users of legacy operating systems migrate into the future. You

Tags:

  Linux, Line, Command, The linux command line, Linuxcommand

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of The Linux Command Line

1 The Linux Command line Fifth Internet Edition William Shotts A Book Copyright 2008-2019, William E. Shotts, Jr. This work is licensed under the Creative Commons Attribution-Noncommercial-No De- rivative Works United States License. To view a copy of this license, visit the link above or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042. A version of this book is also available in printed form, published by No Starch Press. Copies may be purchased wherever fine books are sold. No Starch Press also offers elec- tronic formats for popular e-readers. They can be reached at: Linux is the registered trademark of Linus Torvalds.

2 All other trademarks belong to their respective owners. This book is part of the project, a site for Linux education and advo- cacy devoted to helping users of legacy operating systems migrate into the future. You may contact the project at Release History Version Date Description January 28, 2019 Fifth Internet Edition (Corrected TOC). January 17, 2019 Fifth Internet Edition. October 19, 2017 Fourth Internet Edition. July 28, 2016 Third Internet Edition. July 6, 2013 Second Internet Edition. December 14, 2009 First Internet Edition. Table of Contents Why Use the Command line ?..xvi What This Book Is Who Should Read This What's in This How To Read This Why I Don't Call It GNU/ Linux .

3 Xix What's New in the Fifth Internet First Internet Second Internet Third Internet Fourth Internet Fifth Internet Your Feedback Is Needed!..xxi Further Part 1 Learning the 1 What Is the Shell?..2. Terminal Making Your First Command Cursor A Few Words About Mice and Try Some Simple Ending a Terminal The Console Behind the Summing Further 2 Understanding the File System The Current Working Listing the Contents of a i Changing the Current Working Absolute Relative Some Helpful Important Facts About Summing 3 Exploring the Having More Fun with Options and A Longer Look at Long Determining a File's Type with Viewing File Contents with What Is Text ?

4 17. Less Is Taking a Guided Symbolic Hard Summing Further 4 Manipulating Files and Character Wildcards Work in the GUI mkdir Create cp Copy Files and Useful Options and mv Move and Rename Useful Options and rm Remove Files and Useful Options and Be Careful with rm!..33. ln Create Hard Symbolic Let's Build a Creating Copying Moving and Renaming Creating Hard Creating Symbolic Removing Files and Creating Symlinks With The Summing Further 5 Working with What Exactly Are Commands?..42. Identifying ii type Display a Command 's which Display an Executable's Getting a Command 's help Get Help for Shell --help Display Usage man Display a Program's Manual apropos Display Appropriate whatis Display One- line Manual Page The Most Brutal Man Page Of Them info Display a Program's Info README and Other Program Documentation Creating Our Own Commands with Summing Further 6 Standard Input, Output.

5 And Redirecting Standard Redirecting Standard Redirecting Standard Output and Standard Error to One Disposing of Unwanted /dev/null In Unix Redirecting Standard cat Concatenate The Difference Between > and |..61. uniq - Report or Omit Repeated wc Print line , Word, and Byte grep Print Lines Matching a head / tail Print First / Last Part of tee Read from Stdin and Output to Stdout and Summing Linux Is About 7 Seeing the World as the Shell Sees Pathname Pathname Expansion of Hidden Tilde Arithmetic Brace Parameter Command Double Single Escaping Backslash Escape Summing iii Further 8 Advanced Keyboard Command line Cursor Modifying Cutting and Pasting (Killing and Yanking)

6 The Meta Programmable Using Searching History Summing Further 9 Owners, Group Members, and Everybody Reading, Writing, and chmod Change File What the Heck is Octal?..95. Setting File Mode with the umask Set Default Some Special Changing su Run a Shell with Substitute User and Group sudo Execute a Command as Another Ubuntu and chown Change File Owner and chgrp Change Group Exercising Our Changing Your Summing Further 10 How a Process Viewing Viewing Processes Dynamically with Controlling Interrupting a Putting a Process in the Returning a Process to the Stopping (Pausing) a Sending Signals to Processes with Sending Signals to Multiple Processes with Shutting Down the More Process-Related iv Summing Part 2 Configuration and the 11 The What is Stored in the Environment?

7 128. Examining The Some Interesting How Is The Environment Established?..131. What's in a Startup File?..132. Modifying the Which Files Should We Modify?..135. Text Using a Text Why Comments Are Activating Our Summing Further 12 A Gentle Introduction to Why We Should Learn A Little Starting and Stopping Compatibility Editing Entering Insert Saving Our Moving the Cursor Basic Appending Opening a Deleting Cutting, Copying, and Pasting Joining Searching Within a Searching the Entire Global Editing Multiple Switching Between Opening Additional Files for Copying Content from One File into Inserting an Entire File into Saving Our Summing Further 13 Customizing the Anatomy of a v Trying Some Alternative Prompt Adding Terminal Moving the Saving the Summing Further Part 3 Common Tasks and Essential 14 Package Packaging How a Package System Package High and Low-level Package Common Package Management Finding a Package in a Installing a Package from a Installing a Package from a Package Removing a Updating

8 Packages from a Upgrading a Package from a Package Listing Installed Determining Whether a Package is Displaying Information About an Installed Finding Which Package Installed a Summing The Linux Software Installation Further 15 Storage Mounting and Unmounting Storage Viewing a List of Mounted File Why Unmounting Is Determining Device Creating New File Manipulating Partitions with Creating a New File System with Testing and Repairing File What the fsck?..196. Moving Data Directly to and from Creating CD-ROM Creating an Image Copy of a Creating an Image From a Collection of A Program by Any Other Writing CD-ROM Mounting an ISO Image vi Blanking a Rewritable Writing an Summing Further Extra 16 Examining and Monitoring a Transporting Files Over a lftp A Better Secure Communication with Remote Tunneling with scp and An SSH Client for Windows?

9 215. Summing Further 17 Searching for locate Find Files the Easy Where Does the locate Database Come From?..219. find Find Files the Hard Predefined User-Defined Improving Dealing with Funny A Return to the Summing Further 18 Archiving and Compressing Don't Be Compressive Archiving Synchronizing Files and Using rsync Over a vii Summing Further 19 Regular What are Regular Expressions?..251. Metacharacters and The Any A Crossword Puzzle Bracket Expressions and Character Traditional Character POSIX Character Reverting to Traditional Collation POSIX Basic vs. Extended Regular ? - Match an Element Zero or One * - Match an Element Zero or More + - Match an Element One or More { } - Match an Element a Specific Number of Putting Regular Expressions to Validating a Phone List With Finding Ugly Filenames with Searching for Files with Searching for Text with less and Summing Further 20 Text Applications of Web Printer Program Source Revisiting Some Old MS-DOS Text vs.

10 Unix Slicing and Expanding Comparing viii Editing on the ROT13: The Not-So-Secret Decoder People Who Like sed Also Summing Further Extra 21 Formatting Simple Formatting nl Number fold Wrap Each line to a Specified fmt A Simple Text pr Format Text for printf Format and Print Document Formatting Summing Further 22 A Brief History of Printing in the Dim Character-Based Graphical Printing with Preparing Files for pr Convert Text Files for Sending a Print Job to a lpr Print Files (Berkeley Style)..342. lp Print Files (System V Style)..343. Another Option: Monitoring and Controlling Print lpstat Display Print System lpq Display Printer Queue lprm / cancel Cancel Print Summing Further 23 Compiling What is Compiling?


Related search queries