《Korn Shell Programming by Example 》
基本信息
打开支付宝首页搜“673273051”领红包,领到大红包的小伙伴赶紧使用哦!
相关书籍
- 《HBase at DIDI,看滴滴内部使用HBase的技巧》[]
- 《Unreal Engine 4 零基础美术流程完全教学》[]
- 《Spark高级数据分析——带完整书签》[]
- 《Docker实践 PDF ——带完整书签》[]
- 《Kubernetes权威指南PDF——带完整书签》[]
- 《go语言资源大放送——全部带完整书签》[]
- 《第一本docker书PDF——带完整书签》[]
- 《高性能Docker PDF ——带完整书签》[]
- 《Netty权威指南高清无水印PDF》[]
- 《Unreal Engine 4 零基础美术流程完全教学》[]
内容介绍
| 下面是学习资料下载列表,您可以点击这些文件名进行下载,如果不能下载,请查看下载帮助 | ||
|---|---|---|
| [Korn.Shell.Programming.by.Example].Dennis.O'Brien.David.Pitts.扫描版.pdf | 1.56MB | |
中文名: Korn Shell Programming by Example
原名: Korn Shell Programming by Example
作者: Dennis O'Brien
David Pitts
图书分类: 软件
资源格式: PDF
出版社: Pearson Education
书号: 9780789724656
发行时间: 2001年02月
地区: 美国
语言: 英文
简介:
目录:
Table of Contents
Introduction 1
Assumptions About the Reader 1
What This Book Will Give You 2
What This Book Will Not Give You 2
Conventions 2
1 The Environment 5
What Is a Shell? 6
What Is a Shell Script? 7
#!/bin/ksh Explained 7
Coming Full Circle--Back to umask 18
#--Comments Explained 19
The .profile Script 20
Aliases 22
Ksh Environment Options 23
Variables 24
Environment File 30
History File and Repetition 33
2 Process Control 39
How to Run a Script 40
Jobs and Processes 42
Signals 52
nohup Explained 62
Scheduling Jobs 64
3 Variables 73
Case Sensitivity 74
Valid Characters 74
Scalar 75
Array 81
Read-Only 84
Unsetting 84
4 Regular Expressions 87
Regular Expressions Versus Wildcards 88
Character Classes 90
Pattern Matching 92
Metacharacters 96
Back References 97
5 Quoting 101
Escape Character 102
Aggregate Quoting Options 104
Line Continuation 106
Command Substitution--Two Ways 107
Parameter Expansion 108
Arithmetic Expansion 113
6 Flow Control 117
If Test 118
Compound If Tests 126
Case Conditionals 128
Looping Constructs 129
Loop-Related Commands 137
Backup Loop Example 137
7 Data Manipulation 143
Functions 144
Function Programming Details 150
Math 160
Filters 165
Testing Files 169
8 Information Passing 179
Command-Line Arguments 180
User Input 185
Redirection 194
Coprocess 197
9 File and Directory Manipulation 205
Paths 206
Descriptors 209
Special Files 211
Links 212
Directories 216
Hidden Files 218
Attributes 219
Permissions 222
Acceptable Filenames 223
Accessing Files 224
Filtering 229
Using Temporary Files 239
10 Output Control 243
Echoing Output 244
Printf 248
Output Redirection 252
Multiple Output Redirection 255
Pipes Versus Redirection 255
Stderr Redirection 256
Here Documents 257
11 Diagnostics 261
Syntax Checking 262
Command Interpretation Sequence 264
Verbose Mode 265
Execution Trace 267
Debugging Hooks 270
12 Traps 275
Defining and Using Traps 276
Documentation Support 281
Self-Help Scripts 282
Bulletproofing 282
13 Pulling It All Together 289
The sys_check Script 290
First sys_check Run 292
Second sys_check Run 305
Numbered Version of sys_check Script 308
A Useful Commands 321
alias 322
autoload 324
bg 325
break 326
builtin 327
case 328
cat 329
cd 330
chmod 331
command 332
continue 333
cp 335
cut 336
date 337
disown 338
echo 339
ed 339
eval 340
exec 341
exit 342
export 343
false 345
fc 346
fg 347
find 348
float 350
for 350
function 351
getconf 352
getopts 353
grep 353
hash 354
hist 355
history 356
if 357
integer 358
jobs 359
kill 359
[ 360
let 361
ln 362
mv 363
newgrp 363
nohup 364
: 364
paste 365
print 366
printf 366
pwd 367
r 367
read 369
readonly 369
return 370
rm 371
rmdir 372
script 372
select 375
set 375
shift 376
sleep 377
sort 378
stop 379
tail 380
tee 381
test 382
time 382
touch 383
tr 384
trap 384
true 385
tty 386
type 386
typeset 387
ulimit 389
umask 390
unalias 390
uniq 391
unset 393
until 394
wait 394
wc 395
whence 396
while 396
who 397
B vi Tutorial 401
Where vi Came From 402
Starting an Edit Session 403
Modes of Operation 404
Last-Line Mode 406
Exiting from the Editor 406
Moving the Cursor 407
Deleting 408
Cutting and Pasting 409
Using Multiple Buffers 409
Searching and Replacing 410
Changing vi Environment Settings 412
Edit Session Recovery 415
Miscellaneous Commands 416
Index 415
Korn Shell Programming by Example is a straight-forward, nuts and bolts book that will become a standard in the libraries of Unix administrators everywhere because of its real-life examples, progressive style, and lack of unnecessary fluff. Based on the Korn shell, it is an essential reference for administrators on how to program their system, and it is also beneficial for those new to Unix who need to know how to automate their system. Most of all, Korn Shell Programming by Example teaches and arms readers with the ability to solve problems they might encounter.
