📄 index.html
字号:
Backtick 419<BR>
Comparison of Expressions 419<BR>
pdksh and bash 419<BR>
tcsh 423<BR>
Iteration Statements 426<BR>
The for Statement 426<BR>
The while Statement 427<BR>
The until Statement 428<BR>
The repeat Statement (tcsh) 429<BR>
The select Statement (pdksh) 429<BR>
The shift Statement 429<BR>
Conditional Statements 430<BR>
The if Statement 430<BR>
The case Statement 431<BR>
Miscellaneous Statements 433<BR>
The break Statement 433<BR>
The exit Statement 433<BR>
Functions 434<BR>
Summary 434
</BLOCKQUOTE>
<A NAME="PAGENUM-14"><P>Page 14</P></A>
<H6> Part VI Automation, Programming, and Modifying Source Code
</H6>
<OL START=22>
<LI> Automating Tasks 437
</OL>
<BLOCKQUOTE>
First Example—Automating Data Entry 438<BR>
Problem and Solution 438<BR>
Analysis of the Implementation 439<BR>
Tips for Improving Automation Technique 441<BR>
Continuing Education 441<BR>
Good Engineering 442<BR>
Shell Scripts 442<BR>
chstr 442<BR>
WWW Retrieval 443<BR>
Conclusions on Shell Programming 445<BR>
cron and at Jobs 445<BR>
cron and find—Exploring Disk Usage 445<BR>
at: Scheduling Future Events 446<BR>
Other Mechanisms: Expect, Perl, and More 447<BR>
Comparing Technologies 447<BR>
Expect 447<BR>
Perl 449<BR>
Other Tools 449<BR>
Internal Scripts 452<BR>
Concluding Challenge for an Automater—Explaining Value 452<BR>
Summary 453
</BLOCKQUOTE>
<OL START=23>
<LI> C and C++ Programming 455
</OL>
<BLOCKQUOTE>
Introduction to C 456<BR>
Programming in C: Basic Concepts 457<BR>
Creating, Compiling, and Executing Your First Program 459<BR>
An Overview of the C Language 460<BR>
Expressions 463<BR>
Statement Controls 465<BR>
Functions 468<BR>
Creating a Simple Program 470<BR>
Building Large Applications 472<BR>
Debugging Tools 473<BR>
Introduction to C++ 474<BR>
Programming in C++: Basic Concepts 474<BR>
File Naming 475<BR>
Differences Between C and C++ 475<BR>
Scope of Reference in C and C++ 476<BR>
Overloading Functions and Operators in C++ 478<BR>
</BLOCKQUOTE>
<A NAME="PAGENUM-15"><P>Page 15</P></A>
<BLOCKQUOTE>
Functions Within C++ Data Structures 480<BR>
Classes in C++ 481<BR>
GNU C/C++ Compiler Command-Line Switches 484<BR>
Additional Resources 485<BR>
Summary 485
</BLOCKQUOTE>
<OL START=24>
<LI> Perl Programming 487
</OL>
<BLOCKQUOTE>
A Simple Perl Program 488<BR>
Perl Variables and Data Structures 489<BR>
Conditional Statements: if/else 489<BR>
Looping 490<BR>
for 490<BR>
foreach 490<BR>
while 491<BR>
until 491<BR>
Regular Expressions 491<BR>
Access to the Shell 492<BR>
Command-Line Mode 492<BR>
Automation Using Perl 493<BR>
Moving Files 493<BR>
Purging Logs 495<BR>
Posting to Usenet 496<BR>
For More Information 496<BR>
Summary 497
</BLOCKQUOTE>
<OL START=25>
<LI> tcl and tk Programming 499
</OL>
<BLOCKQUOTE>
tcl Basics 500<BR>
Interactive Use of tcl 500<BR>
Noninteractive Use of tcl 501<BR>
The tcl Language 502<BR>
Command Structure 502<BR>
Comments 502<BR>
Datatypes 502<BR>
Variables 503<BR>
Manipulating String Values 506<BR>
Manipulating Numeric Values 507<BR>
Quoting and Substitution 509<BR>
Flow Control—if and switch 511<BR>
Loops 512<BR>
File I/O and File Info 514<BR>
Procedures 516<BR>
The tk Toolkit 517<BR>
</BLOCKQUOTE>
<A NAME="PAGENUM-16"><P>Page 16</P></A>
<BLOCKQUOTE>
Introduction to Widgets 517<BR>
Creating Widgets 518<BR>
Widget Options 519<BR>
A tcl/tk Widget Programming Example 520<BR>
A tcl/tk Interface to xsetroot 522<BR>
Summary 527
</BLOCKQUOTE>
<OL START=26>
<LI> Motif Programming 529
</OL>
<BLOCKQUOTE>
What Is Motif? 530<BR>
Where Do I Get Motif? 531<BR>
What Version of Motif Should I Use? 531<BR>
Red Hat Motif Installation 532<BR>
motif-devel-2.0.1-1.i386.rpm 532<BR>
motif-2.0.1-1.i386.rpm 533<BR>
motif-mwm-2.0.1-1.i386.rpm 533<BR>
motif-demosrc-2.0.1-1.i386.rpm 533<BR>
motif-demos-2.0.1-1.i386.rpm 534<BR>
A Simple Example of Motif Programming Concepts 534<BR>
Widgets and Event-Driven Programming 535<BR>
The Simple Motif Program 535<BR>
How the Program Works 538<BR>
Sample Program Resources 539<BR>
Shared and Static Libraries 540<BR>
The UIL Compiler 541<BR>
Tutorials and Examples 541<BR>
Using imake and xmkmf 541<BR>
LessTif—An Alternative Motif Clone 542<BR>
For More Information 543<BR>
Summary 544
</BLOCKQUOTE>
<OL START=27>
<LI> gawk Programming 545
</OL>
<BLOCKQUOTE>
Applications 546<BR>
Features 547<BR>
awk Fundamentals 547<BR>
Using awk from the Command Line 547<BR>
Patterns and Actions 549<BR>
Handling Input 553<BR>
Coding Your Program 554<BR>
Actions 555<BR>
Variables 555<BR>
Strings 558<BR>
Arrays 562<BR>
</BLOCKQUOTE>
<A NAME="PAGENUM-17"><P>Page 17</P></A>
<BLOCKQUOTE>
Built-in Numeric Functions 564<BR>
Arithmetic Operators 565<BR>
Conditional Flow 565<BR>
Looping 567<BR>
Advanced Input and Output 569<BR>
Input 569<BR>
Output 571<BR>
Functions 574<BR>
Function Definition 575<BR>
Function Parameters 576<BR>
The return Statement (Explicit Return) 577<BR>
Writing Reports 577<BR>
Complex Reports 578<BR>
Extracting Data 578<BR>
Commands On-the-Fly 579<BR>
One Last Built-in Function: system 580<BR>
Summary 581
</BLOCKQUOTE>
<OL START=28>
<LI> Network Programming 583
</OL>
<BLOCKQUOTE>
Networking Concepts 584<BR>
Building Network Addresses 585<BR>
Network Services 587<BR>
Sockets 588<BR>
Protocols and Socket Types 588<BR>
Making a Connection 590<BR>
A TCP Client Example 590<BR>
A TCP Server Example 591<BR>
A UDP Example 593<BR>
Blocking Versus Nonblocking Descriptors 596<BR>
I/O Multiplexing with UDP 597<BR>
I/O Multiplexing with TCP 600<BR>
Advanced Topics 601<BR>
Summary 602
</BLOCKQUOTE>
<H6> Part VII Appendixes
</H6>
<OL>
A The Linux Documentation Project 607
</OL>
<BLOCKQUOTE>
Overview 608<BR>
Getting Involved 608<BR>
Current Projects 608<BR>
Glossary and Global Index 609<BR>
Documentation Conventions 609
</BLOCKQUOTE>
<A NAME="PAGENUM-18"><P>Page 18</P></A>
<OL>
B Top 50 Linux Commands and Utilities611
</OL>
<BLOCKQUOTE>
General Guidelines 612<BR>
The List 612<BR>
. 613<BR>
& 613<BR>
adduser 613<BR>
alias 613<BR>
apropos <parameter> 613<BR>
banner 614<BR>
bg 614<BR>
bind 614<BR>
cat 615<BR>
cd 615<BR>
chgrp 616<BR>
chmod 616<BR>
chown 617<BR>
chroot 617<BR>
cp 617<BR>
dd 617<BR>
env 618<BR>
fc 618<BR>
fg 618<BR>
file 618<BR>
find 619<BR>
grep 619<BR>
groff 619<BR>
gzip 620<BR>
halt 620<BR>
hostname 620<BR>
kill 620<BR>
less 620<BR>
login 620<BR>
logout 620<BR>
lpc 621<BR>
lpd 621<BR>
lpq 621<BR>
lpr 621<BR>
ls 621<BR>
make 622<BR>
man 622<BR>
mesg 622<BR>
mkdir 622<BR>
</BLOCKQUOTE>
<A NAME="PAGENUM-19"><P>Page 19</P></A>
<BLOCKQUOTE>
mkefs 623<BR>
mkfs 623<BR>
mkswap 623<BR>
more 623<BR>
mount 623<BR>
mv 623<BR>
netstat 624<BR>
passwd 624<BR>
ps 624<BR>
pwd 625<BR>
rm 625<BR>
rmdir 625<BR>
set 625<BR>
shutdown 625<BR>
su 625<BR>
swapoff 626<BR>
swapon 626<BR>
tail 626<BR>
talk 626<BR>
tar 626<BR>
umount 626<BR>
unalias 626<BR>
unzip 627<BR>
wall 627<BR>
who 627<BR>
xhost + 627<BR>
xmkmf 627<BR>
xset 628<BR>
zip 628<BR>
Summary 628
</BLOCKQUOTE>
<OL>
C The Linux Documentation Project Copyright License 629
</OL>
<BLOCKQUOTE>
Copyright License 630<BR>
Publishing LDP Manuals 630<BR>
</BLOCKQUOTE>
<OL>
D Glossary 633
</OL>
<OL>
E What's on the CD-ROM 653
</OL>
<BLOCKQUOTE>
About the Software 654<BR>
Index655
</BLOCKQUOTE>
<A NAME="PAGENUM-20"><P>Page 20</P></A>
<P><CENTER>
<a href="ewtoc.html">Table of Contents</A>
</CENTER></P>
</td>
</tr>
</table>
<!-- begin footer information -->
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -