[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-671807-105":3,"detail-sidebar-cat-0-en-105":79,"doc-detail-671807-en":129},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":72,"head_meta":74,"extra_data":76,"updated_unix":78},105,"en","a-practical-guide-to-linux-commands-editors-and-shell-programming-third-edition","A Practical Guide to Linux Commands - Editors and Shell Programming - Third Edition","","A Practical Guide to Linux Commands, Editors and Shell Programming, Third Edition by Mark G. Sobell, presents a structured learning path through Linux fundamentals, command-line workflows, and practical administration concepts. It covers core utilities, filesystem and permissions, and the shell as a command interpreter and programming language. The book then guides readers through the vim and emacs editors, multiple shell environments (bash and tcsh), and scripting with bash, Perl, Python, AWK, plus secure networking tools like rsync and OpenSSH. It concludes with a command reference, appendixes on patterns, help resources, system updates, and Mac OS X notes.",{"@graph":14,"@context":71},[15,34,54],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/a-practical-guide-to-linux-commands-editors-and-shell-programming-third-edition/671807/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":48,"encodingFormat":47,"isAccessibleForFree":49,"interactionStatistic":50},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/a-practical-guide-to-linux-commands-editors-and-shell-programming-third-edition/671807.png","ImageObject",300,407,{"name":42,"@type":43},"awa","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-02",true,{"@type":51,"interactionType":52,"userInteractionCount":22},"InteractionCounter",{"@type":53},"ViewAction",{"@type":55,"mainEntity":56},"FAQPage",[57,63,67],{"name":58,"@type":59,"acceptedAnswer":60},"What topics are covered in the beginning chapters of this guide?","Question",{"text":61,"@type":62},"The early chapters introduce Linux and Mac OS X context, command-line conventions, logging in, finding help (man/info/--help), and practical shell usage. They also cover utilities and the hierarchical filesystem basics.","Answer",{"name":64,"@type":59,"acceptedAnswer":65},"Which editors and shells does the book teach?",{"text":66,"@type":62},"The guide covers the vim editor and the emacs editor, and it explains shell environments including the Bourne Again Shell (bash) and the TC Shell (tcsh).",{"name":68,"@type":59,"acceptedAnswer":69},"Does the book include scripting and secure networking utilities?",{"text":70,"@type":62},"Yes. It includes programming and scripting in bash, Perl, Python, and AWK, along with secure networking utilities such as rsync and OpenSSH. It also provides a command reference and supporting appendixes (regular expressions, help, system updates, and Mac OS X notes).","https://schema.org",{"og:url":32,"og:type":73,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":75,"canonical":32},"index,follow",{"doc_id":77,"site_id":7},671807,1793580874,{"code":4,"msg":80,"data":81},"success",[82,86,90,94,99,103,108,113,118,121,125],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":83,"show_sort_weight":84,"slug":85},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":87,"show_sort_weight":88,"slug":89},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":91,"show_sort_weight":92,"slug":93},"Exam",70,"exam",{"id":95,"doc_module":4,"doc_module_name":25,"category_name":96,"show_sort_weight":97,"slug":98},5,"Comic",60,"comic",{"id":100,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":101,"slug":102},6,50,"technology",{"id":104,"doc_module":4,"doc_module_name":25,"category_name":105,"show_sort_weight":106,"slug":107},7,"Healthcare",40,"healthcare",{"id":109,"doc_module":4,"doc_module_name":25,"category_name":110,"show_sort_weight":111,"slug":112},8,"Research & Report",30,"research-report",{"id":114,"doc_module":4,"doc_module_name":25,"category_name":115,"show_sort_weight":116,"slug":117},9,"Religion & Spirituality",20,"religion-spirituality",{"id":116,"doc_module":4,"doc_module_name":25,"category_name":119,"show_sort_weight":116,"slug":120},"World Cup","world-cup",{"id":122,"doc_module":4,"doc_module_name":25,"category_name":123,"show_sort_weight":122,"slug":124},10,"Lifestyle","lifestyle",{"id":126,"doc_module":4,"doc_module_name":25,"category_name":127,"show_sort_weight":95,"slug":128},19,"General","general",{"code":4,"msg":80,"data":130},{"doc_id":77,"user_id":131,"nickname":42,"user_avatar":132,"doc_module":4,"category_id":100,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":133,"file_id":134,"file_url":135,"file_type":136,"file_size":137,"view_count":22,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":138,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":78,"read_time":143},3985747858093,"https://ap-avatar.wpscdn.com/davatar_3d24733baf745e90a7e4bdd5f77d97b2","A Practical Guide to Linux Commands,  Editors and Shell Programming  \nTHIRD EDITION  \nMark G. Sobell  \nVisit us on the Web: [informit.com/ph](informit.com/ph)  \nLibrary of Congress Cataloging-in-Publication Data  \nSobell, Mark G.  \nA practical guide to Linux commands, editors, and shell programming / Mark G. Sobell.—3rd ed.  \n[p. cm](p. cm).  \nIncludes bibliographical references and index.  \nISBN 978-0-13-308504-4 (pbk. : alk. paper) 1. Linux. 2. Operating systems (Computers) I. Title. QA76.76.O63S59483 2012  \n005.4'32—dc23  \n2012028015  \nCopyright © 2013 Mark G. Sobell  \nISBN-13: 978-0-13-308504-4  \nISBN-10: 0-13-308504-X  \nText printed in the United States at Edwards Brothers Malloy in Ann Arbor, Michigan. Fourth printing, September 2014  \n Brief Contents  \nContents xvi Preface xxxvii  \n1 Welcome to Linux and Mac OS X 1  \nPART I The Linux and Mac OS X Operating Systems 21 2 Getting Started 23  \n3 The Utilities 49  \n4 The Filesystem 81  \n5 The Shell 125  \nPART II The Editors 157  \n6 The vim Editor 159  \n7 The emacs Editor 213  \nPART III The Shells 273  \n8 The Bourne Again Shell (bash) 275  \n9 The TC Shell (tcsh) 369  \nPART IV Programming Tools 415  \n10 Programming the Bourne Again Shell (bash) 417  \n11 The Perl Scripting Language 517  \n12 The Python Programming Language 563  \n13 The MySQL Database Management System 595  \n14 The AWK Pattern Processing Language 619  \n15 The sed Editor 653  \nPART V Secure Network Utilities 671  \n16 The rsync Secure Copy Utility 673  \n17 The OpenSSH Secure Communication Utilities 687  \nPART VI Command Reference 711  \nCommand Reference 713  \nPART VII Appendixes 1009  \nA Regular Expressions 1011  \nB Help 1021  \nC Keeping the System Up-to-Date 1027  \nD Mac OS X Notes 1041  \nGlossary 1053  \nFile Tree Index 1105  \nUtility Index 1107  \nMain Index 1111  \n Contents  \nPreface xxxvi  \nChapter 1: Welcome to Linux and Mac OS X 1  \nThe History of UNIX and GNU–Linux 3 The Heritage of Linux: UNIX 3 Fade to 1983 3  \nNext Scene, 1991 4  \nThe Code Is Free 5  \nHave Fun! 6  \nWhat Is So Good About Linux? 6  \nWhy Linux Is Popular with Hardware Companies and Developers 9 Linux Is Portable 10  \nThe C Programming Language 10 Overview of Linux 11  \nLinux Has a Kernel Programming Interface 12  \nLinux Can Support Many Users 12  \nLinux Can Run Many Tasks 12  \nLinux Provides a Secure Hierarchical Filesystem 12  \nThe Shell: Command Interpreter and Programming Language 14 A Large Collection of Useful Utilities 15  \nInterprocess Communication 16  \nSystem Administration 16  \nAdditional Features of Linux 16 GUIs: Graphical User Interfaces 16 (Inter)Networking Utilities 17 Software Development 18  \nChapter Summary 18 Exercises 18  \nPART I The Linux and Mac OS X Operating Systems 21  \nChapter 2: Getting Started 23 Conventions Used in This Book 24 Logging In from a Terminal (Emulator) 26  \nWorking from the Command Line 28 Which Shell Are You Running? 29 Correcting Mistakes 29  \nRepeating/Editing Command Lines 31  \nsu/sudo: Curbing Your Power (root Privileges) 32 Where to Find Documentation 33  \nman: Displays the System Manual 33  \napropos: Searches for a Keyword 35  \ninfo: Displays Information About Utilities 36  \nThe ––help Option 38  \nThe bash help Command 39  \nGetting Help 39  \nMore About Logging In and Passwords 42 What to Do If You Cannot Log In 42  \nLogging In Remotely: Terminal Emulators, ssh, and Dial-Up Connections 43 Using Virtual Consoles 43  \nLogging Out 43  \nChanging Your Password 44 Chapter Summary 46 Exercises 46  \nAdvanced Exercises 47  \nChapter 3: The Utilities 49 Special Characters 50  \nBasic Utilities 51  \nls: Lists the Names of Files 52  \ncat: Displays a Text File 52  \nrm: Deletes a File 52  \nless Is more: Display a Text File One Screen at a Time 53  \nhostname: Displays the System Name 53 Working with Files 53  \ncp: Copies a File 53  \nmv: Changes the Name of a File 54  \nlpr: Prints a File 55  \ngrep: Searches for a String 56  \nhead: Displays the Beginning of a File 56  \ntail: Displays the End of a File 57  \nsort: D","cbCaiuZrwtCmQepM","https://ap.wps.com/l/cbCaiuZrwtCmQepM","pdf",6443141,1169,"English","# Preface\n# Chapter 1: Welcome to Linux and Mac OS X\n# Chapter 2: Getting Started\n# Chapter 3: The Utilities\n# Chapter 4: The Filesystem\n# Chapter 6: The vim Editor\n# Chapter 7: The emacs Editor\n# Chapter 8: The Bourne Again Shell (bash)\n# Chapter 9: The TC Shell (tcsh)\n# Chapter 10: Programming the Bourne Again Shell (bash)\n# Chapter 11: The Perl Scripting Language\n# Chapter 12: The Python Programming Language\n# Chapter 13: The MySQL Database Management System\n# Chapter 14: The AWK Pattern Processing Language\n# Chapter 15: The sed Editor\n# Chapter 16: The rsync Secure Copy Utility\n# Chapter 17: The OpenSSH Secure Communication Utilities\n# Command Reference\n# Appendixes","[{\"question\":\"What topics are covered in the beginning chapters of this guide?\",\"answer\":\"The early chapters introduce Linux and Mac OS X context, command-line conventions, logging in, finding help (man/info/--help), and practical shell usage. They also cover utilities and the hierarchical filesystem basics.\"},{\"question\":\"Which editors and shells does the book teach?\",\"answer\":\"The guide covers the vim editor and the emacs editor, and it explains shell environments including the Bourne Again Shell (bash) and the TC Shell (tcsh).\"},{\"question\":\"Does the book include scripting and secure networking utilities?\",\"answer\":\"Yes. It includes programming and scripting in bash, Perl, Python, and AWK, along with secure networking utilities such as rsync and OpenSSH. It also provides a command reference and supporting appendixes (regular expressions, help, system updates, and Mac OS X notes).\"}]","A Practical Guide to Linux Commands - Editors and Shell Programming - Third Edition | PDF",2946]