Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
The Linux Cookbook - Tips And Techniques For Everyday Use

The Linux Cookbook - Tips And Techniques For Everyday Use

Ratings: (0)|Views: 13|Likes:
Published by tensor9000

More info:

Published by: tensor9000 on Apr 13, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

04/13/2011

pdf

text

original

 
The Linux Cookbook: Tips and Techniques for Everyday Us
 
The Linux Cookbook:Tips and Techniques f or Everyday Use.....................................................................1Preface ................................................................................................................................................................3
1.0 Format of Recipes ............................................................................................................................41.1 Assumptions, Scope, and Exclusions ..............................................................................................51.2 Typographical Conventions .............................................................................................................61.3 Versions, Latest Edition, and Errata ................................................................................................71.4 Acknowledgments............................................................................................................................8
PART ONE: Workingwith Linux .................................................................................................................102. Introduction .................................................................................................................................................11
2.1 Background and History ................................................................................................................112.1.1 What's Unix? ..................................................................................................................112.1.2 What's Free Software? ...................................................................................................122.1.3 What's Open Source? .....................................................................................................132.1.4 What's Linux? ................................................................................................................142.1.5 What's Debian? ..............................................................................................................142.1.6 Unix and the Tools Philosophy ......................................................................................152.2 What to Try First ............................................................................................................................172.3 If You NeedMore Help .................................................................................................................18
3. What Every Linux User Knows .................................................................................................................20
3.1 ControllingPower to the System ...................................................................................................203.1.1 PoweringUp the System ................................................................................................213.1.2 Turning Off the System .................................................................................................213.2 Accounts and Privileges .................................................................................................................213.2.1 Logging In to the System ...............................................................................................223.2.2 Logging Out of the System ............................................................................................243.3 Console Basics ...............................................................................................................................243.3.1 Switching between Consoles.........................................................................................253.3.2 Scrolling the Console Text ............................................................................................263.3.3 Keys for Console Manipulation .....................................................................................263.4 Running a Command .....................................................................................................................273.5 Changing Your Password ..............................................................................................................283.6 Listing User Activity .....................................................................................................................293.6.1 Listing Your Username ..................................................................................................293.6.2 Listing Who Is on the System ........................................................................................303.6.3 Listing Who Is on and What They're Doing ..................................................................303.6.4 Listing the Last Times a User Logged In ......................................................................313.7 Listing System Activity .................................................................................................................323.7.1 Listing Your Current Processes .....................................................................................323.7.2 Listing All of a User'sProcesses ...................................................................................333.7.3 Listing All Processes on the System ..............................................................................333.7.4 Listing Processes by Name or Number ..........................................................................343.8 Help Facilities ................................................................................................................................343.8.1 Finding the Right Tool for the Job.................................................................................35
The Linux Cookbook: Tips and Techniques for Everyday Use:i
 
3.8.2 Listing aDescription of a Program ................................................................................363.8.3 Listing the Usage of a Tool............................................................................................36 3.8.4 Reading a Page from the System Manual ......................................................................373.8.5 Using the GNU Info System ..........................................................................................383.8.6 Reading System Documentation and Help Files ...........................................................40
4. The Shell ......................................................................................................................................................42
4.1 Keys for CommandLine Editing ...................................................................................................424.1.1 Passing Special Characters to Commands .....................................................................444.1.2 Letting the Shell Complete What You Type .................................................................454.1.3 Repeatingthe Last Command You Typed .....................................................................464.1.4 Running aList of Commands ........................................................................................474.2 Redirecting Input and Output .........................................................................................................474.2.1 Redirecting Input to a File .............................................................................................484.2.2 Redirecting Output toa File ...........................................................................................484.2.3 Redirecting Error Messages to a File .............................................................................494.2.4 Redirecting Output to Another Command's Input.........................................................494.3 Managing Jobs ...............................................................................................................................504.3.1 Suspending a Job ...........................................................................................................504.3.2 Putting a Job in the Background....................................................................................514.3.3 Putting a Job in the Foreground .....................................................................................524.3.4 Listing Your Jobs ...........................................................................................................524.3.5 Stoppinga Job ................................................................................................................534.4 Command History ..........................................................................................................................534.4.1 Viewing Your Command History ..................................................................................544.4.2 Specifying a Command from Your History ...................................................................554.5 Recording a Shell Session ..............................................................................................................554.6 Customizing Your Shell .................................................................................................................564.6.1 Changingthe Shell Prompt ............................................................................................574.6.2 Making a Command Alias .............................................................................................584.6.3 Adding to Your Path ......................................................................................................594.6.4 Customizing Future Shells .............................................................................................59
5. The X Window System ...............................................................................................................................62
5.1 Running X ......................................................................................................................................625.1.1 Starting X.......................................................................................................................655.1.2 StoppingX .....................................................................................................................655.2 Running a Programin X ................................................................................................................665.2.1 Specifying Window Size and Location .........................................................................675.2.2 Specifying Window Colors ............................................................................................695.2.3 Specifying Window Font ...............................................................................................695.2.4 Specifying Additional Window Attributes ....................................................................705.3 Manipulating X Client Windows ...................................................................................................705.3.1 Moving aWindow .........................................................................................................715.3.2 Resizing a Window ........................................................................................................715.3.3 Destroying a Window ....................................................................................................715.3.4 Minimizing a Window ...................................................................................................72
The Linux Cookbook: Tips and Techniques for Everyday Use:ii

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->