課程目錄:UNIX/Linux Shell Scripting培訓
4401 人關注
(78637/99817)
課程大綱:

  UNIX/Linux Shell Scripting培訓

 

 

Introduction
Objectives
Course Schedule
Course Introductions
Pre-requisites
Bibliography
Delegate Responsibilities
Course Summary
Review of Basics - optional
Files
Directories and Processes
Displaying Directories - ls
Getting Help - man
Displaying Files - cat, more
Simple Commands
Piping - using | symbol
Redirection - using > symbol
Redirection - using >> symbol
Redirecting Input - using < symbol
Redirecting Errors
Using /dev/null
Foreground Jobs
Background Jobs - &
Stopping Jobs - kill
Special Files - . and ..
The Command Prompt - PS1
Creating Aliases
Using Aliases
Command history
Command Line Edit - using Arrow Keys
Command Line Edit - using vi
Customising the Shell
The Home Directory - HOME
The Working Directory - pwd
Changing Directories - cd
Make Directory - mkdir
Remove Directory - rmdir
Interactive Copy - cp -i
Interactive Move - mv -i
Interactive Remove - rm -i
Removing Directories - rm -r
Wild Cards - File Name Generation
Word count - wc
Finding Files - find
Finding Text in Files - grep, sort, cut, uniq, tr
Changing Permissions - chmod
Shell Programming
Creating Shell Scripts
Testing the Command
Creating the Script File
Adding Execute Permissions
Testing the Script
Running the Script - time
Running the Script - dot
Running the Script - exec
Running the Script - ksh
Debugging the Script
Passing Parameters
The read Command
Using read in Scripts
Choosing the Shell
Tidying The Output
Suppressing Input - stty
Special Characters and Variables
Quotation Marks
Quoted Strings - ", '
Escape Character - *
Quoted Strings - `
Using $(...)
System Variables - set
Other Special Variables
User Variables
User Variables - unset
Variables in Scripts
Typeset Command
Integer Variables
Special Constructs
Creating Menus
Conditions - case
Creating a Menu
Iteration - while, until
Holding the Output - sleep
Holding the Output - dummy read
Ending the Script
Ending the Loop
Hidden Option - forking a shell
Trapping Interrupts - trap
More on Interrupts
Highlighting Text- tput
Positioning the Cursor - backtab \b
Korn Shell Menu
Selection
Conditional Testing
Testing File Attributes
Testing File Permissions
Multiple Tests - Nested ifs
Multiple Tests - elseif
The NOT Condition
Multiple Conditions in One Test
Testing Strings
Using Square Brackets
Avoiding Null Input
Testing Numbers
More on case
Displaying Variables
Placing Spaces
Testing Commands
Iteration, Looping
Computations - let
Iteration - while, until
Infinite Loop
Iteration - for
More than 9 Parameters - shift
Sub-scripts and Functions
Local and Global Variables
Sub-scripts
Export Command
Exit Status
Aliases
Functions
Useful Functions
Return Status
Manipulating Functions
Functions in Scripts
Advanced Commands
Debugging - set
Setting - set
Merging Files - join
Merging Files - paste, basename and dirname
Job Control - jobs
Regular Expressions
Global Regular Expression Printer - grep
Expression grep - egrep
Fast grep - fgrep
Computations - expr
Computations – bc, eval Command,
Argument Processing
getopts Command
Using Arrays
Advanced Edit – vi & sed
vi - Mapping Key Combinations
Mapping Control Keys
Using Abbreviations
Editing Many Files
Regular Expressions
Global Insert
Here document,
Batch Stream Editor - sed, sed delete, -d, sed print, -p, sed suppress, -n, sed quit, -q, sed file, -f, sed Multiple Input, sed
Find and Replace
sed Example
Text File Processing - awk
The awk Programming Tool
Pattern Matching
Regular Expressions
Comparison Patterns
Compound Patterns
Range Patterns
Special Patterns
Built-in Functions
Troubleshooting awk Scripts
Passing Parameters
Using Contains
printf Function
Computations
Functions
substr
length
Action Statements
Control Flow Statements
Arrays
Arrays with for Loops
awk Examples

主站蜘蛛池模板: 亚洲国产综合无码一区二区二三区| 亚洲综合国产一区二区三区| 五月丁香六月综合欧美在线| 激情综合丁香五月| 亚洲精品欧美综合| 亚洲国产欧洲综合997久久| 亚洲欧美日韩综合一区二区| 色狠狠成人综合色| 久久综合精品国产二区无码| 亚洲国产一成久久精品国产成人综合 | 伊人情人综合成人久久网小说| 狠狠色狠狠色综合日日五| 亚洲精品欧美综合在线| 狠狠色丁香久久综合婷婷| 久久综合综合久久综合| 亚洲国产综合欧美在线不卡| 一本久道久久综合狠狠爱| 国产在线一区二区综合免费视频| 国产亚洲综合成人91精品| 一本一道久久精品综合| 女人和拘做受全程看视频日本综合a一区二区视频 | 国产精品亚洲综合久久| 激情综合婷婷色五月蜜桃| 精品久久综合1区2区3区激情| 国产精品亚洲综合久久| 亚洲va欧美va国产综合| 日日AV色欲香天天综合网| 激情综合色综合久久综合| 伊伊人成亚洲综合人网7777 | 国产成人综合久久精品尤物| 色综合久久综合中文综合网| 亚洲日本欧美产综合在线| 国产色婷婷精品综合在线| 国产亚洲综合一区柠檬导航| 狠狠综合久久AV一区二区三区| 天天av天天翘天天综合网 | 国产成人99久久亚洲综合精品| 国产综合成人色产三级高清在线精品发布| 亚洲欧美日韩国产综合在线| 精品综合久久久久久97| 色综合久久无码五十路人妻|