[PDF] The Linux Command Line 4 lut 2019 tronic formats





Previous PDF Next PDF



The Oxford 5000™ (American English)

As well as the Oxford. 3000 it includes an additional 2000 words for learners at B2-C1 level



DIRECTIVE 2014/24/EU OF THE EUROPEAN PARLIAMENT AND

26.02.2014 г. the Council of 5 November 2002 on the Common Procurement. Vocabulary (CPV) ... 5 186 000 where those contracts involve one of the following ...



Regulation (EU Euratom) 2018/ of the European Parliament and of

18.07.2018 г. ... 5 November 2002 on the Common Procurement. Vocabulary (CPV) (OJ L 340 ... 5 000 000 or 5 % of the public support of the operational programme ...





DIRECTIVE (EU) 2019/ 944 OF THE EUROPEAN PARLIAMENT

14.06.2019 г. 55). (5) Directive 2003/54/EC of the European Parliament and of the Council of 26 June 2003 concerning common rules for the internal market.



COMMISSION REGULATION (EU) 2018/ 1832 - of 5 November

27.11.2018 г. (8). The quantity of fuel and/or electric energy used is already being determined and stored on board of most new vehicles; however the devices ...



CONSOLIDATED VERSION OF THE TREATY ON THE

26.10.2012 г. 4. The Union shall have competence in accordance with the provisions of the Treaty on European. Union



Regulation (EU) 2017/625 of the European Parliament and of the

15.03.2017 г. In addition to those basic rules more specific food and feed law covers different areas such as animal nutrition



WIDTEPAPER European transport policy for 2010: time to decide

18.01.2001 г. the other half were breaches of European legislation the most common ... service takes some 5 00 000 tonnes a year off the busy roads and ...



EUROPEAN COMMISSION Brussels 15.6.2018 SWD(2018) 346

15.06.2018 г. English version uses the word 'people'. This shows a ... (from 900 to some 5 000 hectares) which could mean increasing production to some.



OReilly - Practical C++ Programming.pdf

Chapter 15 Simple Pointers



2022 amending Regulation (EU) No 833/2014 concerning restrictive

25 lut 2022 provision of technical assistance related to the goods and technology listed in the Common. Military List of the European Union or related ...



COCA 5000 1 The Corpus of Contemporary American English

[in 189431 texts] and is equally divided among spoken



Council Regulation (EC) No 428/2009 of 5 May 2009 setting up a

5 maj 2009 An effective common system of export controls on dual- use items is necessary to ensure that the international com mitments and responsibilities ...



Directive 2014/24/EU of the European Parliament and of the Council

