Ubuntu Linux Toolbox: 1000+ Commands for Ubuntu and Debian Power Users, Second Edition
Published by
John Wiley & Sons, Inc.
10475 Crosspoint Boulevard
Indianapolis, IN 46256
www.wiley.com
Copyright 2013 by John Wiley & Sons, Inc., Indianapolis, Indiana
Published simultaneously in Canada
ISBN: 978-1-118-18352-6
ISBN: 978-1-118-22799-2 (ebk)
ISBN: 978-1-118-24052-6 (ebk)
Manufactured in the United States of America
10 9 8 7 6 5 4 3 2 1
No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011, fax (201) 748-6008, or online at http://www.wiley.com/go/permissions .
Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations or warranties with respect to the accuracy or completeness of the contents of this work and specifically disclaim all warranties, including without limitation warranties of fitness for a particular purpose. No warranty may be created or extended by sales or promotional materials. The advice and strategies contained herein may not be suitable for every situation. This work is sold with the understanding that the publisher is not engaged in rendering legal, accounting, or other professional services. If professional assistance is required, the services of a competent professional person should be sought. Neither the publisher nor the author shall be liable for damages arising herefrom. The fact that an organization or Web site is referred to in this work as a citation and/or a potential source of further information does not mean that the author or the publisher endorses the information the organization or website may provide or recommendations it may make. Further, readers should be aware that Internet websites listed in this work may have changed or disappeared between when this work was written and when it is read.
For general information on our other products and services please contact our Customer Care Department within the United States at (877) 762-2974, outside the United States at (317) 572-3993 or fax (317) 572-4002.
Wiley publishes in a variety of print and electronic formats and by print-on-demand. Some material included with standard print versions of this book may not be included in e-books or in print-on-demand. If this book refers to media such as a CD or DVD that is not included in the version you purchased, you may download this material at http://booksupport.wiley.com . For more information about Wiley products, visit www.wiley.com .
Library of Congress Control Number: 2013939157
Trademarks: Wiley and the Wiley logo are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates, in the United States and other countries, and may not be used without written permission. Ubuntu is a registered trademark of Canonical, Ltd. Linux is a registered trademark of Linus Torvalds. All other trademarks are the property of their respective owners. John Wiley & Sons, Inc. is not associated with any product or vendor mentioned in this book.
As always, I dedicate my work on this book to my wife, Sheree.
Christopher Negus
About the Author
Christopher Negus has more than 25 years of experience teaching and writing about Linux and UNIX. He has authored dozens of books on Linux, including the bestselling Red Hat Linux Bible , Linux Bible , the Linux Toys series, and the Linux Toolbox series.
As an employee of Red Hat Inc., Christopher has achieved certifications that include Red Hat Certified Engineer, Instructor, and Examiner (RHCE, RHCI, and RHCX). Currently, he creates technical content for the Red Hat Customer Portal, which covers topics related to Red Hat Enterprise Linux, virtualization, and cloud computing.
Awards for Christophers writing include Best Linux book of the year for his Red Hat Linux 8 Bible , as voted by readers of Linux World magazine. For the Linux Journal 2009 Readers Choice Awards, his Linux Bible was voted one of the top five Favorite Linux Books of All Time.
About the Technical Editors
Richard Blum has worked in the IT industry for more than 25 years both as a systems and network administrator. He has published numerous Linux and Open Source books, and is an online instructor for web programming and Linux courses that are used by colleges and universities across the U.S. When hes not busy being a computer nerd, he enjoys playing piano and guitar, and spending time with his wife, Barbara, and his two daughters, Katie Jane and Jessica.
David Duffey lives in Austin, TX with his wife and two children and is employed by Canonical, the commercial sponsor of Ubuntu. David is a bit of a geek and holds numerous Linux certifications from Canonical, Red Hat, Novell/SuSe, and LPI. David earned his undergraduate degrees in Mathematics and Computer Science at Kansas State University and his EMBA from the University of Texas McCombs School of Business.
Credits
Acquisitions Editor
Mary James
Project Editor
Maureen Spears
Technical Editors
Richard Blum
David Duffey
Production Editor
Daniel Scribner
Copy Editor
Nancy Rapoport
Editorial Manager
Mary Beth Wakefield
Freelancer Editorial Manager
Rosemarie Graham
Associate Director of Marketing
David Mayhew
Marketing Manager
Ashley Zurcher
Business Manager
Amy Knies
Production Manager
Tim Tate
Vice President and Executive Group Publisher
Richard Swadley
Vice President and Executive Publisher
Neil Edde
Associate Publisher
Jim Minatel
Project Coordinator, Cover
Katie Crocker
Compositor
Jeff Lytle, Happenstance Type-O-Rama
Proofreader
Nancy Carrasco
Indexer
Ron Strauss
Cover Image
Wiley
Cover Designer
Stockbyte/Getty Images, Inc.
Acknowledgments
I would like to acknowledge Canonical Ltd. and the Ubuntu community for their ongoing excellent work producing the Linux-based Ubuntu operating system.
For this edition, I enlisted the excellent skills of David Duffey, Server Partner Programme Manager at Canonical. His help was invaluable when it came to sizing up the new content for this edition. Also on this edition, thanks to Richard Blum (a fine Linux author in his own right) for providing a thorough technical edit on this edition.
Special thanks to Franois Caen for his work as coauthor on the first edition of this book. Also on the first edition, Thomas Blader went far beyond his technical editor title, providing excellent insights and meticulous testing throughout the book. Eric Foster-Johnson came in near the end of the process on the first edition and provided Ubuntu feature enhancements throughout the book.
Thanks to my friends and associates at Red Hat who make it a joy to go to work every day. In particular, thanks to Henry Hutton for his constant encouragement and great ideas promoting my Linux books. And on the home front, thanks to my wonderful wife Sheree and cool son Seth for making it fun to come home too.
At Wiley, Id like to thank Mary James for helping to establish the vision for this book, as well as Maureen Spears for her gentle encouragement to keep me on schedule and for her steady hand developing and editing the book. Thanks to Daniel Scribner for steering it through the production phases. Nancy Rapoports detailed copy editing has added a layer of polish to the book that I couldnt hope to get on my own.
Next page