... <parameter> 613
banner 614
bg 614
bind 614
cat 615
cd 615
chgrp 616
chmod 616
chown 617
chroot 617
cp 617
dd 617
env 618
fc 618
fg 618
file 618
find 619
grep 619
groff 619
gzip 620
halt 620
hostname ... are
Red Hat Linux, Second Edition
U
NLEASHED
xviii
B Top 50 Linux Commands and Utilities 611
General Guidelines 612
The List 612
. 613
& 613
adduse...
... the Internet for HOWTO
and other documents on Linux.
Filesystems, Disks, and Other Devices
C
HAPTER 11
19 9
11
FILESYSTEMS
,
D
ISKS
, AND
OTHER
DEVICES
ls to see what was on the disk and unmounted ... devices. Red Hat Linux 4.2 comes with support for both the SCSI and
Hardware Connectivity and Devices
P
ART III
210
Device Name Disk Partition Filesystem Mounted At
/dev/hda1 11...
... 13
269
13
TCP/IP
N
ETWORK
MANAGEMENT
19 2 .16 8.42 .1 IN PTR numark
19 2 .16 8.42.2 IN PTR mtx
19 2 .16 8.42.3 IN PTR pioneer
19 2 .16 8.42.4 IN PTR denon
19 2 .16 8.42.5 IN PTR atus
19 2 .16 8.42.6 IN PTR technics
19 2 .16 8.42.7 IN PTR vestax
19 2 .16 8.42.8 ... 555 -12 12”
Getting Started with Red Hat Linux
C
HAPTER 14
305
14
G
ETTING STARTED
WITH
RED HAT
LINUX...
... programming, Listing 24 .1 illustrates a trivial
Perl program.
Listing 24 .1. A trivial Perl program.
#!/usr/bin/perl
print Red Hat Unleashed, 2nd edition\ n”;
That’s the whole thing. Type that in, save it ... contact $NNTPhost: $!”;
11 :
12 : # $nntp->debug (1) ;
13 : $nntp->post()
14 : or die “Could not post article: $!”;
15 : $nntp->datasend(“Newsgroups: news.announce\n...
... so on, make up the distribution. (For example, Red Hat
Linux is considered a distribution of Linux. ) Therefore, several different distributions of Linux
exist, but the kernel remains common among ... ftp://ftp.cdrom.com/pub /linux/ sunsite/kernel
■ ftp://sunsite.unc.edu/pub /Linux/ kernel
■ ftp://tsx -11 .mit.edu/pub /linux/ sources/system
The source tree comes in one large file tit...
... server (Version wu-2.4.2-academ[BETA -12 ] (1)
➥Wed Mar 5 12 :37: 21 EST 19 97) ready.
Name (denon:root): sshah
3 31 Password required for sshah.
Password: mars10 31 [This is not echoed on the screen]
230 ... by commas, as in
-d 21. 12 ,14 .2, which turns on level 12 debugging in section 21 and level 2 debugging in
section 14 . You can also give a range of debugging sections, as in -...
... 22 .1.
Listing 22 .1. A shell script that updates a database.
1: # picture names seem to look like {$DIR /13 7 -13 p.jpg,$DIR/2 01- 942f.jpg, } The
2: # corresponding products appear to be {13 7 -13 P, ... BASE=`basename $F .jpg`
10 : # The only suffixes I’ve encountered are ‘p’ and ‘f’, so I’ll simply
11 : # transform those two.
12 : # Example values for PRODUCT: {13 7 -13 P, 2 01- 94...
... “abc”)
printf(“%f %6.1f %06.1f %.1f % 1f %6f\n”,
12 3.456, 12 3.456, 12 3.456, 12 3.456, 12 3.456, 12 3.456)
64 064 064 064 064 64 64
@ a a a a a
abc abc abc ab ab ab ab
12 3.456000 12 3.5 012 3.5 12 3.5 12 3.5 12 3.456000
When ... VI
592
10 : die “getservbyname: cannot get port : $!”;
11 : $proto = getprotobyname(‘tcp’) or
12 : die “getprotobyname: cannot get proto : $!”;
13...