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

  UNIX/Linux Shell Scripting培訓(xùn)

 

 

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

主站蜘蛛池模板: 国产成人综合亚洲欧美天堂| 亚洲国产综合欧美在线不卡| 狠狠色综合网站久久久久久久| 亚洲综合色在线观看亚洲| 伊人久久大香线蕉综合热线| 久久本道综合久久伊人| 久久99国产综合精品免费| 亚洲欧美日韩综合网导航| 国产成+人+综合+亚洲欧美| 国产精品天干天干综合网| 俺来也俺去啦久久综合网| 久久综合88熟人妻| 99久久婷婷国产综合亚洲| 激情五月综合网| 一本一道久久综合狠狠老| 曰韩人妻无码一区二区三区综合部| 久久婷婷色综合一区二区 | 亚洲色偷偷偷鲁综合| 国产激情综合在线观看| 国产综合内射日韩久| 狠狠色伊人亚洲综合成人 | 综合自拍亚洲综合图不卡区| 日韩欧美亚洲综合久久影院d3| 鲁一鲁一鲁一鲁一曰综合网| 精品无码综合一区| 色婷婷久久综合中文久久蜜桃av| 亚洲色欲色欲综合网站| 久久久久高潮综合影院| 亚洲欧洲日产国产综合网| 国产成人精品久久综合| 色88久久久久高潮综合影院| 久久久久综合中文字幕| 久久一本综合| 亚洲欧美综合一区二区三区| 欧美日韩综合一区在线观看| 激情综合色五月六月婷婷| 色欲综合久久躁天天躁| 久久久久噜噜噜亚洲熟女综合| 久久婷婷五月综合97色直播| 久久久久久综合网天天| 色8激情欧美成人久久综合电|