26 lut 2014 ensuring the most efficient use of public funds. For that ... the Council of 5 November 2002 on the Common Procurement. Vocabulary (CPV) (OJ ...



The Linux Command Line

4 lut 2019 tronic formats for popular e-readers. ... 5 – Working with Commands. ... seems to prefer one-word names such as DOS Windows



The Oxford 5000™ (American English)

The Oxford 5000 is an expanded core word list for advanced learners of English. As well as the Oxford. 3000 it includes an additional 2000 words for 



DIRECTIVE (EU) 2019/ 944 OF THE EUROPEAN PARLIAMENT

14 cze 2019 DIRECTIVE (EU) 2019/944 OF THE EUROPEAN PARLIAMENT AND OF THE COUNCIL of 5 June 2019 on common rules for the internal market for electricity ...



COMMISSION DIRECTIVE (EU) 2015/ 996 - of 19 May 2015

1 lip 2015 (4). According to Article 6 of Directive 2002/49/EC the Commission shall establish common assessment methods for the determination of the noise ...



Logix 5000 Controllers ASCII Strings (Publication 1756-PM013H-EN

Logix 5000 Controllers ASCII Strings. 2. Rockwell Automation Publication 1756-PM013H-EN-P - March 2022. Important User Information. Read this document and 

The Linux Command Line

Fifth Internet Edition

William Shotts

A LinuxCommand.org Book

Copyright ©2008-2019, William E. Shotts, Jr.

This work is licensed under the Creative Commons Attribution-Noncommercial-No De- rivative Works 3.0 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: https://www.nostarch.com. Linux® is the registered trademark of Linus Torvalds. All other trademarks belong to their respective owners. 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 may contact the LinuxCommand.org project at http://linuxcommand.org.

Release History

VersionDateDescription

19.01AJanuary 28, 2019Fifth Internet Edition (Corrected TOC)

19.01January 17, 2019Fifth Internet Edition.

17.10October 19, 2017Fourth Internet Edition.

16.07July 28, 2016Third Internet Edition.

13.07July 6, 2013Second Internet Edition.

09.12December 14, 2009First Internet Edition.

Table of Contents

Why Use the Command Line?......................................................................................xvi

What This Book Is About..............................................................................................xvii

Who Should Read This Book.......................................................................................xvii

What's in This Book.....................................................................................................xviii

How To Read This Book................................................................................................xix

Why I Don't Call It "GNU/Linux"...........................................................................xix

What's New in the Fifth Internet Edition.........................................................................xx

First Internet Edition..................................................................................................xx

Second Internet Edition............................................................................................xxi

Third Internet Edition................................................................................................xxi

Fourth Internet Edition..............................................................................................xxi

Fifth Internet Edition.................................................................................................xxi

Your Feedback Is Needed!............................................................................................xxi

Further Reading............................................................................................................xxi

Part 1 - Learning the Shell...............................................................1

1 - What Is the Shell?......................................................................................2

Terminal Emulators..........................................................................................................2

Making Your First Keystrokes..........................................................................................2

Command History.......................................................................................................3

Cursor Movement.......................................................................................................3

A Few Words About Mice and Focus.....................................................................3

Try Some Simple Commands..........................................................................................4

Ending a Terminal Session..............................................................................................5

The Console Behind the Curtain...........................................................................5

Summing Up....................................................................................................................5

Further Reading...............................................................................................................6

2 - Navigation...................................................................................................7

Understanding the File System Tree...............................................................................7

The Current Working Directory........................................................................................7

Listing the Contents of a Directory..................................................................................8

i

Changing the Current Working Directory........................................................................9

Absolute Pathnames..................................................................................................9

Relative Pathnames...................................................................................................9

Some Helpful Shortcuts............................................................................................11

Important Facts About Filenames........................................................................11

Summing Up..................................................................................................................12

3 - Exploring the System..............................................................................13

Having More Fun with ls................................................................................................13

Options and Arguments............................................................................................14

A Longer Look at Long Format.................................................................................16

Determining a File's Type with file.................................................................................17

Viewing File Contents with less.....................................................................................17

What Is "Text"?.....................................................................................................17

Less Is More........................................................................................................19

Taking a Guided Tour.....................................................................................................19

Symbolic Links...............................................................................................................23

Hard Links.....................................................................................................................24

Summing Up..................................................................................................................24

Further Reading.............................................................................................................24

4 - Manipulating Files and Directories........................................................25

Character Ranges................................................................................................27

Wildcards Work in the GUI Too............................................................................27

mkdir - Create Directories.............................................................................................28

cp - Copy Files and Directories....................................................................................28

Useful Options and Examples..................................................................................29

mv - Move and Rename Files.......................................................................................30

Useful Options and Examples..................................................................................30

rm - Remove Files and Directories...............................................................................31

Useful Options and Examples..................................................................................32

Be Careful with rm!..............................................................................................33

ln - Create Links............................................................................................................33

Hard Links................................................................................................................33

Symbolic Links..........................................................................................................34

Let's Build a Playground................................................................................................34

Creating Directories..................................................................................................34

Copying Files............................................................................................................35

Moving and Renaming Files.....................................................................................36

Creating Hard Links..................................................................................................37

Creating Symbolic Links...........................................................................................38

Removing Files and Directories...............................................................................39

Creating Symlinks With The GUI.........................................................................41

Summing Up..................................................................................................................41

Further Reading.............................................................................................................41

5 - Working with Commands........................................................................42

What Exactly Are Commands?......................................................................................42

Identifying Commands...................................................................................................43

ii

type - Display a Command's Type...........................................................................43

which - Display an Executable's Location...............................................................43

Getting a Command's Documentation..........................................................................44

help - Get Help for Shell Builtins..............................................................................44

--help - Display Usage Information..........................................................................45

man - Display a Program's Manual Page................................................................46

apropos - Display Appropriate Commands..............................................................47

whatis - Display One-line Manual Page Descriptions..............................................48 The Most Brutal Man Page Of Them All..............................................................48

info - Display a Program's Info Entry.......................................................................48

README and Other Program Documentation Files................................................50

Creating Our Own Commands with alias......................................................................50

Summing Up..................................................................................................................52

Further Reading.............................................................................................................52

6 - Redirection................................................................................................54

Standard Input, Output, and Error.................................................................................54

Redirecting Standard Output.........................................................................................55

Redirecting Standard Error............................................................................................57

Redirecting Standard Output and Standard Error to One File.................................57

Disposing of Unwanted Output.................................................................................58

/dev/null In Unix Culture......................................................................................58

Redirecting Standard Input............................................................................................58

cat - Concatenate Files............................................................................................59

The Difference Between > and |..........................................................................61

uniq - Report or Omit Repeated Lines......................................................................62

wc - Print Line, Word, and Byte Counts...................................................................63

grep - Print Lines Matching a Pattern......................................................................63

head / tail - Print First / Last Part of Files................................................................64

tee - Read from Stdin and Output to Stdout and Files............................................65

Summing Up..................................................................................................................66

Linux Is About Imagination..................................................................................66

7 - Seeing the World as the Shell Sees It....................................................68

Pathname Expansion...............................................................................................69

Pathname Expansion of Hidden Files.................................................................70

Tilde Expansion........................................................................................................70

Arithmetic Expansion................................................................................................71

Brace Expansion......................................................................................................72

Parameter Expansion...............................................................................................73

Command Substitution.............................................................................................74

Double Quotes..........................................................................................................76

Single Quotes...........................................................................................................78

Escaping Characters................................................................................................78

Backslash Escape Sequences............................................................................79

Summing Up..................................................................................................................79

iii

Further Reading.............................................................................................................80

8 - Advanced Keyboard Tricks.....................................................................81

Command Line Editing..................................................................................................81

Cursor Movement.....................................................................................................81

Modifying Text...........................................................................................................82

Cutting and Pasting (Killing and Yanking) Text.........................................................82

The Meta Key......................................................................................................83

Programmable Completion..................................................................................85

Using History.................................................................................................................85

Searching History.....................................................................................................86

History Expansion.....................................................................................................88

Summing Up..................................................................................................................89

Further Reading.............................................................................................................89

9 - Permissions..............................................................................................90

Owners, Group Members, and Everybody Else............................................................91

Reading, Writing, and Executing...................................................................................92

chmod - Change File Mode.....................................................................................94

What the Heck is Octal?......................................................................................95

Setting File Mode with the GUI.................................................................................98

umask - Set Default Permissions............................................................................98

Some Special Permissions................................................................................100

Changing Identities......................................................................................................101

su - Run a Shell with Substitute User and Group IDs...........................................102 sudo - Execute a Command as Another User.......................................................103

Ubuntu and sudo...............................................................................................104

chown - Change File Owner and Group................................................................104

chgrp - Change Group Ownership.........................................................................106

Exercising Our Privileges............................................................................................106

Changing Your Password............................................................................................108

Summing Up................................................................................................................109

Further Reading..........................................................................................................109

10 - Processes..............................................................................................110

How a Process Works.................................................................................................110

Viewing Processes.......................................................................................................111

Viewing Processes Dynamically with top................................................................113

Controlling Processes..................................................................................................116

Interrupting a Process.............................................................................................116

Putting a Process in the Background.....................................................................117

Returning a Process to the Foreground.................................................................118

Stopping (Pausing) a Process................................................................................118

Sending Signals to Processes with kill...................................................................120

Sending Signals to Multiple Processes with killall..................................................122

Shutting Down the System..........................................................................................123

More Process-Related Commands.............................................................................124

iv

Summing Up................................................................................................................124

Part 2 - Configuration and the Environment..............................127

11 - The Environment..................................................................................128

What is Stored in the Environment?............................................................................128

Examining The Environment..................................................................................128

Some Interesting Variables.....................................................................................130

How Is The Environment Established?.......................................................................131

What's in a Startup File?........................................................................................132

Modifying the Environment..........................................................................................134

Which Files Should We Modify?.............................................................................135

Text Editors.............................................................................................................135

Using a Text Editor.................................................................................................136

Why Comments Are Important..........................................................................139

Activating Our Changes..........................................................................................140

Summing Up................................................................................................................140

Further Reading..........................................................................................................140

12 - A Gentle Introduction to vi..................................................................141

Why We Should Learn vi.............................................................................................141

A Little Background.....................................................................................................142

Starting and Stopping vi..............................................................................................142

Compatibility Mode............................................................................................143

Editing Modes..............................................................................................................144

Entering Insert Mode..............................................................................................145

Saving Our Work....................................................................................................145

Moving the Cursor Around...........................................................................................146

Basic Editing................................................................................................................147

Appending Text.......................................................................................................147

Opening a Line.......................................................................................................148

Deleting Text...........................................................................................................149

Cutting, Copying, and Pasting Text........................................................................150

Joining Lines...........................................................................................................152

Searching Within a Line..........................................................................................152

Searching the Entire File........................................................................................152

Global Search-and-Replace...................................................................................153

Editing Multiple Files...................................................................................................155

Switching Between Files.........................................................................................156

Opening Additional Files for Editing.......................................................................157

Copying Content from One File into Another..........................................................157

Inserting an Entire File into Another.......................................................................158

Saving Our Work.........................................................................................................159

Summing Up................................................................................................................160

Further Reading..........................................................................................................160

13 - Customizing the Prompt......................................................................162

Anatomy of a Prompt...................................................................................................162

v

Trying Some Alternative Prompt Designs....................................................................164

Adding Color................................................................................................................165

Terminal Confusion............................................................................................165

Moving the Cursor.......................................................................................................168

Saving the Prompt.......................................................................................................169

Summing Up................................................................................................................169

Further Reading..........................................................................................................170

Part 3 - Common Tasks and Essential Tools.............................171

14 - Package Management..........................................................................172

Packaging Systems.....................................................................................................172

How a Package System Works...................................................................................173

Package Files.........................................................................................................173

High and Low-level Package Tools........................................................................174

Common Package Management Tasks.......................................................................175

Finding a Package in a Repository.........................................................................175

Installing a Package from a Repository..................................................................175

Installing a Package from a Package File..............................................................176

Removing a Package.............................................................................................176

Updating Packages from a Repository...................................................................177

Upgrading a Package from a Package File............................................................177

Listing Installed Packages......................................................................................178

Determining Whether a Package is Installed.........................................................178

Displaying Information About an Installed Package...............................................179

Finding Which Package Installed a File.................................................................179

Summing Up................................................................................................................180

The Linux Software Installation Myth.................................................................180

Further Reading..........................................................................................................181

15 - Storage Media.......................................................................................182

Mounting and Unmounting Storage Devices...............................................................182

Viewing a List of Mounted File Systems.................................................................184

Why Unmounting Is Important...........................................................................187

Determining Device Names....................................................................................188

Creating New File Systems.........................................................................................191

Manipulating Partitions with fdisk...........................................................................192

Creating a New File System with mkfs...................................................................194

Testing and Repairing File Systems............................................................................195

What the fsck?...................................................................................................196

Moving Data Directly to and from Devices..................................................................196

Creating CD-ROM Images..........................................................................................197

Creating an Image Copy of a CD-ROM..................................................................197

Creating an Image From a Collection of Files........................................................197

A Program by Any Other Name.........................................................................198

Writing CD-ROM Images.............................................................................................198

Mounting an ISO Image Directly............................................................................198

vi

Blanking a Rewritable CD-ROM.............................................................................199

Writing an Image....................................................................................................199

Summing Up................................................................................................................199

Further Reading..........................................................................................................199

Extra Credit..................................................................................................................199

16 - Networking............................................................................................201

Examining and Monitoring a Network.........................................................................202

Transporting Files Over a Network..............................................................................206

lftp - A Better ftp.....................................................................................................209

Secure Communication with Remote Hosts................................................................209

Tunneling with SSH...........................................................................................213

scp and sftp............................................................................................................214

An SSH Client for Windows?.............................................................................215

Summing Up................................................................................................................215

Further Reading..........................................................................................................215

17 - Searching for Files...............................................................................217

locate - Find Files the Easy Way................................................................................217

Where Does the locate Database Come From?...............................................219

find - Find Files the Hard Way....................................................................................219

Predefined Actions..................................................................................................225

User-Defined Actions..............................................................................................227

Improving Efficiency...............................................................................................228

Dealing with Funny Filenames..........................................................................229

A Return to the Playground....................................................................................229

Summing Up................................................................................................................233

Further Reading..........................................................................................................233

18 - Archiving and Backup.........................................................................234

Compressing Files.......................................................................................................234

Don't Be Compressive Compulsive...................................................................238

Archiving Files.............................................................................................................238

Synchronizing Files and Directories............................................................................246

Using rsync Over a Network...................................................................................249

vii

Summing Up................................................................................................................250

Further Reading..........................................................................................................250

19 - Regular Expressions...........................................................................251

What are Regular Expressions?.............................................................................251

Metacharacters and Literals........................................................................................253

The Any Character......................................................................................................254

A Crossword Puzzle Helper...............................................................................256

Bracket Expressions and Character Classes..............................................................256

Traditional Character Ranges.................................................................................257

POSIX Character Classes......................................................................................258

quotesdbs_dbs17.pdfusesText_23
[PDF] 5 1 skills practice monomials answers

[PDF] 5 1 word problem practice operations with polynomials answers

[PDF] 5 2 skills practice polynomials answers

[PDF] 5 2 skills practice polynomials answers page 247

[PDF] 5 2 study guide and intervention

[PDF] 5 2 study guide and intervention add and subtract polynomials answers

[PDF] 5 2 study guide and intervention answer key

[PDF] 5 2 study guide and intervention answers

[PDF] 5 2 study guide and intervention composition of functions

[PDF] 5 2 study guide and intervention dividing polynomials

[PDF] 5 2 study guide and intervention dividing polynomials answer key

[PDF] 5 2 study guide and intervention dividing polynomials answers

[PDF] 5 2 study guide and intervention dividing polynomials worked out

[PDF] 5 2 study guide and intervention substitution

[PDF] 5 2 study guide and intervention verifying trigonometric identities