Linux Utilities Cookbook


Linux Utilities Cookbook
eBook: $26.99
Formats: PDF, PacktLib, ePub and Mobi formats
$22.94
save 15%!
Print + free eBook + free PacktLib access to the book: $71.98    Print cover: $44.99
$44.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Reviews
Support
Sample Chapters
  • Use the command line like a pro
  • Pick a suitable desktop environment
  • Learn to use files and directories efficiently

Book Details

Language : English
Paperback : 224 pages [ 235mm x 191mm ]
Release Date : October 2013
ISBN : 178216300X
ISBN 13 : 9781782163008
Author(s) : James Kent Lewis
Topics and Technologies : All Books, Cookbooks, Open Source

Table of Contents

Preface
Chapter 1: Using the Terminal / Command Line
Chapter 2: The Desktop
Chapter 3: Files and Directories
Chapter 4: Networking and the Internet
Chapter 5: Permissions, Access, and Security
Chapter 6: Processes
Chapter 7: Disks and Partitioning
Chapter 8: Working with Scripts
Chapter 9: Automating Tasks Using Cron
Chapter 10: The Kernel
Appendix A
Appendix B
Index
  • Chapter 1: Using the Terminal / Command Line
    • Introduction
    • Command retrieval and line editing
    • Using history
    • Filename auto-completion
    • The shell prompt
    • Other environment variables
    • Using aliases
    • The .bashrc file
    • Dealing with blanks and special characters in filenames
    • Understanding the $? variable
    • Redirection and piping
    • Sending output from one terminal to another
    • Using the Screen program
      • Chapter 3: Files and Directories
        • Introduction
        • Copying, removing, and updating files and directories
        • Finding files using find and locate
        • Creating text files – vim, Emacs, and others
        • Using the file command
        • Using grep to find patterns
        • Compressing files using ZIP and TAR
        • Other helpful commands such as stat, sum, touch, and more
        • Chapter 4: Networking and the Internet
          • Introduction
          • Troubleshooting bad connections
          • Copying files to another machine – FTP and SCP
          • Logging into another machine – Telnet and Secure Shell
          • Getting a web page without a browser – wget
          • Browsing the web – Firefox
          • E-mail – Using a web mail program
          • Running your own web server – httpd
          • What is using that port? The /etc/services file
          • IPv4 versus IPv6
          • Chapter 5: Permissions, Access, and Security
            • Introduction
            • Creating and managing user accounts – useradd
            • Working with passwords
            • Working with file permissions
            • Working with the firewalls and router settings
            • Working with Secure Linux – SELinux
            • Using sudo to secure a system
            • The /tmp directory
            • Chapter 6: Processes
              • Introduction
              • Understanding processes
              • Examining processes with ps
              • Examining processes using top
              • Changing priorities with nice
              • Observing a process using the /proc filesystem
                • Chapter 8: Working with Scripts
                  • Introduction
                  • Removing text from a file
                  • Using script parameters
                  • Coding a loop in a script
                  • Backing up your system
                  • Locking a file for only one use at a time
                  • Getting introduced to Perl
                    • Chapter 10: The Kernel
                      • Introduction
                      • A brief look at module commands
                      • Building a kernel from kernel.org
                      • Using xconfig to modify the configuration
                      • Working with GRUB
                      • Understanding GRUB 2

                      James Kent Lewis

                      James Kent Lewis has been in the computer industry for over 30 years. He started out writing BASIC programs in high school and used punch cards in college for his Pascal, Fortran, COBOL, and assembly language classes. Jim taught himself the C programming language by writing various utilities, including a fully-functional text editor, which he uses everyday. He started out using DOS and AIX, and then OS/2. Linux is now his operating system of choice. Jim has worked in the past for several companies, including IBM, Texas Instruments, Tandem, Raytheon, Hewlett-Packard, and others. Most of these positions dealt with low-level device drivers and operating system internals. In his spare time, he likes to create video games in Java. Jim has written articles for IBM Developer Works and has one patent.

                      Submit Errata

                      Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

                      Sample chapters

                      You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                      Frequently bought together

                      Linux Utilities Cookbook +    Xcode 4 iOS Development Beginner's Guide =
                      50% Off
                      the second eBook
                      Price for both: £24.65

                      Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                      What you will learn from this book

                      • Configure the network and using the Internet on your Linux Desktop
                      • Learn about permissions, access, and security
                      • Understand processes under Linux
                      • Work with disks and partitions
                      • Write shell scripts
                      • Automate tasks with crontab
                      • Learn how to build a custom kernel

                      In Detail

                      Linux is a stable, reliable and extremely powerful operating system. It has been around for many years, however, most people still don't know what it can do and the ways it is superior to other operating systems. Many people want to get started with Linux for greater control and security, but getting started can be time consuming and complicated.

                      A practical, hands-on guide that provides you with a number of clear step-by-step examples to help you solve many of the questions that crop up when using an operating system you may not be familiar with.

                      Presenting solutions to the most common Linux problems in a clear and concise way, this helpful guide starts with spicing up the terminal sessions by command retrieval and line editing, and shell prompt variables. We will then get to know the different desktops (GUIs) available for Linux systems and which is the best fit for you. We will then explore the world of managing files and directories, connectivity, and what to do when it goes wrong. We will also learn a range of skills, from creating and managing user accounts to securing your system, managing and limiting processes, and letting information flow from one process to another using pipes. Later, we will master disk management, working with scripts and automating tasks quickly, and finally, understand the need for a custom kernel and tips on how to build one.

                      Based on the author's extensive experience, there is a section on best practices that every Linux user should be familiar with.

                      Approach

                      A Cookbook-style guide packed with examples and illustrations, it offers organized learning through recipes and step-by-step instructions. The book is designed so that you can pick exactly what you need, when you need it.

                      Who this book is for

                      Written for anyone that would like to familiarize themselves with Linux. This book is perfect migrating from Windows to Linux and will save your time and money, learn exactly how to and where to begin working with Linux and troubleshooting in easy steps.

                      Code Download and Errata
                      Packt Anytime, Anywhere
                      Register Books
                      Print Upgrades
                      eBook Downloads
                      Video Support
                      Contact Us
                      Awards Voting Nominations Previous Winners
                      Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                      Resources
                      Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software