没有合适的资源?快使用搜索试试~ 我知道了~
首页kshell 编程,kshell 编程,kshell 编程
资源详情
资源推荐
![](https://csdnimg.cn/release/download_crawler_static/791756/bg1.jpg)
EY–G994E-SG-0002
UNIX Shell Programming Featuring KornShell
Course Guide
![](https://csdnimg.cn/release/download_crawler_static/791756/bg2.jpg)
![](https://csdnimg.cn/release/download_crawler_static/791756/bg3.jpg)
EY–G994E-SG-0002
UNIX Shell Programming Featuring KornShell
Course Guide
![](https://csdnimg.cn/release/download_crawler_static/791756/bg4.jpg)
Notice
The information in this publication is subject to change without notice.
COMPAQ COMPUTER CORPORATION SHALL NOT BE LIABLE FOR TECHNICAL OR
EDITORIAL ERRORS OR OMISSIONS CONTAINED HEREIN, NOR FOR INCIDENTAL OR
CONSEQUENTIAL DAMAGES RESULTING FROM THE FURNISHING, PERFORMANCE, OR
USE OF THIS MATERIAL.
This guide contains information protected by copyright. No part of this guide may be photocopied or
reproduced in any form without prior written consent from Compaq Computer Corporation.
The software described in this guide is furnished under a license agreement or nondisclosure agreement.
The software may be used or copied only in accordance with the terms of this agreement.
Other product names mentioned herein may be trademarks and/or registered trademarks of their
respective companies.
©1999 Compaq Computer Corporation. All rights reserved. Printed in the USA.
Aero, ALPHA, ALPHA AXP, AlphaServer, AlphaStation, Armada, BackPaq, COMPAQ, Compaq
Insight Manager, CompaqCare logo, Counselor, DECterm, Deskpro, DIGITAL, DIGITAL logo,
DIGITAL Alpha Systems, Digital Equipment Corporation, DIGITAL UNIX, DirectPlus, FASTART,
Himalaya, HSZ, InfoPaq, Integrity, LAT, LicensePaq, Ministation, NetFlex, NonStop, OpenVMS,
PaqFax, Presario, ProLiant, ProLinea, ProSignia, QuickBack, QuickFind, Qvision, RDF, RemotePaq,
RomPaq, ServerNet, SERVICenter, SmartQ, SmartStart, SmartStation, SolutionPaq, SpeedPaq,
StorageWorks, Systempro/LT, Tandem, TechPaq, TruCluster, Tru64 UNIX are registered in United
States Patent and Trademark Office.
AdvantageCluster, DECevent, DECladebug, DECnsr, DECsafe, DEC VET, DECwindows, OpenVMS,
RZ, TURBOchannel, VAX Notes, are trademarks of Compaq Computer Corporation.
AIX and IBM are registered trademarks of International Business Machines Corp. BSD is a trademark
of the University of California, Berkeley, CA. Memory Channel is a trademark of Encore Computer
Corporation. Global Knowledge Network and the Global Knowledge Network logo are trademarks of
Global Nowledge Network, Inc. Microsoft and Windows NT are registered trademarks of Microsoft
Corporation. MIPS is a trademark of MIPS Computer Systems. Motif, OSF and OSF/1 are registered
trademarks of the Open Software Foundation. NetWorker is a trademark of Legato. NFS is a registered
trademark of Sun Microsystems, Inc. Oracle is a registered trademark and Oracle7 is a trademark of
Oracle Corporation. POSIX and IEEE are registered trademarks of the Institute of Electrical and
Electronics Engineers, Inc. PostScript is a registered trademark of Adobe Systems, Inc. UNIX is a
registered trademark licensed exclusively through X/Open Company Ltd. X Window System is a
trademark of the Massachusetts Institute of Technology.
UNIX Shell Programming Featuring KornShell
Course Guide
November 1999
![](https://csdnimg.cn/release/download_crawler_static/791756/bg5.jpg)
EY-G994E-SG-0002
iii
Contents
About This Course
About This Course.................................................................................................xix
Introduction ...................................................................................................xix
Course Description........................................................................................xix
Place in Curriculum.......................................................................................xix
Target Audience ............................................................................................xix
Prerequisites ...................................................................................................xx
Course Goals ..................................................................................................xx
Nongoals........................................................................................................xxi
Taking This Course...............................................................................................xxii
Course Organization.....................................................................................xxii
Course Map ..................................................................................................xxii
Chapter Descriptions .................................................................................. xxiii
Time Schedule.............................................................................................xxiv
Course Conventions .....................................................................................xxv
Resources......................................................................................................xxv
1 Review
About This Chapter............................................................................................... 1-3
Introduction .................................................................................................. 1-3
Objectives..................................................................................................... 1-3
Resources...................................................................................................... 1-3
Standard Files ....................................................................................................... 1-4
Standard Input .............................................................................................. 1-4
Standard Output............................................................................................ 1-4
Standard Error (Diagnostic Output) ............................................................. 1-4
Status of the Standard Files at Login............................................................ 1-4
Redirecting Standard Files.................................................................................... 1-5
Redirecting Output to a New File................................................................. 1-5
Redirecting Output to an Existing File......................................................... 1-5
Appending Redirected Output to an Existing Output File ........................... 1-5
Redirecting Input.......................................................................................... 1-6
Redirecting Standard Error........................................................................... 1-6
Redirecting Both Standard Error and Standard Output................................ 1-6
Eliminating Any Output............................................................................... 1-6
The /dev/null File ......................................................................................... 1-6
The Pipe Operator................................................................................................. 1-7
Definition...................................................................................................... 1-7
Using the Pipe Operator (|)........................................................................... 1-7
剩余199页未读,继续阅读
![txt](https://img-home.csdnimg.cn/images/20210720083642.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![](https://csdnimg.cn/release/wenkucmsfe/public/img/green-success.6a4acb44.png)