UNIX and Shell programming : a textbook / (Record no. 3166)

MARC details
000 -LEADER
fixed length control field 18693cam a22001694a 4500
020 ## - INTERNATIONAL STANDARD BOOK NUMBER
International Standard Book Number 0534951597 (pbk. : acidfree)
040 ## - CATALOGING SOURCE
Transcribing agency DLC
082 00 - DEWEY DECIMAL CLASSIFICATION NUMBER
Classification number 005.2/82
Item number FOR/U
100 1# - MAIN ENTRY--PERSONAL NAME
Personal name Forouzan, Behrouz A.
245 10 - TITLE STATEMENT
Title UNIX and Shell programming : a textbook /
Statement of responsibility, etc. Behrouz A. Forouzan and Richard F. Gilberg.
260 ## - PUBLICATION, DISTRIBUTION, ETC. (IMPRINT)
Place of publication, distribution, etc. Pacific Grove, CA :
Name of publisher, distributor, etc. Brooks/Cole-Thomson Learning,
Date of publication, distribution, etc. c2003.
300 ## - PHYSICAL DESCRIPTION
Extent xix, 875 p. :
Other physical details ill. (some col.) ;
Dimensions 24 cm.
500 ## - GENERAL NOTE
General note Includes index.
505 ## - FORMATTED CONTENTS NOTE
Formatted contents note <br/>1.1 Why UNIX? 3<br/>Portable 3<br/>Multiuser 3<br/>Multitasking 3<br/>Networking 4<br/>Organized File System 4<br/>Device Independence 4<br/>Utilities 4<br/>Services 4<br/>1.2 Computer System 4<br/>Hardware 5<br/>Software 5<br/>The Operating System 6<br/>1.3 The UNIX Environment 6<br/>Personal Environment 6<br/>Time-Sharing Environment 7<br/>Client/Server Environment 7<br/>1.4 UNIX Structure 8<br/>The Kernel 8<br/>The Shell 8<br/>Utilities 9<br/>Applications 10<br/>1.5 Accessing UNIX 10<br/>User ID 10<br/>Passwords 10<br/>Interactive Session 11<br/>1.6 Commands 13<br/>Basic Concepts 13<br/>1.7 Common Commands 15<br/>Date and Time (date) Command 15<br/>Calendar (cal) Command 17<br/>Who's Online (who) Command 18<br/>whoami 20<br/>Change Password (passwd) Command 20<br/>Print Message (echo) Command 21<br/>Online Documentation (man) Conunand 22<br/>Print (Ipr) Command 23<br/>1.8 Other Useful Commands 24<br/>Terminal (tty) Command 24<br/>Clear Screen (clear) Command 25<br/>Set Terminal (stty) Command 25<br/>Record Session (script) Command 27<br/>System Name (uname) Command 28<br/>Calculator (be) Command 29<br/>1.9 Key Terms 32<br/>1.10Tips 32<br/>1. 11 Commands 33<br/>1.12 Summary 34<br/>1.13 Practice Set 35<br/>Review Questions 35<br/>Exercises 36<br/>1.14 Lab Sessions 37<br/>^asoc m 4 i<br/>2.1 Editor Concepts 41<br/>Line Editors 41<br/>Screen Editors 41<br/>2.2 The vi Editor 42<br/>2.3 Modes 42<br/>Command Mode 43<br/>Text Mode 43<br/>Changing Modes 43<br/>2.4 Commands 44<br/>Add Commands 44<br/>Cursor Move Commands 46<br/>Deletion Commands 50<br/>Join Command 50<br/>Scrolling Commands 51<br/>Undo Commands 53<br/>Saving and Exit Commands 54<br/>2.5 Two Practice Sessions 55<br/>2.6 Key Terms 57<br/>2.7 Tips 57<br/>2.8 Commands 57<br/>2.9 Summary 58<br/>2.10 Practice Set 60<br/>Review Questions 60<br/>Exercises 60<br/>2.11 Lab Sessions 62<br/>Fe^e Systems 6S<br/>3.1 Filenames 65<br/>Wildcards 66<br/>3.2 File Types 68<br/>3.3 Regular Files 69<br/>Text Files 69<br/>Binary Files 69<br/>3.4 Directories 70<br/>Special Directories 70<br/>Paths and Pathnames 71<br/>Relative Pathname Abbreviations 72<br/>3.5 File System Implementation 75<br/>File Systems 76<br/>Directory Contents 77<br/>Links 77<br/>3.6 Operations Unique to Directories 80<br/>Locate Directory (pwd) Command 80<br/>List Directory (Is) Command 81<br/>Make Directory (mkdir) Command 86<br/>Change Directory (cd) Command 88<br/>Remove Directory (rmdir) Command 89<br/>3.7 Operations Unique to Regular Files 89<br/>■ Create File 89<br/>Edit File 89<br/>Display File (more) Command 90<br/>Print File 92<br/>3.8 Operations Common to Both 93<br/>Copy (cp) Command 93<br/>Move (mv) Command 100<br/>Rename (mv) Command 102<br/>Link (In) Command 102<br/>Remove (rm) Command 106<br/>3.9 Key Terms 112<br/>3.10 Tips 112<br/>3.11 Commands 113<br/>3.12 Summary 114<br/>3.13 Practice Set 115<br/>Review Questions 115<br/>Exercises 116<br/>3.14 Lab Sessions 119<br/>Chapter 4<br/>Security and<br/>FiSe Perai^ss9©8? ! 11<br/>4.1 Users and Groups 121<br/>Group (groups) Command 121<br/>4.2 Security Levels 122<br/>System Security 122<br/>Permission Codes 123<br/>Checking Permissions 126<br/>4.3 Changing Permissions 126^<br/>Symbolic Codes 127<br/>Octal Codes 128<br/>Option 130<br/>4.4 User Masks 131<br/>Basic Concept 131<br/>User Mask (umask) Command 132<br/>4.5 Changing Ownership and Group 132<br/>Change Ownership (chown) Command 133<br/>Change Group (chgrp) Command 133<br/>4.6KeyTerms 134<br/>4.7 Commands 134<br/>4.8 Tips 135<br/>4.9 Summary 135<br/>4.10 Practice Sets 136<br/>Review Questions 136<br/>Exercises 138<br/>4.11 Lab Sessions 140<br/>SgntiTsdiBfStk&in} to Sii'33S^-i<br/>5.1 UNIX Session 144<br/>Login Shell Verification 145<br/>Current Shell Verification 145<br/>Shell Relationships 145<br/>Logout 146<br/>5.2 Standard Streams 146<br/>5.3 Redirection 147<br/>Redirecting Input 147<br/>Redirecting Output 148<br/>Redirecting Errors 149<br/>5.4 Pipes 151<br/>5.5 tee Command 153<br/>5.6 Command Execution 154<br/>Sequenced Commands 155<br/>Grouped Commands 155<br/>Chained Commands 156<br/>Conditional Commands 156<br/>5.7 Command-Line Editing 156<br/>Command-Line Editing Concept 157<br/>Editor Selection 157<br/>vi Command-Line Editor 157<br/>Using the Conrunand-Line Editor 159<br/>5.8 Quotes 159<br/>Backslash 160<br/>Double Quotes 161<br/>Single Quotes 163<br/>5.9 Command Substitution 164<br/>5.10 Job Control 165<br/>Jobs 165<br/>Foreground and Background Jobs 165<br/>jobsConunand 168<br/>Process ID 170<br/>5.11 Aliases 170<br/>Aliases in the Kom and Bash Shells 171<br/>Aliases in the C Shell 174<br/>Alias Summary 176<br/>5.12 Variables 176<br/>User-Defined Variables 176<br/>Predefined Variables 177<br/>Storing Data in Variables 177<br/>Accessing a Variable 178<br/>5.13 Predefined Variables 178<br/>Handling Variables 181<br/>5.14 Options 183<br/>Handling Options 184<br/>5.15 Shell/Environment<br/>Customization 185<br/>Temporary Customization 185<br/>Permanent Customization 185<br/>Summary 187<br/>5.16 Key Terms 188<br/>5.17 Tips 188<br/>5.18 Commands 189<br/>5.19 Summary 191<br/>5.20 Practice Set K92<br/>Review Questions 192<br/>Exercises 193<br/>5.21 Lab Sessions 197<br/>COnapteif 6<br/>FiSteE's f!<br/>6.1 Filters and Pipes 202<br/>6.2 Concatenating Files 202<br/>Catenate (cat) Command 202<br/>cat Options 205<br/>6.3 Display Beginning and End<br/>of Files 207<br/>head Command 207<br/>tail Command 208<br/>6.4 Cut and Paste 210<br/>cut Command 210<br/>paste Command 214<br/>6.5 Sorting 217<br/>sort Command 217<br/>Sort by Lines 217<br/>Sdrt by Fields 219<br/>Options 222<br/>Multiple-Pass Sorting 227<br/>6.6 Translating Characters 230<br/>tr Command 230<br/>Simple Translate 230<br/>Nonmatching Translate Strings 231<br/>Delete Characters 231<br/>Squeeze Output 231<br/>Complement 232<br/>6.7 Flies with Duplicate Lines 233<br/>uniqConunand 233<br/>Output Format 234<br/>Skip Leading Fields 236<br/>Skip Leading Characters 236<br/>6.8 Count Characters, Words,<br/>or Lines 237<br/>wc Command 237<br/>6.9 Comparing Flies 238<br/>Compare (cmp) Command 238<br/>Difference (diff) Command 240<br/>Common (conun) Command 243<br/>6.10 Key Terms 244<br/>6.1 i Tips 244<br/>6.12 Commands 245<br/>6.13 Summary 246<br/>6.14 Practice Set 247<br/>Review Questions 247<br/>Exercises 248<br/>4.15 Lab Sessions 252<br/>Ciiapter 1<br/>€©mBiniim^Q€ait3®ins<br/>%%1<br/>7.1 User Communication 257<br/>talk Command 257<br/>write Conunand 260<br/>7.2 Electronic Mail 262<br/>Mail Addresses 262<br/>Mail Mode 265<br/>mail Command 265<br/>Send Mail 265<br/>Read Mode 270<br/>Read Mail Options 275<br/>Mail Files 275<br/>7.3 Remote Access 276<br/>The telnet Concept 276<br/>Connecting to the Remote<br/>Host 278<br/>7.4 File Transfer 279<br/>The ftp Command 279<br/>Establishing ftp Connection 280<br/>Closing an ftp Connection 280<br/>Transferring Files 281<br/>7.5 Key Terms 282<br/>7.6 Commands 283<br/>7.7 Tips 283<br/>7.8 Summary 284<br/>7.9 Practice Set 285<br/>Review Questions 285<br/>Exercises 286<br/>7.10 Lab Sessions 287<br/>CBnaipter ®<br/>vi GX 19 D<br/>8.1 vl Editor 292 ^<br/>Commands 292<br/>Conunand Categories 293<br/>8.2 Local Commands<br/>in vi 293<br/>Insert Text Conunands (i, I) 293<br/>Append Text Comniands (a. A) 293<br/>Newline Conunands (o, O) 294<br/>Replace Text Commands (r, R) 294<br/>Substitute Text Conunands (s, S) 295<br/>* Delete Character<br/>Conunands (x, X) 295<br/>Mark Text Command (m) 296<br/>Change Case Command (~) 296<br/>Put Commands (p, ?) 297<br/>Join Conunand (J) 298<br/>8.3 Range Commands in vi 299<br/>Text Object 299<br/>Text Object Conunands 304<br/>Yank Conunand 306<br/>Range Command Summary 307<br/>8.4 Global Commands in vi 307<br/>Scroll Commands 307<br/>Undo Commands 307<br/>Repeat Command 308<br/>Screen Regeneration Commands 308<br/>Display Document Status Line 308<br/>Save and Exit Commands 309<br/>8.5 Rearrange Text in vi 309<br/>Move Text. 309<br/>Copy Text 309<br/>Named Buffers 310<br/>8.6 ex Editor 311<br/>ex Instruction Format 311<br/>Addresses 312<br/>Commands 316<br/>8.7 Key Terms 320<br/>8.8 Tips 320<br/>8.9 Commands 321<br/>8.10 Summary 323<br/>8.11 Practice Set 324<br/>Review Questions 324<br/>Exercises 325<br/>8.12 Lab Sessions 326<br/>Chaptcir 9<br/>Kegaaiar 33 B<br/>9.1 Atoms 331<br/>Single Character 332<br/>Dot 332<br/>Class 333<br/>Anchors 334<br/>Back References 335<br/>9.2 Operators 335<br/>Sequence 335<br/>Alternation 337<br/>Repetition 337<br/>Group Operator 341<br/>Save 342<br/>9.3 Key Terms 343<br/>9.4 Tips 343<br/>9.5 Summary 344<br/>9.6 Practice Set 344<br/>Review Questions 344<br/>Exercises 345<br/>CSnapte:." 1 ©<br/>giy-ejn)<br/>10.1 Operation 351<br/>grep flowchart 352<br/>grep Operation Example 352<br/>10.2 grep Family 354<br/>grep 355<br/>Fast grep 356<br/>Extended grep 356<br/>10.3 Examples 359<br/>10.4 Searching for File Content 362<br/>Search a Specific Directory 362<br/>Search All Directories in a Path 363<br/>10.5 Key Terms 364<br/>10.6 Tips 364<br/>10.7 Commands 365<br/>10.8 Summary 365<br/>10.9 Practice Set 366<br/>/<br/>Review Questions 366<br/>Exercises 366<br/>10.10 Lab Sessions 368<br/>CBuiapjteir B i<br/>sesi 373<br/>11.1 Scripts 373<br/>Script Formats 374<br/>Instruction Format 374<br/>Comments 374<br/>11.2 Operation 375<br/>11.3 Addresses 377<br/>Single-Line Addresses 378<br/>Set-of-Line Addresses 379<br/>Range Addresses 380<br/>Nested Addresses 381<br/>11.4 Commands 381<br/>Line Number Command 381<br/>Modify Commands 382<br/>Substitute Command (s) 386<br/>Substitute Flags 39!<br/>Transform Command (y) 393<br/>Input and Output Commands 394<br/>File Commands 399<br/>Branch Commands 401<br/>Hold Space Commands 404<br/>Quit 405<br/>11.5 Applications 406<br/>Delete Lines 406<br/>Delete Text 408<br/>11.6 grep and sed 409<br/>Lines That Match a Regular<br/>Expression 409<br/>Lines That Do Not Match a Regular<br/>Expression 410<br/>11.7 Key Terms 411<br/>11.8 Tips 411<br/>11.9 Commands 412<br/>11.10 Summary 413<br/>11.11 Practice Set 414<br/>Review Questions 414<br/>Exercises 416<br/>11.12 Lab Sessions 421<br/>Chapter 12<br/>awk 42S<br/>12.1 Execution 425<br/>12.2 Fields and Records 426<br/>Buffers and Variables 426<br/>Variables 427<br/>12.3 Scripts 428<br/>Initialization Processing<br/>(BEGIN) 428<br/>Body Processing 429<br/>End Processing (END) 429<br/>12.4 Operation 429<br/>12.5 Patterns 431<br/>Simple Patterns 432<br/>Nothing (No Pattern) 436<br/>Range Patterns 436<br/>12.6 Actions 438<br/>Expression Statement 439<br/>Output Statements 440<br/>Decision Statements 444<br/>Control Actions 446<br/>Loops 449<br/>12.7 Associative Arrays 453<br/>Processing Arrays 454<br/>Delete Array Entry 459<br/>12.8 String Functions 459<br/>Length 460<br/>Index 460<br/>Substring 461<br/>Split 463<br/>Substitution 464<br/>Global Substitution 465<br/>Match 466<br/>ToupperandToIower 466<br/>12.9 Mathematical<br/>Functions 467<br/>12.10 User-Defined<br/>Functions 468<br/>12.11 Using System Commands in<br/>awk 469<br/>Using Pipes 469<br/>Using the System Function 471<br/>12.12 Applications 472<br/>Phone List 472<br/>Count Lines and Words 473<br/>Print Line Following a Blank<br/>Line 473<br/>Print Line Before a Blank<br/>Line 474<br/>Merge Files 474<br/>12.13 awk and grep 475<br/>Find the Line That Matches a Regular<br/>Expression 475<br/>Find the Line That Does Not Match a Regular<br/>Expression 476<br/>12.14 sed and awk 477<br/>Print Line Numbers 477<br/>Modify a Line 478<br/>Substitute 479<br/>Transform 479<br/>Input/Output 480<br/>Files 480<br/>Branch 480<br/>Quit 480<br/>12.15 Key Terms 481<br/>12.16 Tips 481<br/>12.17 Commands 482<br/>12.18 Summary 483<br/>12.19 Practice Set 484<br/>Review Questions 484<br/>Exercises 486<br/>12.20 Lab Sessions 488<br/>Ctepter 13<br/>13.1 Kom Shell Features 499<br/>Kom Shell Sessions 499<br/>Standard Streams 499<br/>Redirection 499<br/>Pipes 500<br/>tee Command 500<br/>Combining Commands 501<br/>Command-Line Editing 501<br/>Quotes 501<br/>Conunand Substitution 501<br/>Job Control 501<br/>Aliases 502<br/>13.2 Two Special Files 502<br/>Trash File (/dev/null) 502<br/>Terminal File (/dev/tty) 503<br/>13.3 Variables 504<br/>User-Defined Variables 504<br/>Predefined Variables 505<br/>Storing Values in Variables 505<br/>Accessing the Value of a Variable 506<br/>Null Variables 507<br/>Unsetting a Variable 508<br/>Storing Filenames 508<br/>Storing File Contents 508<br/>Storing Commands in a Variable 509<br/>Read-Only Variables 509<br/>Exporting Variables 510<br/>Variable Attribute: The typeset<br/>Conunand 512<br/>13.4 Output 514<br/>13.5 Input 516<br/>Reading Word by Word 517<br/>Reading Line by Line 517<br/>Reading from a File 518<br/>13.6 Exit Status of a Command 518<br/>13.7 eval Command 519<br/>13.8 Environmental Variables 521<br/>Change Directory Path (CDPATH) 522<br/>ffistory File Path (HISTFILE) 522<br/>Home Path (HOME) 523<br/>Login Name (LOGNAME) 523<br/>Mailbox Pathname (MAIL) 523<br/>Mail Check Interval (MAILCHECK) -§§4<br/>Incoming Mail Paths (MAILPATH) 524<br/>Directory Search Paths (PATH) 524<br/>Primary Prompt (PSI) 524<br/>Secondary Prompt (PS2) 526<br/>Third Prompt (PS3) 526<br/>Fourth Prompt (PS4) 526<br/>User Input Default Variable (REPLY) 526<br/>Login Shell Path (SHELL) 527<br/>Terminal Description (TERM) 527<br/>Handling Environmental Variables 527<br/>13.9 Options 528<br/>Export All (allexport) 528<br/>Command-Line Editor (emacs and vi) 528<br/>Ignore End-of-File (ignoreeof) 529<br/>No Clobber in Redirection (noclobber) 529<br/>No Execute (noexec) 529<br/>No Global (noglob) 529<br/>Verbosity (verbose) 529<br/>Execute Trace (xtrace) 530<br/>Handling Options 530<br/>13.10 Startup Scripts 530<br/>System Profile File 530<br/>Personal Profile File 531<br/>Environment File 531<br/>Startup Process 532<br/>13.11 Command History 532<br/>History File 532<br/>History Command 533<br/>Redo Command (r) 535<br/>Substitution in Redo Command 536<br/>13.12 Command Execution<br/>Process 536<br/>Execution Steps 536<br/>Command Execution Example 537<br/>13.13 Key Terms 537<br/>13.14 Tips 538<br/>13. f 5 Commands 539<br/>13.16 Summary 540<br/>13.17 Practice Set 541<br/>Review Questions 541<br/>Exercises 542<br/>13.18 Lab Sessions 544<br/>CilDapteir 04<br/>toirra SMIl<br/>14.1 Basic Script Concepts 547<br/>Script Components 547<br/>Making Scripts Executable 549<br/>Executing the Script 549<br/>Script Termination (exit Command) 553<br/>Arguments and Positional Parameters 554<br/>14.2 Expressions 555<br/>Mathematical Expressions 556<br/>' Relational Expressions 557<br/>File Expressions 559<br/>Logical Expressions 560<br/>Expression Type Summary 562<br/>14.3 Decisions: Making Selections 562<br/>if-then-else 562<br/>Multiway Selection 567<br/>14.4 Repetition 571<br/>Command-Controlled and List-Controlled<br/>Loops 571<br/>Background Loops 580<br/>Loop Redirection 580<br/>14.5 Special Parameters and<br/>Variables 585<br/>Special Parameters 585<br/>Special Variables 588<br/>Special Parameter and Variable<br/>Summary 588<br/>14.6 Changing Positional<br/>Parameters 589<br/>shift Command 591<br/>14.7 Argument Validation 593<br/>Number of Arguments Validation 593<br/>Type of Argument Validation 594<br/>14.8 Debugging Scripts 597<br/>Debug Options Included in the Script 597<br/>Debug Options on the Command Line 598<br/>14.9 Script Examples 601<br/>Cat 601<br/>Copy 603<br/>14.10 Key Terms 604<br/>14.11 Tips 605<br/>14.12 Commands 605<br/>14.13 Summary 607<br/>14.14 Practice Set 608<br/>Review Questions 608<br/>Exercises 609<br/>14.15 Lab Sessions 613<br/>C&napiseir IS<br/>$3^eSi<br/>P'rfSgrammoBig 6 8 7<br/>15.1 Variable Evaluation and<br/>Substitution 617<br/>Variabje Evaluation 617<br/>Variable Substitution 618<br/>15.2 String Manipulation 622<br/>Compress Strings 622<br/>String L.ength 623<br/>Locating a Substring in a<br/>String 624<br/>Extraa Substnng 625<br/>Stripping Strings 626<br/>Using Other Utilities 627<br/>15.3 Here Document 628<br/>15.4 Functions 629<br/>Writing Functions 629<br/>Returning Values 631<br/>Comparing Strings 632<br/>Functions in Files 633<br/>15.5 Arrays 635<br/>15.6 Signals 636<br/>Signal Types 636<br/>Response to Signals 637<br/>trap Command 638<br/>15.7 Built-in Commands 639<br/>Sleep Command 640<br/>Dot Command 641<br/>15.8 Scripting Techniques 641<br/>Reading Strings 641<br/>User Interaction 642<br/>Parsing Options 644<br/>Parsing Pathnames 648<br/>Opening and Closing Files 651<br/>15.9 Shell Environment and<br/>Script 655<br/>15.10 Script Examples 656<br/>Calculate 656<br/>Reverse 658<br/>Add Column 659<br/>15.11 Key Terms 661<br/>15.12 Tips 661<br/>15.13 Commands 662<br/>15.14 Summary 663<br/>15.15 Practice Set 664<br/>Review Questions 664<br/>Exercises 665<br/>15.16 Lab Sessions 666<br/>" t ;' ■ C i<br/>16.1 C Shell Features .671<br/>C Shell Sessions 671<br/>Standard Streams 671<br/>Redirection 671<br/>Pipes 672<br/>tee Command 672<br/>Combining Commands 673<br/>Command-Line Editing 673<br/>Quotes 673<br/>Command Substitution 673<br/>Job Control 674<br/>Aliases in the C Shell 674<br/>16.2 Two Special Files 676<br/>Trash File (/dev/null) 676<br/>Terminal File (/dev/tty) 677<br/>16.3 Variables 679<br/>User-Defined Variables 679<br/>Predefined Variables 679<br/>Storing Values in Variables 680<br/>Accessing the Value of a Variable 681<br/>Null Variables 681<br/>Unsetting a Variable 682<br/>Storing Filenames 682<br/>Storing File Contents 683<br/>Storing Conunands in a Variable 683<br/>Exporting Variables 684<br/>16.4 Output 686<br/>16.5 Input 688<br/>Reading Line by Line 688<br/>Reading Word by Word 688<br/>16.6 Exit Status of a Command 688<br/>16.7 eval Command 689<br/>16.8 Environmental Variables 690<br/>Handling Environmental Variables 694<br/>16.9 On-Off Variables 695<br/>Handling On-Off Variables 697<br/>16.10 Startup and Shutdown Scripts 697<br/>System Startup Files 698<br/>Personal Startup Files 698<br/>Startup Process 698<br/>Shutdown Files 698<br/>16.11 Command History 699<br/>History File 699<br/>History Command 699<br/>Reexecuting Previous Commands 700<br/>Substitute and Reexecute 701<br/>Using Arguments from Previous<br/>Command 702<br/>History Modifier 702<br/>Pathname Modifier 703<br/>History Command Summary 703<br/>16.12 Command Execution<br/>Scripts 704<br/>Execution Steps 704<br/>Command Execution Example 70S<br/>16.13 Key Terms 706<br/>16.14 Tips 706<br/>16.15 Commands 707<br/>16.16 Summary 707<br/>16.17 Practice Set 709<br/>Review Questions 709<br/>Exercises 710<br/>16.18 Lab Sessions 711<br/>€ SlhieOg 1S S<br/>17.1 Basic Script Concepts 715<br/>Script Components 715<br/>Making Scripts Executable 717<br/>Executing the Script 717<br/>Script Termination (exit Command) 72.1<br/>Arguments and Positional Parameters 722<br/>17.2 Expressions 723<br/>Mathematical Expressions 724<br/>Relational Exjpressioiis 725<br/>File Expressions 726<br/>Logical Expressions 727<br/>i7;3 Decisions: Making Selections 728<br/>if-then-else 728<br/>Multiway Selection 732<br/>17.4 Repetition 736<br/>C Shell Loops 736<br/>17.5 Special Parameters 742<br/>Script Name ($0) 743<br/>Number of Arguments ($#argv) 743<br/>All Parameters ($argv) 743<br/>Special Parameter Summary 744<br/>17.6 Changing Positional Parameters 74<br/>shift Command 746<br/>17.7 Argument Validation 747<br/>Number of Arguments Validation 748<br/>Type of Argument Validation 749<br/>17.8 Debugging Scripts 752<br/>Debug Options Included in the Script 752<br/>Debug Options on the Command Line 753<br/>17.9 Script Examples 756<br/>Copy 756<br/>17.10 Key Terms 758<br/>17.11 Tips 758<br/>17.12 Commands 759<br/>17.13 Summary 760<br/>17.14 Practice Set 761<br/>Review Questions 761<br/>Exercises 761<br/>17.15 Lab Sessions 764<br/>CBiapteif fl B<br/>C SlaelQ<br/>Pr@graflW3maiR!g<br/>18.1 Variable Evaluation 769<br/>• 18.2 String Manipulation 769<br/>Compress Strings 770<br/>Using Other Utilities 771<br/>18.3 Here Document 772<br/>18.4 Signals 773<br/>Signal Types 773<br/>Response to Signals 774<br/>On Interrupt Command 774<br/>18.5 Built-in Commands 775<br/>Sleep Command 776<br/>Source Command 111<br/>18.6 Scripting Techniques 777<br/>Reading Strings 778<br/>User Interaction 778<br/>Parsing Pathnames 779<br/>18.7 Shell Environment and Script 780<br/>18.8 Arrays 781<br/>Creating an Array 782<br/>Parsing Input 783<br/>18.9 Script Examples 784<br/>Simulate find Command 784<br/>General Ledger System 786<br/>Eliminate Duplicates 789<br/>18.10 Key Terms 790<br/>18.11 Tips 790<br/>18.12 Commands 791<br/>18.13 Summary 791<br/>18.14 Practice Set 792<br/>Review Questions 792<br/>Exercises 792<br/>18.15 Lab Sessions 793
650 #0 - SUBJECT
Keyword Operating Systems (computers).
942 ## - ADDED ENTRY ELEMENTS (KOHA)
Koha item type GN Books
Holdings
Withdrawn status Lost status Damaged status Not for loan Home library Current library Shelving location Date acquired Full call number Accession number Date last seen Koha item type
        Central Library, Sikkim University Central Library, Sikkim University General Book Section 20/06/2016 005.2/82 FOR/U P21249 20/06/2016 General Books
SIKKIM UNIVERSITY
University Portal | Contact Librarian | Library Portal

Powered by Koha