Think Unix Associate Publisher Tracy Dunkelberger Jon Lasser Acquisitions Editor Copyright © 2000 by Que Corporation Katie Purdum All Rights Reserved

Total Page:16

File Type:pdf, Size:1020Kb

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 COMMAND-LINE EDITING • HISTORY SUBSTITUTION CONTROL • VARIABLES AND QUOTING • CONDITIO EXECUTION • WHILE AND UNTIL LOOPS • ALIASES A FUNCTIONS • THE X WINDOW CLIENT/SERVER MO WIDGETS AND TOOLKITS • CONFIGURING X • PERM OWNERSHIP • USERS AND GROUPS • HARD LINKS REDIRECTION AND PIPES • REDIRECTING STDERR NA ROUTING READING MAIL VIA POP3 • VI AND REGU EXPRESSIONS FILENAME GLOBBING VERSUS REGEXP INTERACTIVE COMMAND-LINE EDITING • HISTORY S JOB CONTROL • VARIABLES AND QUOTING CONDIT EXECUTION • WHILE AND UNTIL LOOPS • ALIASES A FUNCTIONS • THE X WINDOW CLIENT/SERVER MO AND TOOLKITS • CONFIGURING X • PERMISSIONS OWNERSHIP • USERS AND GROUPS HARD LINKS • REDIRECTION AND PIPES • REDIRECTING STDERR • N • ROUTING READING MAIL VIA POP3 • VI AND REG EXPRESSIONS • FILENAME GLOBBING VERSUS REGE INTERACTIVE COMMAND-LINE EDITING • HISTORY S JOB CONTROL • VARIABLES AND QUOTING • CON EXECUTION • WHILE AND UNTIL LOOPS • ALIASES A FUNCTIONS • THE X WINDOW CLIENT/SERVER MO WIDGETS AND TOOLKITS • CONFIGURING X • READ PAGES • ABSOLUTE AND RELATIVE PATHS PERMISSIONS AND OWNERSHIP • USERS AND GRO HARD LINKS • SOFT LINKS • REDIRECTION AND PIPE 00 2376 FM 11.30.00 9:21 AM Page ii ii Think Unix Associate Publisher Tracy Dunkelberger Jon Lasser Acquisitions Editor Copyright © 2000 by Que Corporation Katie Purdum All rights reserved. No part of this book shall be reproduced, Development Editor stored in a retrieval system, or transmitted by any means, elec- Hugh Vandivier tronic, mechanical, photocopying, recording, or otherwise, Managing Editor without written permission from the publisher. No patent lia- Thomas F.Hayes bility is assumed with respect to the use of the information contained herein.Although every precaution has been taken Project Editor in the preparation of this book, the publisher and author Tonya Simpson assume no responsibility for errors or omissions. Nor is any Copy Editors liability assumed for damages resulting from the use of the Kay Hoskin information contained herein. Mike Dietsch International Standard Book Number: 0-7897-2376-x Indexer Library of Congress Catalog Card Number: 00-100690 Kelly Castell Printed in the United States of America Proofreader First Printing: July, 2000 Benjamin Berg 02 01 00 4 3 2 Technical Editors Andy Johnston Trademarks Scott Orr All terms mentioned in this book that are known to be trade- Team Coordinator marks or service marks have been appropriately capitalized. Vicki Harding Que Corporation cannot attest to the accuracy of this infor- mation. Use of a term in this book should not be regarded as Interior Designer affecting the validity of any trademark or service mark. Maureen McCarty Cover Designer Warning and Disclaimer Anne Jones Production Every effort has been made to make this book as complete Darin Crone and as accurate as possible, but no warranty or fitness is implied.The information provided is on an “as is” basis.The author and the publisher shall have neither liability nor responsibility to any person or entity with respect to any loss or damages arising from the information contained in this book. 00 2376 FM 11.30.00 9:21 AM Page iii iii Contents Introduction 1 About This Book 1 1Unix Concepts 7 1 Unix Documentation 9 Words of Warning 10 Reading Man Pages 10 Documentation Hide-and-Go-Seek 20 Suggested Exercises 27 2 Files and Processes 29 Files 30 Processes 53 3 Redirection and Pipes 63 Redirection 64 Pipes 69 4 Networking 79 A Broad Overview of Networking 80 Talking with Other Machines 90 Using Machines Remotely 102 5 vi, Dotfiles, and Regular Expressions 107 Surviving vi 109 Thriving in vi 114 Regular Expressions 122 II Shell Concepts 131 6 Muddling Through Shells 133 Shell Wars 134 Fixing Mistakes 136 Job Control 140 00 2376 FM 11.30.00 9:21 AM Page iv iv 7 Variables and Quoting 147 Variables 148 Practice Problems 158 Quoting 158 Practice Problems 165 8 Conditional Execution and Loops 167 Sequential Execution 168 Conditional Execution 169 Practice Problems 178 Loops 179 Practice Problems 183 9 Shell Scripts and More 185 Grouping Commands 186 Aliases and Functions 187 Practice Problems 190 Shell Scripts 190 Practice Problems 196 III X Window System Concepts 197 10 Thinking Like X 199 What X Does Differently 200 Nuts and Bolts 203 Desktop Environments 214 Something Useful: xterm 218 Suggested Exercises 220 11 Configuring X 221 Starting X 222 Command-Line Options 225 Suggested Exercises 228 X Resources 228 Suggested Exercises 235 Color Names and Numbers 235 Fonts 237 Listing Fonts 238 A Few Final Words 240 00 2376 FM 11.30.00 9:21 AM Page v v IV Appendixes 243 A Answers to Practice Problems 245 B Glossary and References 255 Index 267 00 2376 FM 11.30.00 9:21 AM Page vi vi About the Author Jon Lasser lives in Baltimore, Maryland, with his wife, Kathleen, and their three cats. Professionally, Jon juggles Unix systems administration along with both writ- ing and speaking about Unix systems administration. He is also lead coordinator for the Bastille Linux Project, which aims to simplify security on Linux systems. Dedication For Kathleen, who knows it’s for her anyway. Acknowledgments As much as authors might wish otherwise, writing a book is not a solitary endeavor.Above all, I have to thank Kathleen, who washed more than her share of dishes and supported me in countless other ways while I wrote this book.Thanks also to the rest of my family for encouragement, for support, and for maintaining a certain level of excitement about the project. Thanks go to everyone at Macmillan, especially Katie and Hugh.Thanks, Katie, for pushing me to finish up the book proposal.Thanks to my technical reviewers, Scott and Andy.Thanks,Andy, for long discussions about how one might write a good intro to Unix book. Many friends contributed to the process in their own special ways. Special thanks go to Karen, for her perspective on design, and to Steve, Shawn, and Jay for asking the right questions. Thanks to all of my co-workers at UMBC, for tolerating week-long absences throughout this book, for general support, and for always pushing me to deepen my own Unix knowledge. Finally, thanks to the Tuesday night crew at The Brewer’s Art and the Thursday Night Bolton Hill Walkers’ Patrol, for helping to keep me sane. 00 2376 FM 11.30.00 9:21 AM Page vii vii Tell Us What You Think! As the reader of this book, you are our most important critic and commentator.We value your opinion and want to know what we’re doing right, what we could do better, what areas you’d like to see us publish in, and any other words of wisdom you’re willing to pass our way. As an associate publisher for Que, I welcome your comments.You can fax, email, or write me directly to let me know what you did or didn’t like about this book—as well as what we can do to make our books stronger. Please note that I cannot help you with technical problems related to the topic of this book, and that due to the high volume of mail I receive, I might not be able to reply to every mes- sage. When you write, please be sure to include this book’s title and author as well as your name and phone or fax number. I will carefully review your comments and share them with the author and editors who worked on the book. Fax: 317-581-4666 Email: [email protected] Mail: Associate Publisher Que 201 West 103rd Street Indianapolis, IN 46290 USA 00 2376 FM 11.30.00 9:21 AM Page viii viii 01 2376 Intro 6/12/00 12:41 PM Page 1 Introduction Think Unix 1 Introduction About This Book So here you are, standing in the bookstore, flipping through this book, trying to decide whether Think Unix is for you. Fortunately, you decided to read this part of the book, so I can answer your question directly. Is This Book For You? First of all, this book is intended for people with some computer experience. If you’ve never used a PC or Macintosh, there are probably better places for you to start than this book. I don’t start at the beginning. I assume you have an idea of what a file is; what a folder or subdirectory is; where to find the keyboard, moni- tor, and mouse; and how to turn your computer on.
Recommended publications
  • A Java Implementation of a Portable Desktop Manager Scott .J Griswold University of North Florida
    UNF Digital Commons UNF Graduate Theses and Dissertations Student Scholarship 1998 A Java Implementation of a Portable Desktop Manager Scott .J Griswold University of North Florida Suggested Citation Griswold, Scott .,J "A Java Implementation of a Portable Desktop Manager" (1998). UNF Graduate Theses and Dissertations. 95. https://digitalcommons.unf.edu/etd/95 This Master's Thesis is brought to you for free and open access by the Student Scholarship at UNF Digital Commons. It has been accepted for inclusion in UNF Graduate Theses and Dissertations by an authorized administrator of UNF Digital Commons. For more information, please contact Digital Projects. © 1998 All Rights Reserved A JAVA IMPLEMENTATION OF A PORTABLE DESKTOP MANAGER by Scott J. Griswold A thesis submitted to the Department of Computer and Information Sciences in partial fulfillment of the requirements for the degree of Master of Science in Computer and Information Sciences UNIVERSITY OF NORTH FLORIDA DEPARTMENT OF COMPUTER AND INFORMATION SCIENCES April, 1998 The thesis "A Java Implementation of a Portable Desktop Manager" submitted by Scott J. Griswold in partial fulfillment of the requirements for the degree of Master of Science in Computer and Information Sciences has been ee Date APpr Signature Deleted Dr. Ralph Butler Thesis Advisor and Committee Chairperson Signature Deleted Dr. Yap S. Chua Signature Deleted Accepted for the Department of Computer and Information Sciences Signature Deleted i/2-{/1~ Dr. Charles N. Winton Chairperson of the Department Accepted for the College of Computing Sciences and E Signature Deleted Dr. Charles N. Winton Acting Dean of the College Accepted for the University: Signature Deleted Dr.
    [Show full text]
  • Vim for Humans Release 1.0
    Vim for humans Release 1.0 Vincent Jousse August 12, 2015 CONTENTS 1 Preamble 1 1.1 Disclaimer .................... ..................... 1 1.2 Paid book but free price .................... ..................... 1 1.3 Free license .................... ..................... 1 1.4 Thanks .................... ..................... 1 2 Introduction 3 2.1 For who? .................... ..................... 4 2.2 What you will be learning .................... .................... 4 2.3 What you will not be learning .................... .................. 4 2.4 The hardest part is to get started .................... ................. 5 3 Having a usable Vim 7 3.1 Essential preamble: the insert mode .................... ............... 8 3.2 Modes: the powerful Vim secrets .................... 10 3.3 The lifesaver default configuration .................... 12 3.4 And now, the color! .................... ..................... 13 3.5 Ourfirst plugin: thefile explorer .................... 17 3.6 Here we go .................... ..................... 19 4 The text editor you’ve always dreamed of 23 4.1 Learning how to move: the copy/paste use case ..................... 23 4.2 Forgetting the directional keys .................... 26 4.3 Doing without the Esc key .................... .................... 29 4.4 Combining keys and moves .................... ................... 29 4.5 Search / Move quickly .................... ..................... 30 4.6 Visual mode .................... ..................... 31 4.7 It’s your turn! .................... ....................
    [Show full text]
  • An Introduction to the X Window System Introduction to X's Anatomy
    An Introduction to the X Window System Robert Lupton This is a limited and partisan introduction to ‘The X Window System’, which is widely but improperly known as X-windows, specifically to version 11 (‘X11’). The intention of the X-project has been to provide ‘tools not rules’, which allows their basic system to appear in a very large number of confusing guises. This document assumes that you are using the configuration that I set up at Peyton Hall † There are helpful manual entries under X and Xserver, as well as for individual utilities such as xterm. You may need to add /usr/princeton/X11/man to your MANPATH to read the X manpages. This is the first draft of this document, so I’d be very grateful for any comments or criticisms. Introduction to X’s Anatomy X consists of three parts: The server The part that knows about the hardware and how to draw lines and write characters. The Clients Such things as terminal emulators, dvi previewers, and clocks and The Window Manager A programme which handles negotiations between the different clients as they fight for screen space, colours, and sunlight. Another fundamental X-concept is that of resources, which is how X describes any- thing that a client might want to specify; common examples would be fonts, colours (both foreground and background), and position on the screen. Keys X can, and usually does, use a number of special keys. You are familiar with the way that <shift>a and <ctrl>a are different from a; in X this sensitivity extends to things like mouse buttons that you might not normally think of as case-sensitive.
    [Show full text]
  • Présentation Ligne De Commande
    Kit de survie en lignes de commandes ... pour les nuls. Ceci est la version légèrement corrigée, étendue et complétée de la présentation du jeudi 2 juin 2018. Pourquoi la ligne de commande ? La ligne de commande est une chose qui a, pour des raisons marketting et en lien avec la massification de l'usage de l'outil informatique, peu à peu disparue alors qu'elle faisait partie intégrante des ordinateurs dans les années 80 et jusqu'en 1995 pour le grand public. Actuellement, la ligne de commande est perçue par les néophytes comme un objet de toute puissance ou de diabolisation. Les stéréotypes véhiculés par les media traditionnels associent souvent la ligne de commande, et in extenso le terminal, à un outil de hacker. Alors que cela a été pendant longtemps le quotidien de beaucoup d'utilisateurs. Posons un peu de vocabulaire : Linux est un noyau c'est à dire un binaire qui communique avec le matériel. Autour de lui est le système GNU (pour GNU is Not Unix). Le système GNU a été pensé dans les années 80 comme étant une alternative Libre au système (gratuit) mais propriétaire Unix. Dans les années 80, à la préhistoire informatique, les systèmes d'ordinateurs n'avaient pour ainsi dire pas d'interface graphique (et encore moins de souris) : un noyau, un interpréteur de commande (shell) et quelques utilitaires suffisaient à faire un ordinateur fonctionnel. Ici le système Microsoft Disk Operating System fonctionnant avec les fichier : msdos.sys et io.sys (l'équivalent du noyau), config.sys et autoexec.bat, à partir de là l'interpréteur de commande (ou shell) : COMMAND.COM s'exécute et affiche l'image précédente.
    [Show full text]
  • The Oldest Rivalry in Computing Forget Apple Vs
    Follow us on Twitter for more great Slate stories! Follow @slate BITWISE DECODING THE TECH WORLD. MAY 9 2014 9:57 AM The Oldest Rivalry in Computing Forget Apple vs. Google. Emacs and Vi have been battling for text-editor supremacy among programmers for 40 years. By David Auerbach An early Emacs manual cover from 1981. Courtesy of GNU Emacs n a world where both software and hardware frequently become obsolete right I on release, two rival programs can stake a claim to being among the longest-lived applications of all time. Both programs are about to enter their fifth decades. Both programs are text editors, for inputting and editing code, data files, raw HTML Web pages, and anything else. And they are mortal enemies. Their names are Emacs and Vi (styled by programmers as “vi”). These editors are legendary and ancient, no exaggeration. Both date back to at least 1976, making them older than the vast majority of people currently using them. Both programs are text editors, which means they are not WYSIWYG (what you see is what you get)—unlike, say, word processors like Microsoft Word, they do not format your words onscreen. Programming is very different from word processing, and the basic goal of Emacs and Vi—fast editing of source code (and any other text files)—has yet to become obsolete. Both have been in ongoing development for almost 40 years. These two wizened programs are as close to equally matched enemies as any two programs have ever been. If you know a programmer who uses one of them, there’s a good chance that she hates the other.
    [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]
  • Introduction to Unix (PDF)
    Introduction to… UNIX Bob Booth December 2004 AP-UNIX2 © University of Sheffield Contents 1. INTRODUCTION....................................................................................................................................... 3 1.1 THE SHELL ........................................................................................................................................... 3 1.2 FORMAT OF COMMANDS ...................................................................................................................... 4 1.3 ENTERING COMMANDS ......................................................................................................................... 4 2. ACCESSING UNIX MACHINES ............................................................................................................. 5 2.1 TERMINAL EMULATION SOFTWARE...................................................................................................... 5 2.2 LOGGING IN.......................................................................................................................................... 6 2.3 LOGGING OUT ...................................................................................................................................... 6 2.4 CHANGING YOUR PASSWORD............................................................................................................... 8 3. BASIC UNIX COMMANDS...................................................................................................................... 9 3.1 FILENAMES..........................................................................................................................................
    [Show full text]
  • UNIX Text Processing Tools—Programs for Sorting, Compar- Ing, and in Various Ways Examining the Contents of Text Files
    UNIX® TEXT PROCESSING DALE DOUGHERTY AND TIM O’REILLY and the staffofO’Reilly & Associates, Inc. CONSULTING EDITORS: Stephen G. Kochan and PatrickH.Wood HAYDEN BOOKS ADivision of HowardW.Sams & Company 4300 West 62nd Street Indianapolis, Indiana 46268 USA Copyright © 1987 Dale Dougherty and Tim O’Reilly FIRST EDITION SECOND PRINTING — 1988 INTERNET "UTP Revival" RELEASE — 2004 The UTP RevivalRelease is distributed according to the terms of the Creative Commons Attribution License. A copyofthe license is available at http://creativecommons.org/licenses/by/1.0 International Standard Book Number: 0-672-46291-5 Library of Congress Catalog Card Number: 87-60537 Trademark Acknowledgements All terms mentioned in this book that are known to be trademarks or service marks are listed below. Nei- ther the authors nor the UTP Revivalmembers can attest to the accuracyofthis information. Use of a term in this book should not be regarded as affecting the validity of anytrademark or service mark. Apple is a registered trademark and Apple LaserWriter is a trademark of Apple Computer,Inc. devps is a trademark of Pipeline Associates, Inc. Merge/286 and Merge/386 are trademarks of Locus Computing Corp. DDL is a trademark of Imagen Corp. Helvetica and Times Roman are registered trademarks of Allied Corp. IBM is a registered trademark of International Business Machines Corp. Interpress is a trademark of Xerox Corp. LaserJet is a trademark of Hewlett-Packard Corp. Linotronic is a trademark of Allied Corp. Macintosh is a trademark licensed to Apple Computer,Inc. Microsoft is a registered trademark of Microsoft Corp. MKS Toolkit is a trademark of Mortice Kern Systems, Inc.
    [Show full text]
  • Mac Text Editor for Coding
    Mac Text Editor For Coding Sometimes Pomeranian Mikey probed her cartography allegorically, but idiomorphic Patrik depolymerizes despotically or stains ethnocentrically. Cereal Morten sick-out advisably while Bartel always overglazing his anticholinergic crunches pregnantly, he equilibrating so eath. Substantiated Tore usually exuviated some Greenwich or bumbles pedagogically. TextEdit The Built-in Text Editor of Mac OS X CityMac. 4 great editors for macOS for editing plain lazy and for coding. Brackets enables you! Many features that allows you could wish to become almost everything from an awesome nintendo switch to. Top 11 Code Editors for Software Developers Bit Blog. We know what you have specific id, so fast feedback on rails without even allow users. Even convert any one. Spaces and broad range of alternatives than simply putting your code after it! It was very good things for example. Great joy to. What may find in pakistan providing payment gateway security news, as close to any query or. How does Start Coding Programming for Beginners Learn Coding. It was significantly as either running on every developer you buy, as well from your html tools for writing for free to add or handling is. Code is free pattern available rate your favorite platform Linux Mac OSX and Windows Categories in power with TextEdit Text Editor Compare. How do I steer to code? Have to inflict pain on this plot drawn so depending on your writing source code. Text but it does not suitable for adjusting multiple computers users. The wheat free if paid text editors for the Mac iMore. After logging in free with google translate into full member of useful is a file in a comment is ideal environment, where their personal taste.
    [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]
  • Text Editors for Programmers
    Text Editors for Programmers Dr. Prasad Kulkarni Michael Jantz Jamie Robinson 1 Real Programmers 2 vim • Based on vi – vi written in 1976 and has become standard on Unix machines • Basic design principles: – Retains each permutation of typed keys to resolve commands – Smaller and faster editor ± but with less capacity for customization – Uses distinct editing ªmodesº 3 Using Vim on a Simple Example • You should have received two source files (simple.c and simple.h), a Makefile, and a dot_vimrc file from the lab website. – Save dot_vimrc as .vimrc in your home directory – Use mv to rename the file • mv dot_vimrc ~/.vimrc • “dot_vimrc” – A collection of vim commands run each time you start vim – Used to set mappings / options that are not otherwise set by default. 4 Using Vim to Create & Edit a File • Start a session – vim simple.c • Press 'i' to enter insert mode – Now type any text you want • 'Esc' to enter command mode – ':wq' to write changes and exit the session 5 Vim – Modes of Operation • Command Mode • Input Mode • Visual Mode V, v, ctrl - v Command Visual Escape Escape I, i, A, a, O, o, R, r Input 6 Essential Commands • :e file – Edit file in a new buffer • :w – Save any modifications to the current buffer. • :q – Quit Vim. If you have modifications you do not want to save, use :q! • u, <c-r> – Undo, redo 7 Command Mode: Navigation • Reopen simple.c – Use j, k, l, and h to navigate around the file as shown. This may take awhile get used to, but is very nice once you have it down.
    [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]