200604-Linux.pdf

(2308 KB) Pobierz
Fast Track
to
Linux
By Team Digit
Credits
The People Behind This Book
EDITORIAL
Deepak Ajwani
Editor
Robert Sovereign-Smith,
Copy Editor
Ram Mohan Rao,
Copy Editor
Anup Nair
Writer
Kailash Shastry
Writer
DESIGN AND LAYOUT
Vijay Padaya
Layout Designer
Sivalal S
Cover Design
Harsho Mohan Chattoraj
Illustrator
© Jasubhai Digital Media
Published by Maulik Jasubhai on behalf of Jasubhai Digital Media
.
No part of this book may be reproduced, stored in a retrieval
system or transmitted in any form or by any means without the
prior written permission of the publisher.
April 2006
Free with Digit. Not to be sold separately. If you have paid
separately for this book, please e-mail the editor at
editor@thinkdigit.com
along with details of location of
purchase, for appropriate action.
Introduction
The Other
Operating System
W
hy this Fast Track on Linux? Well, mostly because we’ve
spoken so much about it in
Digit,
and because there are
many of you out there who, even then, have no clue that
The Other Operating System can actually be used by human beings.
We don’t aim here to give you high-flying tips—just a mild intro-
duction, but we cover what’s necessary for a first-timer to get started.
We start off with a history lesson, and with good reason: a
knowledge of Linux’s open source and community-driven begin-
nings is important to fully appreciate what it is today. Then follows
a workshop-like chapter on how to get started using Linux—instal-
lation, post-installation procedures, some basic commands, and so
on. File management in Linux is more "advanced" than in
Windows—meaning you can play around more with the filesys-
tem—and chapter 3 is therefore devoted entirely to files. Then fol-
lows, in chapter 4, a discussion of the X window system and the
Gnome and K desktop environments.
Chapters 5 and 6 are about stuff you can do on Linux—text edit-
ing, image manipulation, multimedia—you’ll find out for yourself
later, but take our word for it now: Linux isn’t only about kernel
recompiling and C programming at a command prompt! We pro-
ceed to tell you how to use your Linux machine for gaming.
No discussion of Linux can be complete without talking about
the networking aspect—because Unix and its derivatives are essen-
tially server-oriented OSes—and that we do in chapter 7. And if
you’ve decided by then that you want to try out a Linux distro (or
flavour, if you like to call it that), chapter 8 is about the differences
between the most common distros, and their salient features.
We round off the book with a discussion of system administra-
tion in Linux, and finally, we point you to Web resources.
It’s our sincere hope that even if you don’t actually make the
switch from Windows, you will experiment a little to get an idea of
the variety of choices you have!
LINUX
Contents
Chapter 1
1.1
1.2
1.3
1.4
1.5
1.6
1.7
Chapter 2
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
Chapter 3
3.1
3.2
3.3
3.4
Chapter 4
4.1
Chapter 5
5.1
5.2
5.3
5.4
What Is Linux?
A Brief History Of Linux
Open Source—Where Everyone
Can Be A Developer
Some Questions The World Is Asking
What Is Linux?
The GPL (General Public License)
Distributions
Live CDs
Getting GNU/Linux Running
Installing Linux
Post-installation procedures
The Root User
The Linux Directory Structure
Basic Operations In Linux
Shells and Virtual Consoles
File Ownership And Permissions
Changing Permissions At Command Prompt
Inside Linux
The /proc File System
System Maintenance
Single User Mode
Managing User Accounts
The X Window System
The X Window System
Tools And Applications
Simple Text Editors And Utilities
OpenOffice.org
The GIMP
Inkscape
8
9
15
18
18
20
22
23
25
26
34
35
37
40
48
50
52
54
55
57
61
63
65
66
82
83
85
88
92
6
FAST TRACK
Zgłoś jeśli naruszono regulamin