You are previewing SAMS Teach Yourself Unix in 10 Minutes.
O'Reilly logo
SAMS Teach Yourself Unix in 10 Minutes

Book Description

If you're in need of a quick, concise tutorial to learn Unix and get on your way, this is it. Sams Teach Yourself UNIX in 10 Minutes, Second Edition will help you quickly and easily learn UNIX essentials and review UNIX features and functions. You will master components of UNIX programming through clear, concise learning modules and step-by-step instructions without having to wade through a lot of fluff and theory. You will learn to:

  • Get onto the system and use the command line

  • Move about the file system

  • Create, move, rename and delete files and directories

  • Slice and dice command pipe data

  • Use the vi Editor

  • Print in the UNIX environment

  • And more!

  • Whatever your expertise level, Sams Teach Yourself UNIX in 10 Minutes will get you up and running with UNIX in no time.

    Table of Contents

    1. Copyright
    2. About the Author
    3. Acknowledgments
    4. We Want to Hear from You!
    5. Reader Services
    6. Introduction
      1. Welcome to Sams Teach Yourself Unix in 10 Minutes
      2. Unix Overview
      3. Versions of Unix
      4. Teach Yourself Unix in 10 Minutes
      5. How Do You Use Unix?
      6. Getting More Information
      7. Who This Book Is For
      8. Author Note
      9. Conventions Used in This Book
    7. Getting Started
      1. Practicing with Unix: It Really Does Make You Perfect!
      2. Prepare to Log In
      3. The Login Process
        1. Text-Based Login
        2. Graphical Login
      4. The Logout Process
        1. Text-Based Logout
        2. Graphical Logout
      5. Shell Game
      6. Working Within the Shell
      7. Summary
    8. Getting Help
      1. Finding Help in Unix
      2. Using the Unix Man Pages
      3. More Help
        1. whatis and man –f
        2. apropos and man -k
      4. Even More Help!
      5. Graphical Help (Using KDE)
      6. Additional Documentation
        1. Unix and Linux Resources Online
      7. Summary
    9. Interfacing with Unix Graphically
      1. Overview of the X Window System
      2. How Many Windows Are There?
      3. X Window System Functionality
        1. Starting the X Window System
        2. Tying It All Together
      4. Window Placement
      5. X Window System Look and Feel
      6. Window Managers
        1. Using twm
        2. More Window Managers
      7. Desktop Environments
        1. KDE
      8. Summary
    10. The File System Explained
      1. File System Design
      2. Navigating the File System
        1. Using the pwd Command
        2. Unix File Listing
        3. Hidden Data
        4. Changing Directories: cd
        5. Changing Directories: pushd and popd
        6. Relative and Absolute Paths
      3. Navigating the File System with the GUI
        1. Simple KDE Actions
      4. Summary
    11. File System Navigation Techniques
      1. Using the find Command
        1. Finding a File by Its Date
        2. Finding a File by Its Size
      2. Finding Data with Other Unix Commands
        1. The whereis Command
        2. The which Command
      3. The grep Command
      4. Using the KDE Find Feature
      5. Summary
    12. Working with the Shell
      1. Working with Files at the Unix Shell Prompt
        1. The touch Command
        2. Removing Files with the rm Command
        3. The mkdir Command
        4. The rmdir Command
        5. The cp Command
        6. The mv Command
        7. The ln Command
      2. Summary
    13. Reading Files
      1. The cat Command
      2. Making Output Readable with Pagers
        1. The more Command
        2. The less Command
      3. The tail Command
        1. The head Command
      4. Summary
    14. Text Editing
      1. Text Editing with Unix
      2. The vi Editor
      3. The emacs Editor
      4. Desktop Environment Tools: KDE's Built-in Editor
      5. Summary
    15. Text and File Utilities
      1. The wc Command
      2. The split Command
      3. The diff and patch Commands
      4. Tying It All Together: File Management Skills Test
        1. Skills Test
      5. Summary
    16. Compression and Archiving Tools
      1. Managing Files in Unix
      2. Managing Your Disk Usage
      3. Compressing Files in Unix
        1. The compress Command
        2. The gzip Command
        3. zip/unzip
      4. The tar Command
      5. Using uuencode/uudecode
      6. Summary
    17. Managing Processes in Unix
      1. Multitasking
        1. Background Processes
        2. Using Ctrl+z and bg
        3. The fg Command
        4. The jobs Command
      2. The ps Command
      3. The kill Command
      4. The at and cron Commands
        1. Using cron
        2. Using at
      5. Summary
    18. Input and Output
      1. I/O Redirection
      2. Standard I/O
        1. STDIN
        2. STDOUT
        3. STDERR
      3. Pipes
      4. Summary
    19. Regular Expressions
      1. Pattern Matching and Regular Expressions
      2. Using . and *
      3. Using [] and ^
      4. Using ^ (Again) and $
      5. Summary
    20. Shell Scripting Fundamentals
      1. Building Unix Shell Script Files
      2. Using foreach
      3. Using while and if
      4. Summary
    21. User Utilities
      1. Using chsh
      2. The passwd Command
      3. Using finger and chfn
        1. Using chfn
      4. Using date
      5. Using uptime
      6. Using who
      7. Summary
    22. Modifying Your Environment
      1. Aliases
      2. Environment Variables
      3. Paths
      4. Using Dot Files
      5. Working with the GUI
      6. Summary
    23. Printing with Unix
      1. The lpr Command
      2. The lpq Command
      3. The lprm Command
      4. Summary
    24. Networking and Security
      1. Using telnet
      2. Using ssh
      3. Using rlogin
      4. Using slogin
      5. Using ftp
      6. Summary
    25. Configuring Permissions in Unix
      1. Unix File and Directory Permissions
        1. Directory Permissions Specifics
        2. Permission Levels
      2. Using ls -l
      3. Using chmod
      4. Using chgrp
      5. Summary
    26. Unix Privileged Commands
      1. Root Refresher
      2. Single-User Mode
      3. fsck
      4. shutdown/reboot
      5. Summary
    27. Learn More About Unix: Reference
    28. Unix Command Reference