Foreword, Bill Gates General Editor, Ray Duncan

Total Page:16

File Type:pdf, Size:1020Kb

Foreword, Bill Gates General Editor, Ray Duncan Complete and Unabridged The -.-.. 00 ~ ® Foreword, Bill Gates General Editor, Ray Duncan Olympus et al. 1107 ---'"'------------~--- -- The MS-DOS Encyclopedia ·.~ The Encyclopedia Microsoft Press Redmond, Washington 1988 Ray Duncan, General Editor Foreword by Bill Gates Published by Microsoft Press A Division of Microsoft Corporation 16011 NE 36th Way, Box 97017, Redmond, Washington 98073-9717 Copyright © 1988 by Microsoft Press All rights reserved No part of the contents of this book Encyclopedia Staff may be reproduced or transmitted in any form or by any means without the written permission of the publisher Library of Congress Cataloging in Publication Data The MS-DOS encyclopedia : versions 1 O through 3 .2 / Editor-in-Chief: Susan Lammers editor, Ray Duncan Editorial Ditector: Patricia Pratt p cm Includes indexes Senior· Editor: Dorothy l Shattuck 1 MS-DOS (Computer operating system) I Duncan, Ray, 1952- II Microsoft Press Senior· Technical Editor: David l Rygmyr QA76 76 063M74 1988 87-21452 005 4'4~-dc19 CIP Special Projects Editor: Sally A. Brunsman ISBN l-55615-174-8 Editorial Coordinator: Sarah Hersack Printed and bound in the United States of America 123456789RMRM321098 Associate Editors and Technical Editots: Distributed to the book trade in the Pamela Beason, Ann Becherer, Bob Combs, United States by Harper & Row Michael Halvorson, Jeff Hinsch, Dean Holmes, Distributed to the book trade in Chris Kinata, Gary Masters, Claudette Moore, Canada by General Publishing Company, ltd Steve Ross, Roger Shanafelt, Eric Stroo, Distributed to the book trade outside the Lee I homas, JoAnne Woodcock United States and Canada by Penguin Books Ltd Copy Chief: Brianna Morgan Prooffeaders: Penguin Books ltd , Harmondsworth, Middlesex England Kathleen Atkins, Julie Carter, Elizabeth Penguin Books Australia ltd Ringwood, Victoria, Australia Eisenhood, Matthew Eliot, Patrick Forgette, Penguin Books NZ ltd, 182-190 Wairau Road, Auckland 10, New Zealand Alex Hancock, Richard Isomaki, Shawn Peck, r British Cataloging in Publication Data available I Alice Copp Smith I Editorial Assistants: Wallis Bolz, Charles Brod, IBM®, IBM AT®, PS/2®, and Top View® are registered trademarks of International Business Machines Corporation GW-BASIC®, Microsoft® MS® MS-DOS®, SOFTCARD® and XENIX® are registered trademarks of Stephen Brown, Pat Erickson, Debbie Kem, Susanne Microsoft Corporation McRhoton, Vilm Nguyen, Cheryl VanGeystel Microsoft Press gratefully acknowledges permission to reproduce material listed below Index: Shane-Aimstrong Information Services Page 4: Courtesy The Computer Museum Pages 5, 11, 42: Intel 4004, 8008, 8080, 8086, and 80286 microprocessor photographs Courtesy Intel Corporation Production: larry Anderson, Jane Bennett, Rick Page 6: Reprinted from Popular Electronics, January 1975 Copyright © 1975 Ziff Communications Company Bourgoin, Darcie S Fur Ian, Nick Gregoric, Peggy Page 13: Reprinted with permission of Rod Brock Herman, Iisa Iversen, Rebecca Johnson, Ruth Pettis, Page 16: Reprinted with permission of The Seattle Times Copyright© 1983 Russell Steele, Jean Ifenary, Joy Ulskey Pages 19, 34, 42: IBM PC advertisements and photographs of the PC, PC/XT~ and PC/AT reproduced with l permission of International Business Machines Corporation Copyright© 1981, 1982, 1984 All rights reserved Matketing and Sales Dir'ectol! James Brown Page 21: 'Big IBM's 1 ittle Computer' Copyright© 1981 by The New York Times Company Reprinted by permission Dir'ector of Pt'Oduction: Christopher D Banks ' IBM Announces Ne.w Microcomputer System· Reprinted with permission of InfoWorld Copyright© 1981 IBM really gets personal" Reprinted with permission of Personal Computing Copyright© 1981 Publishei·: Min S Yee 'Personal Computer from IBM Reprinted from DATA MAI ION Magazine October 1981 Copyright © by Cahners Publishing Company IBM's New line likely to Shake up the Market for Personal Computers Reprinted by permission of I he Wall Street journal Copyright© Dow Jones & Company, Inc. 1981 All Rights Re.served Page 36: Irresistible DOS 3 O and "The Ascent of DOS Reprinted from PC Tech journal December 1984 and October 1986 Copyright© 1984 1986 Ziff Communications Company ' MS~DOS 2 00: A Hands-On Tutorial" Reprinted by permission of PC World from Volume 1, Issue 3 March 1983, published at 501 Second Street, Suite 600, San Francisco, CA 94107 Special thanks to Bob O'Rear; Aaron Reynolds, and Kenichi Ikeda Contributors Ray Duncan, Genet·alEditm Duncan received a BA. in Chemistry from the University of Califor- nia, Riverside, and an M D. from the University of California, Los Angeles, and subsequently received specialized training in Pediatrics and Neonatology at the Cedars-Sinai Medical Center in Los Angeles He has written many articles for personal computing magazines, including BYTE PC Magazine, Dr. Dobb's Journal and 'So/talk/PC, and is the author of the Microsoft Press book Advanced MS-DO.S He is the founder of Laboratory Microsystems Incorporated a software house specializing in FORJ H interpreters and compilers Sreve Bostwick Bostwick holds a B.S in Physics from the University of California, Los Angeles, and has over 20 years' experience in scientific and commercial data processing. He is president of Query Computing Systems, Inc , a software firm specializing in the creation of systems for applications that interface microcomputers with specialized hardware He is also an instructor for the UCI A Extension Department ofEngineering and Science and helped design their popular Microprocessor Hardware and Software Engineering Certificate Program Keith Burgoyne Born and raised in Orange County, California, Burgoyne began programming in 1974 on IBM 370 mainframes. In 1979, he began developing microcomputer products for Apples, TRS"80s, Ataris, Commodores, and IBM PCs He is presently Senior Systems Engineer at Local Data of Ibrrance, California, which is a major producer of IBM 3174/3274 and System 3X protocol conversion products His pr~vious writing credits include numerous user manuals and tutorials Robert A. Byet's Byers is the author of the bestselling Everyman '.s Database Primer. He is presently involved with the Emerald Bay database project with RSPI and Migent, Inc Thom Hogan During 11 years working with personal computers, Hogan has been a software devel- oper, a programmer, a technical writer, a marketing manager; and a lecturer He has written six books numerous magazine articles, and four manuals. Hogan is the author of the forthcoming Microsoft Press book PC Programmer '.s Sourcebook. /imK,yk Kyle has 23 years' experience in computing Since 1967 he has been a systems program­ mer with strong telecommunications orientation His interest in microcomputers dates from 1975 He is currently MIS Administrator for BI I Systems, Inc , the OEM Division of Banclec Inc manufacturers of MICR equipment for the banking industry He has written 14 books and numerous magazine articles (mostly on ham radio and hobby electronics) and has been primary Forum Administrator for Computer Language Magazine s Cl MFORUlvI on CompuServe since early 1985 Gordon Letwin I.etwin is Chief Architect Systems Software Microsoft Corporation He is the author of Jn')fde OS/2, published by Microsoft Press Charles Petzold Petzold holds an M S in Mathematics from Stevens Institute of Technology Before launching his writing career, he worked 10 years in the insurance industry, programming and teaching programming on IBM mainframes and PCs He is the author of the Microsoft Press book Programming Windows 2 0, a contributing editor to PC Magazine and a frequent contributor to the Microsoft ~ystems Journal Chip Rabi'IWWitz Rabinowitz has been a programmer for 11 years He is presently chief program­ mer for Productivity Solutions, a microcomputer consulting firm based in Pennsylvania and has been Forum Administrator for the CompuServe MICROSOFT SIG since 1986 i ' Contributors Vii Jim Tomlin Tomlin holds a B S and an M.S in Mathematics He has programmed at Boeing Microsoft, and Opcon and has taught at Seattle Pacific. University He now heads his own company in Seattle, which specializes in PC systems programming and industrial machine vision applications Contents Richard Wilton Wilton has programmed extensively in PI /1, FORTRAN, FORTH, C, and several assembly languages He is the author of Programmer ·s Guide to PC & PS/2 Video ~ystems, published by Microsoft Press Foreword by Bill Gates Van WolveTton A professional writer since 1963, Wolverton has had bylines as a newspaper reporter, xiii editorial writer, political columnist, and technical writer He is the author of Running },f.S-DOS and Preface by Ray Duncan X'V S'upercha-rging MS-DOS, both published by Microsoft Press Introduction xvii Willlam Wong Wong holds engineering and computer science degrees from Georgia Ie.-ch and Rutgers University He is director of PC labs and president of Logic Fusion Inc. His interests include Section I: The Development of MS-DOS 1 operating systems, computer languages, and artificial intelligence He has written numerous magazine articles anda book on MS-DOS Section II: Programming in the MS-DOS Environment 47 /oAnne Woodcock Woodcock, a former senior editor at Microsoft Press, has been a writer for Part A: Structur·e of MS-DOS Encyclopaedia Britannica and a freelance and project editor on marine biological studies at the University of Southern California She is co-editor (with Michael Halvorson) of _KEND< at Wor:k and Article 1: An Introduction to MS-DOS 51 co-author (with Peter Rinearson) of Microsoft Word
Recommended publications
  • Sample Content from Programming Microsoft Windows Forms
    Programming Microsoft® Windows® Forms Charles Petzold To learn more about this book, visit Microsoft Learning at http://www.microsoft.com/MSPress/books/7824.aspx 9780735621534 Publication Date: November 2005 A04T621535.fm Page v Friday, September 30, 2005 10:18 AM Table of Contents Introduction. xi Your Background and Needs . .xi Organization of This Book . xii System Requirements. xiii Prerelease Software . xiii Technology Updates. .xiii Code Samples . .xiv Support for This Book . xiv Questions and Comments . .xiv The Author’s Web Site . .xiv Special Thanks. xv 1 Creating Applications . 1 Orientation . 1 Programming Tools . 2 The Docs . 3 Development . 5 The Littlest Programs . 5 Visual Studio Projects. 6 References . 8 From Console to Windows . 9 Fixing the Flaws . 11 Events and Event Handlers . 13 Inheriting from Form . 16 Properties and Events in Visual Studio . 19 Children of the Form . 22 Subclassing Controls . 26 Device-Independent Coding . 29 Assembly Information . 33 Dialog Boxes . 34 DLLs . .44 What do you think of this book? Microsoft is interested in hearing your feedback about this publication so we can continually improve our books and learning resources for you. To participate in a brief We want to hear from you! online survey, please visit: www.microsoft.com/learning/booksurvey/ v A04T621535.fm Page vi Friday, September 30, 2005 10:18 AM vi Table of Contents 2 The Control Cornucopia . 47 Controls in General . 48 Parents and Children . 48 Visibility and Response . 50 Location and Size . 51 Fonts and Color . 52 Keeping Track of Controls . 53 Image Lists . 54 ToolTips . 54 Static (and Not Quite so Static) Controls .
    [Show full text]
  • Programmation Utilisant Les Interruptions Du Syst`Eme D’Exploitation : Le Cas De MS-DOS
    Programmation utilisant les interruptions du syst`eme d’exploitation : le cas de MS-DOS Patrick C´egielski Janvier 2019 Pour Ir`ene et Marie Legal Notice Copyright c 2019 Patrick C´egielski Universit´eParis XII – IUT de S´enart-Fontainebleau Route foresti`ere Hurtault F-77300 Fontainebleau [email protected] iv Table des mati`eres Pr´eface ix 0.1 Bibliographie ...................................... x 1 Lesgrandesfonctionsd’unsyst`emed’exploitation 1 1.1 Etudeg´en´erale´ ..................................... 2 1.1.1 Les deux tˆaches d’un syst`eme d’exploitation . .... 2 1.1.2 Principe des syst`emes d’exploitation . 3 1.2 CasdeMS-DOS .................................... 5 1.2.1 Mod`eleentroiscouches ............................ 5 1.3 Historique........................................ 6 1.4 Bibliographie ...................................... 9 I Le syst`eme d’exploitation comme machine virtuelle 11 2 Programmer avec le DOS 13 2.1 Lesentr´ees-sortiesstandard . ....... 14 2.1.1 Fonction 02h d’affichaged’uncaract`ere . 14 2.1.2 Fonction 01h desaisied’uncaract`ereavec´echo . 15 2.1.3 Fonction 08h desaisied’uncaract`eresans´echo . 17 2.1.4 Saisie d’une chaˆıne de caract`eres . .. 17 2.2 L’interruption 33h de manipulation de la souris . 18 2.2.1 Fonction 00h d’initialisation de la souris . 18 2.2.2 Fonctions 01h et 02h d’affichage et de transparence du pointeur . 18 2.2.3 Fonction 03h de r´ecup´eration de la position du pointeur . 19 2.2.4 Fonction 04h ded´eplacementdupointeur . 20 2.3 Fonction 05h d’impression............................... 21 2.4 Lesyst`eme ....................................... 22 2.4.1 Fonction 2Ah d’obtentiondeladate ..................... 22 2.4.2 R´ecup´eration de l’heure .
    [Show full text]
  • The Hidden Language of Computer Hardware and Software Charles
    The Hidden Language of Computer Hardware and Software Charles Petzold тайный язык информатики Чарльз Петцольд Москва 2001 г. УДК 004 ÁÁÊ 32.973.26–018 Ï33 Петцольд Ч. Ï33 Êод. — М.: Издательско-торговый дом «Русская Редакция», 2001. — 512 с.: ил. ISBN 5–7502–0159–7 Эта книга — азбука компьютерных техноëогий. Шаг за ша- ãом автор знакомит читателя с сущностью кодирования информа- ции, рассказывает об истории возникновения компьютеров, на практических примерах помогает освоить основные концепции ин- формационных техноëогий, подробно излагает принципы рабо- ты процессора и других устройств компьютера. Написанная живо, доступно, иногда иронично, книга богато иллюстрирована, состоит из 25 глав и предметного указателя. Издание адресовано в первую очередь студентам вузов (как гуманитарных, так и технических), а также всем, кто интересует- ся принципами создания и работы компьютеров. УДК 004 ÁÁÊ 32.973.26–018 Ïодãотовлено к печати по лицензионному доãовору с Microsoft Corporation, Редмонд, Вашингтон, США. Использованные в примерах и упражнениях названия компаний и продуктов, персо- нажи и события вымышлены, за исключением особо отмеченных случаев. Любые со- впадения с реальными компаниями, продуктами, людьми и событиями являются слу- чайными. Портреты Чарльза Бэббиджа, Джорджа Буля, Луи Брайля, Германа Холлерита, Сэмюэ- ля Морзе и Джона фон Неймана публикуются с разрешения Corbis Images и отредак- тированы для этой книги Джоэлем Пэнчотом (Joel Panchot). Обложка журнала Popular Electronics (январь 1975 г.) воспроизводится с разрешения Ziff-Davis и семьи Ziff. Все остальные иллюстрации подãотовлены Джоэлем Пэнчотом. Macintosh является охраняемым товарным знаком корпорации Apple Computer. Microsoft, MS-DOS è Windows являются либо товарными знаками, либо охраняемыми товарными знаками корпорации Microsoft в США и/или других странах. Все другие то- варные знаки являются собственностью соответствующих фирм.
    [Show full text]
  • Swsoft Gewinnt Ex-Microsoft-Systemarchitekten Als Senior Technical Advisor
    SWsoft gewinnt Ex-Microsoft-Systemarchitekten als Senior Technical Advisor Mark Zbikowski kommt mit Expertenwissen über Windows- Systemprogrammierung zum Unternehmen für Virtualisierungs- und Automatisierungssoftware Darmstadt, 17.01.2008. – SWsoft vermeldet einen prominenten neuen Berater: Mark Zbikowski, ehemaliger Systemarchitekt bei Microsoft und einer der Pioniere der Softwareentwicklung überhaupt, wird für das Unternehmen als Senior Technical Advisor tätig. In dieser Funktion wird er SWsoft unterstützen, indem er das Entwicklungsteam und die Führungskräfte berät. Während seiner Zeit bei Microsoft leitete Zbikowski MS-DOS-, OS/2-, Cairo- und NT-Projekte. Im Jahre 2006 wurde er für seine 25 Dienstjahre in der Firma geehrt und war der erste Mitarbeiter - nach Bill Gates und Steve Ballmer - der diese Karrieremarke erreichte. Zbikowski entwarf das Dateiformat der „EXE“-Programme unter MS-DOS; seine Initialen „MZ“ zieren bis heute die Kopfdaten dieses Formats für ausführbare Dateien. Er war ein wichtiger Designer und Entwickler für das gängigste Dateisystem Windows NTFS. Heute lehrt Zbikowski an der University of Washington, nachdem er im Juni 2006 bei Microsoft ausgeschieden war. Er besitzt einen von Harvard verliehenen Bachelor-Grad in angewandter Mathematik und einen Master-Abschluss von Yale. "Die Unternehmenskultur bei SWsoft erinnert an die aufregenden Anfangsjahre von Microsoft – eine junge Firma voller Energie und mit riesigen Chancen, die Veränderungen wesentlich mitzugestalten, die es im Einsatz der Informationstechnologie zum Nutzen von Verbrauchern und Unternehmen überall auf der Welt geben wird“, sagt Zbikowski. „Ich freue mich sehr auf den Beginn meiner Mitarbeit an SWsofts kontinuierlicher Entwicklung von Weltklasse-Software für Virtualisierung, Management und Automatisierung.“ “Marks Erfahrungen mit der Erstellung von Systemkomponenten für die meistverbreitete Software weltweit – Microsoft Windows – sind von großer Bedeutung für unsere Arbeit", so Serguei Beloussov, CEO bei SWsoft.
    [Show full text]
  • NET Book Zero
    .NET Book Zero What the C or C++ Programmer Needs to Know about C# and the .NET Framework by Charles Petzold www.charlespetzold.com Version 1.1, January 1, 2007 © Charles Petzold, 2006-2007 .NET Book Zero Charles Petzold Table of Contents Chapter 1. Why This Book? ................................................................ 2 Chapter 2. Why .NET? ........................................................................ 5 Chapter 3. Runtimes and SDKs .......................................................... 7 Chapter 4. Edit, Compile, Run, Disassemble .................................... 11 Chapter 5. Strings and the Console .................................................. 22 Chapter 6. Primitive Data Types ....................................................... 51 Chapter 7. Operators and Expressions ............................................. 68 Chapter 8. Selection and Iteration .................................................... 75 Chapter 9. The Stack and the Heap .................................................. 83 Chapter 10. Arrays ........................................................................... 88 Chapter 11. Methods and Fields ....................................................... 95 Chapter 12. Exception Handling ......................................................108 Chapter 13. Classes, Structures, and Objects ..................................117 Chapter 14. Instance Methods .........................................................126 Chapter 15. Constructors ................................................................135
    [Show full text]
  • Read a Sample
    Code Nation explores the rise of software development as a social, cultural, and technical phenomenon in American history. The movement germinated in government and university labs during the 1950s, gained momentum through corporate and counterculture experiments in the 1960s and 1970s, and became a broad-based computer literacy movement in the 1980s. As personal computing came to the fore, learning to program was transformed by a groundswell of popular enthusiasm, exciting new platforms, and an array of commercial practices that have been further amplified by distributed computing and the Internet. The resulting society can be depicted as a “Code Nation”—a globally- connected world that is saturated with computer technology and enchanted by software and its creation. Code Nation is a new history of personal computing that emphasizes the technical and business challenges that software developers faced when building applications for CP/M, MS-DOS, UNIX, Microsoft Windows, the Apple Macintosh, and other emerging platforms. It is a popular history of computing that explores the experiences of novice computer users, tinkerers, hackers, and power users, as well as the ideals and aspirations of leading computer scientists, engineers, educators, and entrepreneurs. Computer book and magazine publishers also played important, if overlooked, roles in the diffusion of new technical skills, and this book highlights their creative work and influence. Code Nation offers a “behind-the-scenes” look at application and operating-system programming practices, the diversity of historic computer languages, the rise of user communities, early attempts to market PC software, and the origins of “enterprise” computing systems. Code samples and over 80 historic photographs support the text.
    [Show full text]
  • Portable Executable מאת Spl0it
    Portable Executable מאת Spl0it הקדמה - מה זה PE? ויקיפדיה: "PE )קיצור של Portable Executable( הוא פורמט שפותח ע"י Microsoft עבור קבצי ריצה, קבצי אובייקט, ספריות קישור-דינמי )DLL(, קבצי פונטים )FON( ועוד אשר משומשים בגרסאות ה32- וה- 64 ביט של מערכות המשתמשות במערכת ההפעלה PE .Windows הוא מבנה נתונים אשר מקבץ את המידע ההכרחי בשביל שה-Loader של Windows יצליח לנהל את הקוד בזמן ריצה". סוגי הקבצים הנפוצים ביותר המשתמשים בפורמט PE: exe - קובץ ריצה dll - ספריית קישור-דינמי sys/drv - קובץ מערכת )דרייבר לקרנל( ocx - קובץ שליטה ב-ActiveX cpl - לוח בקרה scr - שומר מסך הערה: לקבצי lib. )ספריות סטטיות( יש פורמט שונה, לא PE. מערכת ההפעלה Windows עושה שימוש בקבועים הנ"ל כדי לייצג גדלים של משתנים: גודל טיפוס בית CHAR (Character) 1 2 בתים WORD 2 בתים (SHORT (Short Integer 4 בתים (DWORD (Double Word 4 בתים (LONG (Long Integer 8 בתים (QWORD (Quad Word 8 בתים LONGLONG כלים לחקירת ה-PE: PEView - לטובת הסתכלות על ה-PE של קבצים בפורמט זה CFF Explorer - אותו דבר, אך עם פיצ'רים נוספים כגון עריכת ה-PE בהקסדצימלי והמרת הקובץ לשפת אסמבלי WinDbg - עבור ניפוי שגיאות )Debugging( בסיסי פורמט ה-PE נראה כך )התמונה ממוספרת כדי שההסברים בהמשך המאמר יהיו ברורים יותר. לתמונה "נקייה" יותר, לחצו כאן(: Portable Executable www.DigitalWhisper.co.il גליון 90, ינואר 2018 2 DOS-Header המבנה הראשון, הנמצא ב-0x0 Offset, נקרא DOS-Header והוא נראה כך )מספר 1 בתמונת פורמט ה- :)PE הערה להמשך המאמר: שדות המסומנים בכחול הם שדות שחשובים לנו. לא אוכל לכסות את כלל השדות במאמר זה, לכן אכסה רק את השדות החשובים.
    [Show full text]
  • Writing Secure Code Code
    spine = 1.82” ”During the past two Proven techniques from the security experts to decades, computers have revolutionized the way we live. help keep hackers at bay—now updated with BEST PRACTICES They are now part of every lessons from the Microsoft security pushes BEST PRACTICES critical infrastructure, from Hackers cost countless dollars and cause endless worry every year as they attack secure software telecommunications to banking DEVELOPMENT SERIES to transportation, and they networked applications, steal credit-card numbers, deface Web sites, and slow network SECURE CODE WRITING contain vast amounts of sensitive traffi c to a crawl. Learn techniques that can help keep the bad guys at bay with this SECURE CODE WRITING data, such as personal health and entertaining, eye-opening book—now updated with the latest security threats plus WRITING fi nancial records. Building secure lessons learned from the recent security pushes at Microsoft. You’ll see how to padlock software is now more critical than your applications throughout development—from designing secure applications ever to protecting our future, and to writing robust code that can withstand repeated attacks to testing applications every software developer must for security fl aws. Easily digested chapters explain security principles, strategies, learn how to integrate security and coding techniques that can help make your code more resistant to attack. The into all their projects. Writing authors—two battle-scarred veterans who have solved some of the industry’s toughest SECURE Secure Code, which is required security problems—provide sample code to demonstrate specifi c development Second Edition reading at Microsoft and which techniques.
    [Show full text]
  • ACSC 372 – Systems Programming
    File / Directory Manipulation ACSC 372 – Systems Programming Creating Directories Command mkdir <directory> Removing Directories Command rmdir <directory> Lecture 3: Introductory UNIX commands II Removes an empty directory 2 File / Directory Manipulation (cntd) File / Directory Manipulation (cntd) Copying Files Moving Files Command cp (options -i, -r) Command mv (option -i) Makes a copy of a file Moves a file from one location to a new location usage: cp <Source> <Destination> usage: mv <Source> <Destination> Option -i Option -i Asks if you want to write over a file that already exists Asks if you want to write over a file that already exists Option -r Recursively, will copy all files and subdirectories Used also as a rename command 3 4 File / Directory Manipulation (cntd) Examining Files Removing Files Command rm (options -i, -f, -r) Everything in UNIX is a file Removes a file Different files have different uses usage: rm <filename(s)> How do you tell what type a file is? Option -i Command file Verify the delete Examine file types Option -f Force the removal of a file Not 100% accurate. Overrides the -i flag It is based on a combination of the permission codes of the file, the name of the file, and an analysis of the first lines of option -r the file. Recursively, delete all files and directories 5 6 Examining Files (cntd) Examining Files (cntd) Examination Mechanism bash-3.1$ file test/ http://en.wikipedia.org/wiki/Magic_number_(programming) Compiled Java class files (bytecode ) start with 0xCAFEBABE on big-endian systems. test/: directory GIF image files have the ASCII code for 'GIF89a' (0x474946383961) or 'GIF87a' (0x474946383761) JPEG image files begin with 0xFFD8FF, and JPEG/ JFIF files contain the ASCII code for 'JFIF' (0x4A464946) or JPEG/ EXIF files contain the ASCII code for 'Exif' (0x45786966) beginning at byte 6 in the file, followed by more metadata about the file.
    [Show full text]
  • Operating Systems Principles and Practice, Volume 4
    Operating Systems Principles & Practice Volume IV: Persistent Storage Second Edition Thomas Anderson University of Washington Mike Dahlin University of Texas and Google Recursive Books recursivebooks.com Operating Systems: Principles and Practice (Second Edition) Volume IV: Persistent Storage by Thomas Anderson and Michael Dahlin Copyright ©Thomas Anderson and Michael Dahlin, 2011-2015. ISBN 978-0-9856735-6-7 Publisher: Recursive Books, Ltd., http://recursivebooks.com/ Cover: Reflection Lake, Mt. Rainier Cover design: Cameron Neat Illustrations: Cameron Neat Copy editors: Sandy Kaplan, Whitney Schmidt Ebook design: Robin Briggs Web design: Adam Anderson SUGGESTIONS, COMMENTS, and ERRORS. We welcome suggestions, comments and error reports, by email to [email protected] Notice of rights. All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form by any means — electronic, mechanical, photocopying, recording, or otherwise — without the prior written permission of the publisher. For information on getting permissions for reprints and excerpts, contact [email protected] Notice of liability. The information in this book is distributed on an “As Is" basis, without warranty. Neither the authors nor Recursive Books 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 or instructions contained in this book or by the computer software and hardware products described in it. Trademarks: Throughout this book trademarked names are used. Rather than put a trademark symbol in every occurrence of a trademarked name, we state 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.
    [Show full text]
  • DISTRIBUTED APPS CUTTING EDGE Action Filters in ASP.NET MVC Appfabric Service Bus Discovery Dino Esposito Page 6 Juval Lowy
    THE MICROSOFT JOURNAL FOR DEVELOPERS OCTOBER 2010 VOL 25 NO 10 COLUMNS DISTRIBUTED APPS CUTTING EDGE Action Filters in ASP.NET MVC AppFabric Service Bus Discovery Dino Esposito page 6 Juval Lowy . 30 DATA POINTS Runtime Data Sharing Through an Entity Framework Preview: Code First, ObjectSet and DbContext Enterprise Distributed Cache Julie Lerman page 14 Iqbal Khan . 42 CLR INSIDE OUT New Features and Improved Building a Real-Time Transit Application Performance in Silverlight 4 Using the Bing Map App SDK Justin Van Patten and Luan Nguyen . 50 Andrew Pardoe page 20 FORECAST: CLOUDY Connected Devices Using the .NET Micro Framework Performance-Based Scaling Colin Miller . 60 in Windows Azure Joseph Fultz page 86 THE WORKING PROGRAMMER PLUS: Multiparadigmatic .NET, Part 2 Getting Started with Windows Ted Neward page 91 UI FRONTIERS Phone Development Tools Multi-Touch Inertia Joshua Partlow . 70 Charles Petzold page 95 Scalable Multithreaded Programming DON’T GET ME STARTED Devs and Designers with Thread Pools Should Be Friends Ron Fosner . 80 David Platt page 100 Untitled-5 2 3/5/10 10:16 AM Sure, Visual Studio 2010 has a lot of great functionality— we’re excited that it’s only making our User Interface components even better! We’re here to help you go beyond what Visual Studio 2010 gives you so you can create Killer Apps quickly, easily and without breaking a sweat! Go to infragistics.com/beyondthebox today to expand your toolbox with the fastest, best-performing and most powerful UI controls available. You’ll be surprised by your own strength! Infragistics Sales 800 231 8588 Infragistics Europe Sales +44 (0) 800 298 9055 Infragistics India +91-80-6785-1111 twitter.com/infragistics Copyright 1996-2010 Infragistics, Inc.
    [Show full text]
  • MCTS Self-Paced Training Kit (Exam 70-536)
    ● ● ● ● ● ● ● ● ● ● ● How to access your CD files The print edition of this book includes a CD. To access the CD files, go to http://aka.ms/626195/files, and look for the Downloads tab. Note: Use a desktop web browser, as files may not be accessible from all ereader devices. Questions? Please contact: [email protected] Microsoft Press Additional Resources for Developers from Microsoft Press ® ® Published and Forthcoming Titles on Microsoft Visual Studio Visual Basic Programming Microsoft Data Access Inside Microsoft Windows Visual C# 2008: Communication Foundation ® Microsoft Visual Basic 2008 The Language Microsoft ADO.NET 2.0 Justin Smith Step by Step Express Edition: Donis Marshall 978-0-7356-2306-4 Build a Program Now! 978-0-7356-2540-2 Rebecca M. Riordan Patrice Pelland 978-0-7356-2164-0 Other 978-0-7356-2541-9 Programming Microsoft Programming Microsoft Developer Topics Visual C# 2005: Microsoft Visual Basic 2008 The Language ADO.NET 2.0 Debugging Microsoft Step by Step Core Reference Donis Marshall .NET 2.0 Applications Michael Halvorson 978-0-7356-2181-7 David Sceppa John Robbins 978-0-7356-2537-2 978-0-7356-2206-7 978-0-7356-2202-9 Programming Microsoft Microsoft Visual Basic 2005 Visual C# 2005: Programming the Microsoft I. M. Wright’s “Hard Code” Step by Step The Base Class Library ADO.NET Entity Framework Eric Brechner Michael Halvorson Francesco Balena David Sceppa 978-0-7356-2435-1 978-0-7356-2131-2 978-0-7356-2308-8 978-0-7356-2529-7 The Practical Guide to ® Programming Windows CLR via C#, Programming Microsoft Defect
    [Show full text]