Acknowledgments | p. xiii |
About This Book | p. xv |
Introduction | p. xvii |
Mastering Essential UNIX/Linux | |
Accessing the System Using Graphical Desktops | p. 3 |
Establishing Communication with UNIX/Linux | p. 4 |
Exploring the Graphical Desktop Environment | p. 11 |
Touring the Features of UNIX/Linux | p. 17 |
Running Programs in UNIX | p. 19 |
How UNIX Does Its Work | p. 29 |
Giving Instructions to the Shell | p. 32 |
Using Utilities to Examine and Manage Files | p. 45 |
Employing the UNIX Toolbox of Utilities | p. 55 |
Managing Input and Output | p. 66 |
Employing Special Characters in Command Lines | p. 74 |
Modifying the User Environment | p. 87 |
Examining the File System | p. 92 |
Examining the Components of a Functioning System | p. 97 |
Command Summary | p. 111 |
Editing with the Visual Editor | p. 115 |
Introducing the Visual Editor | p. 116 |
Working in an Existing File with vi | p. 117 |
Touring the Visual Editor | p. 119 |
Quickly Moving Around in a File | p. 133 |
Deleting Text from a File | p. 146 |
Adding Text to a File | p. 152 |
Undoing and Repeating Editing Commands | p. 158 |
Avoiding Confusion Between the Shell and the vi Editor | p. 161 |
Creating New Files with the Visual Editor | p. 163 |
Making Text Changes | p. 168 |
Making Global Changes | p. 173 |
Searching for the Line Target | p. 174 |
Moving and Copying Text | p. 176 |
Writing the File and Quitting the Editor | p. 186 |
Interaction with the Shell from Within vi | p. 193 |
Editing Multiple Files | p. 195 |
Customizing the Visual Editor | p. 198 |
Having a Single Key Accomplish a Complex Task | p. 204 |
Integrating Features of the Visual Editor | p. 210 |
Command Summary | p. 218 |
Using Basic UNIX Utilities | p. 227 |
Extending Utilities Examined in the Tour | p. 228 |
Selecting Portions of a File with cut | p. 234 |
Formatting Output in Columns | p. 237 |
Putting Lines Together with paste | p. 238 |
Searching Files with grep | p. 241 |
Calculating with bc | p. 248 |
Ordering the Lines of a File with sort | p. 251 |
Identifying and Removing Duplicate Lines | p. 270 |
Comparing the Contents of Two Files with comm | p. 273 |
Examining Differences Between Files | p. 279 |
Translating Characters to Other Characters with tr | p. 281 |
Listing Names of Files and Directories | p. 287 |
Combining Selected Lines with join | p. 288 |
Editing from the Command Line with sed | p. 291 |
Manipulating Data with awk | p. 297 |
Sending Output to a File and to Another Utility | p. 301 |
Determining What Kind of File | p. 303 |
Touching Files | p. 303 |
Employing Multiple Utilities to Achieve Broader Goals | p. 304 |
Command Summary | p. 310 |
Using Multiple Utilities in Scripts | p. 311 |
Employing Utilities to Obtain Information | p. 312 |
Listing Directories and Files Separately | p. 314 |
Identifying Changes Made to Files in a Directory | p. 318 |
Creating a Complex Word Analysis Script | p. 320 |
Obtaining Relational Data | p. 334 |
Creating and Changing UNIX Directories | p. 343 |
Employing Directories to Create Order | p. 344 |
Managing Files in Directories | p. 358 |
Using Pathnames to Manage Files in Directories | p. 370 |
Accessing Files in Remote Directories Using All Methods | p. 392 |
Examining the Long Listing for Files | p. 404 |
Managing Files from More Than One Directory | p. 405 |
Moving and Removing Directories and Their Contents | p. 415 |
Removing Directories and Files | p. 419 |
Command Summary | p. 426 |
Accessing and Changing Previous Commands | p. 427 |
Surveying Shells and Features | p. 428 |
Using the History Feature with csh, tcsh, bash, and ksh | p. 430 |
Using Editing Commands to Modify the History | p. 442 |
Summarizing the Features of the Shells | p. 446 |
Command Summary | p. 449 |
Specifying Instructions to the Shell | p. 451 |
Examining Shell Command-Line Execution | p. 453 |
Shell Command-Line Expansion | p. 499 |
Customizing How the Shell Functions | p. 518 |
Employing Advanced User Features | p. 526 |
Command Summary | p. 540 |
Setting File and Directory Permissions | p. 543 |
Describing File Permissions | p. 544 |
Using Execute Permissions with a File | p. 552 |
Changing File Permissions Using Mnemonics | p. 555 |
Changing File Permissions Numerically | p. 560 |
Changing Permissions for Group and Other | p. 566 |
Exploring the Effect of Granting Different Permissions | p. 571 |
Modifying Directory Permissions | p. 575 |
Changing Permissions for Files in All Subdirectories | p. 587 |
Identifying Other Permissions | p. 592 |
Setting Permissions When Files and Directories Are Created | p. 593 |
Inheriting Permissions When Files Are Copied | p. 604 |
Command Summary | p. 612 |
Obtaining Help from Online Resources | p. 613 |
Accessing the Programmer's Manual | p. 614 |
Outputting Manual Pages to a File or Printer | p. 616 |
Locating Information with info | p. 617 |
Accessing Internet Resources | p. 623 |
Command Summary | p. 625 |
Controlling User Processes | p. 627 |
Processing Processes | p. 628 |
Managing Jobs | p. 641 |
Exiting When Jobs Have Been Stopped | p. 652 |
Command Summary | p. 657 |
Managing, Printing, and Archiving Large Files | p. 659 |
Viewing Long Files Safely with vi | p. 660 |
Splitting Long Files | p. 662 |
Paginating Long Files | p. 664 |
Printing Your Heart Out | p. 668 |
Locating Files with find | p. 672 |
Archiving Long Files | p. 677 |
Surveying Backup and Archiving Utilities | p. 680 |
Command Summary | p. 685 |
Programming in the Shell with Power Utilities | |
Special Characters and Programming Structures | p. 689 |
Shell Interpretation of Special Characters | p. 690 |
Examining Shell Programming Features | p. 710 |
Creating Shell Scripts | p. 725 |
Command Summary | p. 735 |
Employing Aliases and Functions | p. 737 |
Using Temporary Aliases | p. 738 |
Making Aliases Permanent | p. 745 |
Working with Complex Aliases | p. 747 |
Avoiding an Alias Loop | p. 749 |
Passing Arguments to an Alias in the C Shell | p. 751 |
Employing Functions in the bash and ksh Shells | p. 754 |
Command Summary | p. 761 |
Selecting Lines with grep and Regular Expressions | p. 763 |
Creating an Example File | p. 764 |
Modifying How and Where grep Searches for Lines | p. 766 |
Searching for Lines Using Basic Metacharacters | p. 771 |
Locating Characters in a Set | p. 780 |
A Comparison of grep, egrep, and fgrep | p. 796 |
Command Summary | p. 807 |
Editing the Data Stream with sed | p. 809 |
Creating Example Files for sed Exercises | p. 810 |
Quitting sed After Matching Specific Text or Line Number | p. 812 |
Deleting Lines from a Copy of a File | p. 814 |
Making Basic Substitutions for Specific Text | p. 818 |
Printing Selected Lines | p. 820 |
Performing Complex Substitutions and Printing | p. 825 |
Reading and Writing Files from sed | p. 830 |
Passing Multiple Instructions to sed | p. 831 |
Examining the Workings of the sed Utility | p. 835 |
Command Summary | p. 840 |
Data Manipulation with awk | p. 841 |
Selecting Records with awk | p. 842 |
Using a Database with awk | p. 845 |
Selecting Records with Regular Expressions | p. 853 |
Selecting Records by Specific Database Components | p. 855 |
Creating and Using awk Command Files | p. 861 |
Making awk Programs Easier to Read | p. 868 |
Performing Arithmetic Operations in awk | p. 872 |
Using the printf Function to Format Output | p. 878 |
Using the BEGIN and END Patterns | p. 880 |
Command Summary | p. 885 |
Programming with the Shell | p. 889 |
Interactively Choosing Options from a Menu | p. 890 |
Constructing a Backup Script | p. 913 |
Using Options with Scripts | p. 916 |
Command Summary | p. 927 |
Shell Programming with Multiple Utilities | p. 933 |
Creating a Phone Search Script | p. 934 |
Creating a Complex Group Member Script | p. 942 |
Creating a Complex Script for Project Management | p. 965 |
Command Summary | p. 975 |
Modifying the User Environment | p. 977 |
Employing Control Files with the Shells | p. 979 |
Properly Using the Control Files | p. 984 |
Tailoring How the Shell Interacts with You | p. 985 |
Creating Variables for Shortcuts | p. 988 |
Using stty to Set Input and Output Options on a Terminal | p. 988 |
Command Summary | p. 992 |
Index | p. 993 |
Table of Contents provided by Syndetics. All Rights Reserved. |