The Linux Cookbook

Total Page:16

File Type:pdf, Size:1020Kb

The Linux Cookbook The Linux Cookbook Tips and Techniques for Everyday Use Michael Stutz 2nd Edition Completely Revised and Expanded San Francisco The Linux Cookbook. Copyright c 2001, 2002, 2003, 2004 by Michael Stutz All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher. Printed in the United States of America 12345678910–04 03 02 01 No Starch Press and the No Starch Press logo are registered trademarks of No Starch Press. Linux is a registered trademark of Linus Torvalds. Trademarked names are used throughout this book. Rather than use a trademark symbol with every occurrence of a trademarked name, we are using the names only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. Publisher: William Pollock Managing Editor: Karol Jurado Cover Design: Octopod Studios Book Design: Michael Stutz Technical Reviewer: John Mark Walker Copyeditor: Andy Carroll Proofreader: Mary Johnson For information on book distribution or translations, please contact No Starch Press, Inc. directly: No Starch Press, Inc. 555 De Haro Street, Suite 250, San Francisco, CA 94107 phone: 415-863-9900; fax: 415-863-9950; [email protected]; www.nostarch.com The information in this book is distributed on an “As Is” basis, without warranty. While every precaution has been taken in the preparation of this work, neither the author nor No Starch Press, Inc. shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the information contained in it. Every effort has been made to include only the best free software recipes for accomplishing tasks in the easiest and most efficient manner, and they are believed to be correct. Suggestions, comments, and field reports are always welcome; the author may be contacted by electronic mail at [email protected]. Library of Congress Cataloging-in-Publication Data Stutz, Michael. Linux cookbook : tips and techniques for everyday use / Michael Stutz.-- 2nd ed. p. cm. Includes index. ISBN 1-59327-031-3 1. Linux. 2. Operating systems (Computers) I. Title. QA76.76.O63 S788 2004 005.4'32--dc22 2003021940 A note on the type in which this book is set The name of the font family used in this book is Computer Modern. These are free fonts designed by Donald E. Knuth for his TEX typesetting system, and are described in Volume E of the Computers & Typesetting series, Computer Modern Typefaces (Addison–Wesley, 1986). This book was written and produced using the free software tools it describes. It was prepared with Texinfo, a documentation system that uses TEX to gener- ate typeset output. The Texinfo input files were composed in gnu Emacs, and the screen shots were taken and processed with the ImageMagick suite of tools. The dvi output was converted to PostScript for printing using Tomas Rokicki’s Dvips, gnu Ghostscript, and Angus Duggan’s PostScript Utilities. The sys- tem was a 1,000 MHz 686 personal computer running Debian gnu/Linux 3.0. Updates Visit http://www.nostarch.com/lcbk2.htm for updates, errata, and other information. About the author Michael Stutz was the first to apply the “open source” methodology of Linux to non-software works, and was one of the first reporters to cover Linux and the free software movement in the mainstream press. He has used Linux exclusively for over a decade. v Contents at a Glance Preface to the Second, Revised Edition.......................... xxxiii I. WORKING WITH LINUX ............................................ 1 1 Introduction ................................................. 3 2 What Every Linux User Knows ............................. 27 3 The Shell ................................................... 53 4 The X Window System ..................................... 95 II. FILES........................................................... 123 5 Files and Directories ....................................... 125 6 Sharing Files .............................................. 163 7 Finding Files .............................................. 171 8 Managing Files ............................................ 187 III. TEXT.......................................................... 209 9 Viewing Text .............................................. 211 10 Editing Text ............................................... 231 11 Grammar and Reference ................................... 275 12 Analyzing Text ............................................ 293 13 Formatting Text ........................................... 305 14 Searching Text............................................. 333 15 Typesetting and Word Processing .......................... 357 16 Using Fonts................................................ 395 IV. IMAGES........................................................ 405 17 Viewing Images ............................................ 407 18 Editing Images ............................................ 421 19 Importing Images .......................................... 441 20 PostScript ................................................. 451 V. SOUND......................................................... 461 21 Playing and Recording Sound .............................. 463 22 Audio Compact Discs ...................................... 477 23 Editing Sound Files ........................................ 487 VI. PRODUCTIVITY ................................................ 499 24 Disk Storage ............................................... 501 25 Printing ................................................... 509 26 Cross-Platform Conversions ................................ 525 27 Reminders ................................................. 537 28 Scheduling ................................................. 555 vi The Linux Cookbook, 2nd Edition 29 Mathematics............................................... 561 30 Amusements ............................................... 583 VII. NETWORKING................................................. 595 31 Communications ........................................... 597 32 Email...................................................... 611 33 The World Wide Web...................................... 637 34 Other Internet Services .................................... 671 APPENDICES ...................................................... 697 Appendix A Administrative Issues ........................... 699 Appendix B Conventional File Name Extensions ............. 723 Appendix C Setting Up Your Home Directory ............... 727 Appendix D References for Further Interest .................. 731 Program Index.................................................... 739 Concept Index .................................................... 747 vii Table of Contents Preface to the Second, Revised Edition...... xxxiii I. WORKING WITH LINUX ......................... 1 1. Introduction ............................... 3 1.1 Recipes .................................................. 3 1.1.1 Recipe Numbers ................................. 3 1.1.2 Preparation of Recipes ........................... 3 1.1.3 Format of Recipes................................ 4 1.2 Typographical Conventions ................................ 6 1.3 Who This Book Assumes You Are ......................... 9 1.4 What This Book Won’t Show You ........................ 10 1.5 What to Try First ....................................... 12 1.6 If You Need More Help .................................. 13 1.7 Background and History of Linux ......................... 15 1.7.1 Early Days of unix.............................. 15 1.7.2 Genesis of the Free Software Movement ........... 16 1.7.3 The Arrival of Linux ............................ 18 1.7.4 Debian, Red Hat, and Other Linux Distributions .. 19 1.7.5 The Penguin.................................... 20 1.7.6 Open Source, Free Content, and the Future ....... 20 1.7.7 unix and the Tools Philosophy................... 22 2. What Every Linux User Knows ............ 27 2.1 Controlling Power to the System .......................... 27 2.1.1 Powering Up the System......................... 27 2.1.2 Turning Off the System.......................... 27 2.2 Using Your Account ..................................... 28 2.2.1 Logging In to the System ........................ 29 2.2.2 Logging Out of the System ...................... 31 2.3 Using Consoles and Terminals ............................ 32 2.3.1 Getting the Virtual Console Number ............. 33 2.3.2 Switching Between Consoles ..................... 33 2.3.3 Scrolling Text in the Console..................... 34 2.3.4 Clearing the Terminal Screen .................... 35 2.3.5 Resetting the Terminal Screen ................... 36 viii The Linux Cookbook, 2nd Edition 2.4 Running a Command .................................... 36 2.4.1 Displaying a Tool’s Available Options ............ 37 2.4.2 Displaying the Version of a Tool.................. 38 2.5 Changing Your Password ................................. 38 2.6 Listing User Activity..................................... 39 2.6.1 Displaying Your Username ....................... 39 2.6.2 Listing Who Is on the System .................... 39 2.6.3 Listing Who Is on and What They’re Doing....... 40 2.6.4 Listing the Last Time a User Logged In........... 41 2.7 Listing Processes ........................................ 41 2.7.1 Listing Your Current
Recommended publications
  • 10, 1969 at Weatflem, K.J
    25 EiCRQAD ST» mi JJRSBK .*•• School's Out- Drive Carefully **1*<S THE WESTFIELD LEADER THf HADING AND MOST WIDELY ClRCUIATtD WilKlY NEWSPAPER IN UNION COUNTY Second Cliiss Postage Fai4 SEVENTY-NINTH YEAR—No. 49 WESTFIELD, NEW JERSEY, THURSDAY, JULY 10, 1969 _ at WeatfleM, K.J. SOPages—W Cents Local Sex Education Add Twenty Seven Board Okays Not Seen Stalled New Teachers; Name Albert Bobal By State Legislation Fifteen Resign The passage by the New Jersey Senate of two sex ethication-retated Twenty seven new teachers were New WHS Principal WE A Pact Assembly resolutions iast week lias but little impact on- the beat existing appointed to the WestHeld public A 16'pag'e agreement between the We&fcfieM Education Association, family living—sex education curriculum in elementary schools. school; stafi at a meetireg of tiie AJfoert R. Bobai was appointed Tuesday night by the Board of Educa- : bargaining agent for local scferal personnel, and the Boartt of Education But tfhe resolutions do eliminate the expansion of sex education Board of Education Tuesday night. tion as the new principal of Westfield Senior High School. Succeeding Dt". was rallied unanimwisly by the sctiool board! at its meeting Tuesday courses to the secondary tevel. Fifteen resignations also were ap- 37 Area Scouts Robert L. Foose, Mr. Bobai will assume his new duties on Tuesday. Bighl, The <tocamerit is <ahe first of its kind here in accordance with recent The legislation, ACR 69 and AOB proved. .state legislates covering public employes. 84, directs the Senate and General Westfield Band •Theitiew teachers are Mrs.
    [Show full text]
  • Radioecological Studies on Terrestrial Food Chain Analysis for Accidental Release
    KAERI/RR-2035/99 KR0000196 M Development of Environmental Radiation Protection Technology Radioecological Studies on Terrestrial Food Chain Analysis for Accidental Release 7) 7| 31/ 40 KAER1/RR-2035/99 2=| Development of Environmental Radiation Protection Technology Radioecological Studies on Terrestrial Food Chain Analysis for Accidental Release 71 Please be aware that all of the Missing Pages in this document were originally blank pages n\ 2000^ o| o| 0| o| a o| 0| I. n. 16 tfltb ^ 71^ III. ifl-g- ~-S- Co-57, Sr-85, Ru-103, Cs-134) ^ H-3 D/B H Sr-90 ^ Rl Ill tp#te [opt 001 ^ '((« 005 ^ fr IbU-te a ^ >9-«IAI -R T *AI 2. H-3 HT0 H-3 HTO -f 101000% TFWT > #71 > > TFWT HTO H-3) ^ TFWT ^ TFWT 0.04-0.05% 6]^-ifl OBT ^ TFWT ^3Efi| 0.6-0.8% ^elA] OBT OBT TFWT 0.01~0.4% 0.13-0.35%, 0.02-0.66%^! 3. 5.1 IV 10"2~ 2.1 xiO'1, fe- 2.4X10''1 1-8.5x10"" ^ 6)^4 1 7}^ fe. 7.6-22.0%, 7.6xl0""4~9.7xl0""34 fe 1^ 99% I 7> >i 1.6 /g 0.03-0.04 -Al z]- «- ^ < 6.5 4. ^ D/B D/B 5 , Co, Sr, Cs, Ru f-) s.^ visual Basic^- A °g^^- Visual Basic4 ^ o]s.^x]^ ACCESS ^^l-^4. D/B 5 RTRACK(Radionuclide TRAnsfer data for Crop plants of Korean 5. Rr 5~6 ^iE^jL -fi-7]!- ^£- 2~3% Cs-1373f Sr-90 ^£^ 44 4.5-13.4 Bq/kg-dry 0.7-2.5 # ^ ^ Cs-1374 Sr- (m2/kg-dry)^ AA £°oHl 4^- 3.8xi0"5-2.0xl0"4 ^ 9.5XlO~5~6.5x 10"4^] ^^^ Sr-90 ^*]^l^r7l- Cs-137 ^A 20-30 aflM- ^7>§l-^3l Sr-90^1 ^ 2-3 Cs-137 Q°]A^A Sr-90 ^^^^^4 0^^^ 2 ^ Cs-1375] ^4- j/ej A4 Sr-90^] ^-f 2-3 afl ^S.
    [Show full text]
  • VTWM Vtwm, Aka Virtual Tabbed Window Manager, Est Né En 1992 Sur Les Sources De Twm En Y Ajoutant La Gestion Des Bureaux Virtuels
    VTWM vtwm, aka Virtual Tabbed Window Manager, est né en 1992 sur les sources de twm en y ajoutant la gestion des bureaux virtuels. c'est un gestionnaire de fenêtre ultra basic mais avec de nombreuses options. ancien, il se configure depuis un unique fichier ~/.vtwmrc. c'est un 'floating', c'est à dire qu'il laisse l'utilisateur placer les fenêtres. il est rapide, réactif et très léger. il convient parfaitement pour les petites configurations matérielles. Sommaire VTWM.................................................................................................................................1 Screenshots....................................................................................................................1 installation......................................................................................................................2 composants....................................................................................................................2 configuration...................................................................................................................2 utilisation........................................................................................................................3 Screenshots 1 installation vtwm est présent dans les dépots de la plupart des distributions. pour Debian, dans un terminal: # apt-get install vtwm composants la session vtwm dispose de plusieurs éléments: • IconManager : une boite à icones servant aussi de tasklist. • VirtualDesktop : un pager simple. • Vtwm
    [Show full text]
  • October 13, 1983 Oste (W,G-6Axl,Fl)7A Battles at Schoolcraft Gym Vs
    Volume 19 Number 32 Thursday. Ootober 13.1983 * Westland, Michigan Twenty-five cents Ji-v&'> :'-r- :::mm.mm§. io^gjafc^rj^-^fetr^i^.al^^Ti^.ik Ml: ^ii^ilMiilllS ••, v.- .:-i :-, i c-..-... -V • '». : ( • lyt:.-.-. v:| Ki,-1:. ki .• r. Candidates call for development at chamber lunch By 8andrs Armbru«tsr Asked If such Illegal transfers were editor made while he was finance director, Herbert said, "Absolutely not. Three Gearing remarks to the concerns of years ago the city had a $1 million sur­ their business audience, six of v eight plus, There wasn't the need. Why would candidates running for city council ad­ anyone do that with a surplus?" dressed Issues concerning Westland's economic development during speeches QUESTIONING Herbert about the before the chamber of commerce. surplus, Elizabeth Davis, Pickering's But it was Mayor Charles Pickering secretary, asked why there was a defi­ who fired the opening salvo during the cit when the mayor took office. • question and answer period by charg­ "There was $1.7 million In the banks ing that the "incumbents are running and on deposit when I walked out the their campaign based on my record, door," said Pickering. not theirs." . He admitted, however, that his de­ Pickering asked Councilman Kent partment had predicted a $300,000 def­ Herbert, whose appointment the mayor icit by June that year and had submit­ had vetoed, if he would accept blame ted a plan on how it should be handled. for "bad deals" made while Herbert "Unfortunately, nothing was done," was the city's finance director.
    [Show full text]
  • Corpos De Milhares E Milhares De Soldados Cobrindo Os Campos ANO — XIII Quinto Fciic, 6 De Novembro De 1941 — N
    Front de 9 lados contra o Eixo ^^^1 ^^^Bm%^ê m ^^^y B Pm\ ^^^1 ^^H^^HI PH P^^b ^Am mmL^^mmã ^^b¦ m ¦¦^^ai a DEMOSCOU imenso monstruoso Corpos de milhares e milhares de soldados cobrindo os campos ANO — XIII Quinto fciic, 6 de Novembro de 1941 — N. 3.408 tid ¦ V 沦¦ Proporções tgfc.TfrS'" ¦ „^^**^^mmmrmw^L%WJm-^.'.^mtmmm^mm^m^m*m^mtjBUGmm^mta&tffi Divisão da África Fantástica!! Toda ela para o Reich ; KUIBYSHEV, 6 (U. P.i j — Segundo despachos dc Itália, França e Espanha Moscou, os compôs dc bo- talho da frente central as- E se a Inglaterra não concordar, o ataque alemão às Ilhas Britâni- semelham-se móis a um cas — Lutando na Rússia. íi cariam italianos e franceses matadouro. — A matança dc homens LONDRES. 6 (U. P.) Noticias fidedignas recebidas nesta capi- e a destruição do maloriais tal revelam que a Alemanha e a Itália elaboraram um plano desti- em toda a frente são cnor- nado a dividir a África em esferas de influencia com a total ex- mei tanto de um lado co- clusão da Inglaterra e da Bélgica. A África seria dividida entre a mo de outro. Alemanha, Itália, França e Espanha. Os cadáveres de milha- res o milhares de soldados AS ILHAS CANÁRIAS¦—— cobram os campos de luta I.OMUtKS, (I (U. P.) — I»- fiirmii-»,* .|ii>- ns (.i.iiiii» ila Ali'- juntamente com uma in- iiiiiiiIim •* H.iiiii nn Africa, pri- crivei quantidade de car- ilVni n ...ii..-»«i"iii «li- illn.» In- X-^l**Ar,{*t~X WtmmT*im*^^^mmm'I^^^HmWÍ' n.ii i.i» A r-pniilm.
    [Show full text]
  • Dwarf's Guide to Debian GNU/Linux
    Dwarf’s Guide to Debian GNU/Linux 2001 Dale Scheetz Dwarf’s Guide to Debian GNU/Linux Copyright c 2001 Dale Scheetz Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with the Invariant Sections being Chapter 1 Introduction, with no Front-Cover Texts, and with the Back-Cover Texts being “The early development of the material in this work was produced with the financial support of Planet Linux. This support was intrumental in bringing this project to completion.” A copy of the license is included in the section entitled “Appendix 9: GNU Free Documentation License” which can be found on page 271. Trademark Acknowledgements All terms mentioned in this book that are known to be trademarks or service marks have been appropriately capitalized. The publisher cannot attest to the accuracy of this information. Use of a term in this book should not be regarded as affecting the validity of any trademark or service mark. Apple and Macintosh are registered trademarks of Apple Computer, Inc. CP/M is a registered trademark of Caldera, Inc. IBM is a registered trademark of International Business Machines, Inc. MS is a trademark of Microsoft Corporation. Windows is a trademark of Microsoft Corporation. X Window System is a registered trademark of X Consortium, Inc. ii dedicated to Linux users everywhere iii CREDITS First I want to thank Ian Murdock for writing the History section. His per- spectives on those early years have helped latecomers like Dwarf understand the founding principles upon which Debian is based.
    [Show full text]
  • The Complete Solutions Guide for Every Linux/Windows System Administrator!
    Integrating Linux and Windows Integrating Linux and Windows By Mike McCune Publisher : Prentice Hall PTR Pub Date : December 19, 2000 ISBN : 0-13-030670-3 • Pages : 416 The complete solutions guide for every Linux/Windows system administrator! This complete Linux/Windows integration guide offers detailed coverage of dual- boot issues, data compatibility, and networking. It also handles topics such as implementing Samba file/print services for Windows workstations and providing cross-platform database access. Running Linux and Windows in the same environment? Here's the comprehensive, up-to-the-minute solutions guide you've been searching for! In Integrating Linux and Windows, top consultant Mike McCune brings together hundreds of solutions for the problems that Linux/Windows system administrators encounter most often. McCune focuses on the critical interoperability issues real businesses face: networking, program/data compatibility, dual-boot systems, and more. You'll discover exactly how to: Use Samba and Linux to deliver high-performance, low-cost file and print services to Windows workstations Compare and implement the best Linux/Windows connectivity techniques: NFS, FTP, remote commands, secure shell, telnet, and more Provide reliable data exchange between Microsoft Office and StarOffice for Linux Provide high-performance cross-platform database access via ODBC Make the most of platform-independent, browser-based applications Manage Linux and Windows on the same workstation: boot managers, partitioning, compressed drives, file systems, and more. For anyone running both Linux and Windows, McCune delivers honest and objective explanations of all your integration options, plus realistic, proven solutions you won't find anywhere else. Integrating Linux and Windows will help you keep your users happy, your costs under control, and your sanity intact! 1 Integrating Linux and Windows 2 Integrating Linux and Windows Library of Congress Cataloging-in-Publication Data McCune, Mike.
    [Show full text]
  • 2009 Št Pán Zelman Ě
    tato strana je na pevných deskách Jiho eská univerzita v eských Bud jovicích Pedagogická fakulta BAKALÁ SKÁ PRÁCE 2009 t pán Zelman JIHO ESKÁ UNIVERZITA V ESKÝCH BUD JOVICÍCH PEDAGOGICKÁ FAKULTA KATEDRA FYZIKY BAKALÁ SKÁ PRÁCE Gentoo Linux Vedoucí práce: Ing. Michal erý Vypracovala: t pán Zelman Studijní obor: M ící a výpo etní technika eské Bud jovice, 2009 1 Anotace: Bakalá ská práce si klade za cíl prozkoumat vyuitelnost linuxových distribucí na desktopech, shrnout základní rozdíly mezi linuxovými distribucemi a ostatními opera ními systémy (zejména momentáln nej ast ji se vyskytujícími desktopovými systémy Windows XP a Windows Vista) a objektivn shrnout pozitivní a negativní stránky nasazení linuxové distribuce na desktopu. Sou ástí práce je podrobný popis nej ast ji se vyskytujících komponent linuxové distribuce ur ené pro desktop i notebook a stru ný souhrn nejpopulárn jích distribucí zam ených na uivatele stolních po íta a notebook . Samostatná kapitola je v nována podrobnému popisu distribuce Gentoo Linux, která je od ostatních distribucí v mnoha aspektech odliná, dalí kapitola je v nována praktickému nasazení Linuxu na desktopy ve firemním prost edí. Záv r práce je v nován monostem pouití programovacího jazyka BASIC typického pro prost edí MS-DOS a Windows v linuxových distribucích. Annotation: The aim of this bachelor work is a reconnaissance of using linux distribution on desktop,to summarize the basic differences between linux distributions and the other operation systems(especially the most frequently used desktops system like WindowsXP and Windows Vista) and to summarize objectively a positive and a negative aspects of setting of linux distribution on the desktop.
    [Show full text]
  • Pipenightdreams Osgcal-Doc Mumudvb Mpg123-Alsa Tbb
    pipenightdreams osgcal-doc mumudvb mpg123-alsa tbb-examples libgammu4-dbg gcc-4.1-doc snort-rules-default davical cutmp3 libevolution5.0-cil aspell-am python-gobject-doc openoffice.org-l10n-mn libc6-xen xserver-xorg trophy-data t38modem pioneers-console libnb-platform10-java libgtkglext1-ruby libboost-wave1.39-dev drgenius bfbtester libchromexvmcpro1 isdnutils-xtools ubuntuone-client openoffice.org2-math openoffice.org-l10n-lt lsb-cxx-ia32 kdeartwork-emoticons-kde4 wmpuzzle trafshow python-plplot lx-gdb link-monitor-applet libscm-dev liblog-agent-logger-perl libccrtp-doc libclass-throwable-perl kde-i18n-csb jack-jconv hamradio-menus coinor-libvol-doc msx-emulator bitbake nabi language-pack-gnome-zh libpaperg popularity-contest xracer-tools xfont-nexus opendrim-lmp-baseserver libvorbisfile-ruby liblinebreak-doc libgfcui-2.0-0c2a-dbg libblacs-mpi-dev dict-freedict-spa-eng blender-ogrexml aspell-da x11-apps openoffice.org-l10n-lv openoffice.org-l10n-nl pnmtopng libodbcinstq1 libhsqldb-java-doc libmono-addins-gui0.2-cil sg3-utils linux-backports-modules-alsa-2.6.31-19-generic yorick-yeti-gsl python-pymssql plasma-widget-cpuload mcpp gpsim-lcd cl-csv libhtml-clean-perl asterisk-dbg apt-dater-dbg libgnome-mag1-dev language-pack-gnome-yo python-crypto svn-autoreleasedeb sugar-terminal-activity mii-diag maria-doc libplexus-component-api-java-doc libhugs-hgl-bundled libchipcard-libgwenhywfar47-plugins libghc6-random-dev freefem3d ezmlm cakephp-scripts aspell-ar ara-byte not+sparc openoffice.org-l10n-nn linux-backports-modules-karmic-generic-pae
    [Show full text]
  • X 윈도 시스템 (X Window System)
    GNU/Linux X 윈도 시스템 (X Window System) Seo, Doo-Ok Clickseo.com [email protected] 목차 X 윈도 시스템 자유-오픈소스SW 패키지 2 운영체제 (1/5) 컴퓨터 소프트웨어 구성 시스템 소프트웨어와 응용 소프트웨어 Software System Software Application Software 운영체제 범용 소프트웨어 시스템 운영 프로그램 특정 목적 소프트웨어 시스템 지원 프로그램 시스템 개발 프로그램 3 운영체제 (2/5) 운영체제(OS, Operating System) 자원 관리(resource management) • 프로세스 관리 • 메모리 관리 (Memory management) “시스템 성능의 최적화” – 가상 메모리(Virtual memory) •장치관리: 디바이스 드라이버(Device drivers) •파일관리: 디스크 접근 및 파일 시스템 • 네트워크 및 보안 4 운영체제 (3/5) 운영체제 : 인터페이스 “사용자 편리성의 최적화” 사용자 인터페이스(User Interface) • 컴퓨터 하드웨어와 사용자(프로그램 또는 사람)간 인터페이스 제공 • CLI (Command Line Interface) • GUI (Graphical User Interface) [ CLI, Bash (Bourne-Again Sell) - UNIX Shell ] [ GUI, X11 and KDE ] 5 운영체제 (4/5) X 윈도 데스크톱 환경 : GNOME [ 출처 : GNOME, gnome.org ] 6 운영체제 (5/5) X 윈도 데스크톱 환경 : KDE [ 출처 : “KDE Plasma 5”, KDE, WIKIPEDIA. ] 7 X 윈도 시스템 X 윈도 시스템 디스플레이 서버 클라이언트 라이브러리 X 윈도 매니저 X 윈도 데스크톱 환경 자유-오픈소스SW 패키지 8 X 윈도 시스템 (1/2) X Window System : X11, X 주로 유닉스 계열 운영체제에서 사용되는 윈도 시스템 • 네트워크 프로토콜(X 프로토콜)에 기반한 그래픽 사용자 인터페이스 – GUI 환경의 구현을 위한 기본적인 프레임워크를 제공 • 1984년, 아데나 프로젝트(Athena Project)의 일환으로 시작 – 플랫폼 독립적으로 작동하는 그래픽 시스템 개발을 위해 DEC, IBM, MIT가 공동으로 진행 • 1986년, X10.4 공개 • 1987년, X11 발표 X 컨소시엄(X Consortium) • X11 버전 개정 : X11R2, X11R6 버전 발표 • 1996년 12월, X11R6.3 버전을 끝으로 X 컨소시엄 해체 일반적인 POSIX 시스템 : /etc/X11 • 현재, GNU/Linux를 비롯한 유닉스의 대부분이 X 윈도 시스템을 사용 9 X 윈도 시스템 (2/2) 클라이언트-서버 모델(Client-Server model) X 윈도 시스템은 사용자 컴퓨터에서 서버가 실행되는 반면 클라이언트는 원격 시스템에서 실행될 수 있다.
    [Show full text]
  • Introduction to the X Window System
    Information Technology Document UNIX 2 Rice University June 21, 2000 Introduction to the X Window System This document helps new account holders familiarize themselves with the X Window System, Ver- sion 11—simply called X—and maintains an emphasis on concepts and everyday use rather than highly technical details. This material includes an overview of X concepts and instructions for start- ing, conducting, and ending an X session. Also covered are the Tab Window Manager, or TWM, and the xterm terminal emulator, and other such topics such as remote processes. Rice University, 2000 All Rights Reserved Document may not be resold to, used by, nor licensed to third parties without written permission from User Services, Rice University. Table of Contents How to Use This Document......................................................................4 The X Window System.............................................................................4 Background ...............................................................................................................4 Basic X Terms...........................................................................................................5 Display Servers, Hosts, and Clients...................................................................5 Screens and Displays .........................................................................................5 Windows and Icons............................................................................................6 Pointing Devices and Cursors............................................................................6
    [Show full text]
  • Think Unix Associate Publisher Tracy Dunkelberger Jon Lasser Acquisitions Editor Copyright © 2000 by Que Corporation Katie Purdum All Rights Reserved
    00 2376 FM 11.30.00 9:21 AM Page i PERMISSIONS AND OWNERSHIP • USERS AND GROUPS HARD LINKS • SOFT LINKS • REDIRECTION AND PIPES REDIRECTING STDERR • NAME LOOKUP • ROUTING READING MAIL VIA POP3 • VI AND REGULAR EXPRESSIONS FILENAME GLOBBING VERSUS REGEXPS • INTERACTIVE COMMAND-LINE EDITING • HISTORY SUBSTITUTION • JOB CONTROL • VARIABLES AND QUOTING • CONDITIONAL EXECUTION • WHILE AND UNTIL LOOPS • ALIASES AND FUNCTIONS • THE X WINDOW CLIENT/SERVER MODEL WIDGETS AND TOOLKITS • CONFIGURING X • PERMISSIONS AND OWNERSHIP • USERS AND GROUPS • HARD LINKS • SOFT LINKS • REDIRECTION AND PIPES • REDIRECTING STDERR NAME LOOKUP • ROUTING READING MAIL VIA POP3 • VI AND REGULAR EXPRESSIONS FILENAME GLOBBING VERSUS REGEXPS • INTERACTIVE COMMAND-LINE EDITING • HISTORY SUBSTITUTION • JOB CONTROL • VARIABLES AND QUOTING CONDITIONAL EXECUTION • WHILE AND UNTIL LOOPS • ALIASES AND FUNCTIONS • THE X WINDOW CLIENT/SERVER MODEL WIDGETS AND TOOLKITS • CONFIGURING X • PERMISSIONS AND OWNERSHIP • USERS AND GROUPS HARD LINKS • SOFT LINKS • REDIRECTION AND PIPES • REDIRECTING STDERR • NAME LOOKUP • ROUTING READING MAIL VIA POP3 • VI AND REGULAR EXPRESSIONS • FILENAME GLOBBING VERSUS REGEXPS • INTERACTIVE COMMAND-LINE EDITING • HISTORY THINKSUBSTITUTION • JOB CONTROL • VARIABLES AND QUOTINGUnix READING MAN PAGES • ABSOLUTE AND RELATIVE P PERMISSIONS AND OWNERSHIP • USERS AND GRO HARD LINKS • SOFT LINKS • REDIRECTION AND PIPE JON LASSER REDIRECTING STDERR • NAME LOOKUP • ROUTING READING MAIL VIA POP3 • VI AND REGULAR EXPRE FILENAME GLOBBING VERSUS REGEXPS • INTERACT
    [Show full text]