You
can check $prompt in csh/tcsh-type shells or $PS1 in sh/bash-type shells.
You could have the echo set up something like this:
if [ "$PS1" != "" ]; then echo "your string goes here" ; fi
--
pete peterson
Teradyne, Inc.; 7 Technology Park Drive;
rinted as normal characters. If you pipe the problems message and
headers through "cat -v -t -e", do you see any funny characters?
Another thing you which you probably realize already is that your filter
will trigger on things like "sextant", "sextuplets", "pontoon
t works fine for me. It looks like you neglected to quote the URL, so the
wildcard expression "ftp://w.x.y.z/*.dat"; gets interpreted in the current
shell context rather than the remote server context.
--
pete peterson
Teradyne, Inc.
7 Technology Park Drive
e=MTA')
and comment out (put "dnl " at the start of the line) the DAEMON_OPTIONS
line and generate a new sendmail.cf as described at the beginning of the
.mc file.
pete
--
pete peterson
Teradyne, Inc.
7 Technology Park Drive
Westford, MA
#x27;re
> > using a mac on our private side network it can still connect just fine as
> > if there was no packet loss what so ever.
> >
> > OK so anyone ever seen anything like this before?
You didn't mention whether it mattered whether you specified the target
mach
bash here. I try to create a script that would
> change the extension of files in directory. I have files like
> xxx.pc that I want a change to xxx.jpg, where xxx is numbers, in a directory.
> How can I do that using bash?
>
> thanks for any help.
> Reuben D.B.
for oldname in *.pc
g of the windows disk which Linux should call "/dev/hda"
and which you called "HD1".
You should also include *ALL* of your grub.conf file, not just what you
consider the "pertinent part".
Offhand, it looks like the "Windows" stuff is pointing at the wrong d
oot@pc139 mail]# rpm -qa | grep sendmail
> sendmail-cf-8.11.6-2.7.0
> sendmail-8.11.6-2.7.0
> [root@pc139 mail]#
>
> Any ideas? Anyone seen this one before?
>
> Thanks
>
> Bob
You need to install the m4 rpm which will put m4 in /usr/bin/m4, which
should be in your $PAT
m connecting
to hosts.allow. A cleanup routine expires these entries so they
don't accumulate. By default, I don't allow anything but SMTP
and web access from other than trusted static IPs/domains.
pete peterson
___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list
t;scrap it and hook up
> a REAL printer to the linux box") are welcome
> Thanks...
> John
Nope -- you don't have to give up; you should be able to make it work.
I have my printers connected to the Linux box and print *TO* that *FROM* a
Windoze box, but elsewhere, I'
and eliminate them from the hosts file
and hence from the zone files.
pete peterson
> Date: Wed, 11 Apr 2001 16:34:21 -0400 (EDT)
> From: David Brett <[EMAIL PROTECTED]>
> To: Vidiot <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: DNS names
329956 | md5sum
> 329956+0 records in
> 329956+0 records out
> fc9c2c23b02d2a35b75845530db81743 -
>
> Rob Fausey.
Thanks! Although I had tried blocksizes of 512, 1024, 2048 and 4096, I was
omitting the "count=" argument and getting bogus results. It worked
fine once I included that as you suggeste
earched all the archives I could find and didn't find a way to do
that. I thought I should be able to use some "dd" incantation piped
into "md5sum", but I couldn't seem to make it work. I probably have
some problem with the blocking.
Any suggestions?
pete peter
uot; in /etc/smrsh. The usual scheme is to put a
symlink to the "real" location in /etc/smrsh.
e.g.: ln -s /usr/local/myprog /etc/smrsh/myprog
You can read about this in the smrsh man page and also in
/usr/share/doc/sendmail/README.smrsh
> Date: Fri, 2 Feb 2001 14:35:43 -0500 (EST)
> To: [EMAIL PROTECTED]
> Subject: Kernel Compile Error
> From: "Pete Peterson" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
>
>
> OK -- this should be trivial, but I'm getting lost in all the makefi
ernels, but I remember it being straightforward and
working fine.
What obvious point am I missing here?
pete peterson
GenRad, Inc.
7 Technology Park Drive
Westford, MA 01886-0033
[EMAIL PROTECTED] or [EMAIL PROTECTED]
+1-978-589-7478 (GenRad);
update, "host" worked normally. I don't remember what version
that was, though it was Bind 8.x as opposed to the Bind 4.x that shipped
with 5.2.
This isn't a big deal -- I hope to replace this machine soon --- but
it would be nice to know the cause, so any ideas
s anyone know how I can connect and submit information to a secure server
> via the command line?
>
> Or is there a Perl module I'm not aware of?
Undoubtedly there's a Perl module somewhere, but I've used both lynx
and cURL in Perl scripts and curl is also handy to
ftp from the machine to itself?
pete peterson
GenRad, Inc.
7 Technology Park Drive
Westford, MA 01886-0033
[EMAIL PROTECTED] or [EMAIL PROTECTED]
+1-978-589-7478 (GenRad); +1-978-256-5829 (Home: Chelmsford, MA)
+1-978-589-2088 (Closest FAX); +1
DON'T
understand is why sendmail thinks there are .forward files. :-(
Please respond to "[EMAIL PROTECTED]" as well as to list or my normal
return address. I'm off from work for the rest of the year, using up
vacation days, and I don't have a good interface for readin
had done this with some kind of "whois" incantation, but my
memory fails me; I can't figure out exactly what I did and reproduce the
above result.
Can you refresh my memory?
pete peterson
GenRad, Inc.
7 Technology Park Drive
Westford, MA 01886-0033
t.iso
e34d12479366b8bee34a952e969f6c3b 7.0-i386-SRPMS.iso
626b7d18033e320c27c8cd58cc37a288 7.0-i386-disc1.iso
c9899d398ca675c1e80a7bdb68d701bf 7.0-i386-disc2.iso
cce425867c0130772cafd482c8a274da 7.0-i386-powertools.iso
pete peterson
GenRad, Inc.
7 Technology Park
the dot. It also
works fine if you put a space BEFORE the dot.
This isn't a list bug, it's the behavior specified in RFC821.
pete peterson
GenRad, Inc.
7 Technology Park Drive
Westford, MA 01886-0033
[EMAIL PROTECTED] or [EMAIL PROTECTED]
How about:
find fullpathtodirectory -print
or
find fullpathtodirectory -ls
If that doesn't do it for you, maybe you could elaborate a bit on what
exactly you need.
pete peterson
GenRad, Inc.
7 Technology Park Drive
Westford, MA 01886
;>) {
if (($len = length($_)) > $lmax) {
$lmax = $len;
@longest =($_);
}
elsif ($len == $lmax) {
push(@longest, $_);
}
}
print @longest;
Note that this scheme makes only one pass through the file in either case.
pete
pete peterson
Try something like "fuser -am /mnt/cdrom"
"man fuser" will tell you some other possibly helpful options, such as
-v, -u, -k and will also explain the letter-codes in the output.
That usually allows me to figure out "busy" errors.
pete peterson
> Fro
I would do cp .a* .b* ... .z* but that would be a pain to type. :)
>
Use
cp .??* destination
pete peterson
GenRad, Inc.
7 Technology Park Drive
Westford, MA 01886-0033
[EMAIL PROTECTED] or [EMAIL PROTECTED]
+1-978-589-7478 (GenRad); +
dHat 6.x boxen (his boss was a Micro$oft
FUD brainwashed drone). It took us all of 5 minutes to prove him wrong.
> I *really* need this.
It should be easy! Really! :-)
pete peterson
GenRad, Inc.
7 Technology Park Drive
Westford, MA 01886-0033
[
ither because
ftp.kernel.org:/pub/linux isn't publicly NFS-exported or because there's a
firewall not allowing NFS through. Does that mount work if you try it
manually? If not, the problem is not with automount, but with permissions
between you and the target filesystem. Try it with a d
It seems like we have to be missing something simple here, but I can't
think of what it might be. Can anyone help me save (regain?) my sanity?
pete peterson
GenRad, Inc.
7 Technology Park Drive
Westford, MA 01886-0033
c even *MADE* NICs, but I just checked out this one on their web
site and found theirs is $375. Has anybody come across any INEXPENSIVE
dual NICs?
pete peterson
GenRad, Inc.
7 Technology Park Drive
Westford, MA 01886-0033
[EMAIL PROTECTED] or [EMAIL PR
If you want to allow printing from ANYWHERE (inside your firewall), you
should be able to put just a line containing "+" in hosts.lpd.
> Date: Wed, 31 May 2000 21:49:32 -0500 (CDT)
> From: "Carey F. Cox" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: pump and remote printing
>
> > N
hree similarly configured 6.1 IDE
machines and on both of the 6.2 SCSI machines?
pete peterson
GenRad, Inc.
7 Technology Park Drive
Westford, MA 01886-0033
[EMAIL PROTECTED] or [EMAIL PROTECTED]
+1-978-589-7478 (GenRad); +1-978-256-5829 (Home: Chel
m.
When you login to Linux initially as root, root maintains ownership of the
console, after you do the "su" and that's presumably why X11 didn't start,
lacking permissions to the console.
Let me know whether this solves your problem.
pete peterson
GenRad, Inc
> To: [EMAIL PROTECTED], [EMAIL PROTECTED]
> From: Barnett Hsu <[EMAIL PROTECTED]>
> Subject: Re: xntpd/ntpdate problem
>
> At 07:56 AM 5/24/2000 -0400, Pete Peterson wrote:
> >You would find it enlightening to look at the invocation of ntpdate in
> >
quot; is really a caret -- the other "^" things are
CTRL characters.
pete peterson
GenRad, Inc.
7 Technology Park Drive
Westford, MA 01886-0033
[EMAIL PROTECTED] or [EMAIL PROTECTED]
+1-978-589-7478 (GenRad); +1-978-256-5829 (Home:
n /var/log/messages.
>
> BUT if I run ntpdate in debug mode on the same servers,
> then it appears to work (but that doesn't set the clock).
> For example, "/usr/sbin/ntpdate -svd clepsydra.dec.com"
> resulted in "step time server 204.123.2.5 offset 158.91
once things
are working and you should do "/etc/rc.d/init.d/nfs reload" when you modify
/etc/exports.
pete peterson
GenRad, Inc.
7 Technology Park Drive
Westford, MA 01886-0033
[EMAIL PROTECTED] or [EMAIL PROTECTED]
+1-978-589-7478 (Gen
nd operating systems? In which
direction are you doing the transfer. Which machine is locked up?
Does "after the first one" mean that one is successfully transfered and the
next transfer does the lockup?
I've transferred >600 megabyte files (like ISO CD images) between Linux
and
I subscribe to the digest and don't recall ever seeing the particular
phenomenon you describe. There **HAVE** been OTHER problems, primarily
with delays in sending out the digest. For instance, for the previous
couple weeks there have been long delays (over a week) in the delivery of
the digest
e fsck manually and correct numerous
> filesystem errors. A subsequent reboot produced the following problems:
pete peterson
GenRad, Inc.
7 Technology Park Drive
Westford, MA 01886-0033
[EMAIL PROTECTED] or [EMAIL PROTECTED]
+1-978-589-7478 (GenRad);
the "6.2" and "5.2" directories didn't exist
at the path indicated.
Shouldn't these paths be something like:
"ftp://ftp.redhat.com/pub/redhat/updates/6.2//"?
Were there previously some links that are now missing?
pete peterson
GenRad,
ring the mail to your normal
mailbox). By telling procmail to continue after doing the forward, you
don't need an explicit rule to deliver the mail to your mailbox.
pete peterson
GenRad, Inc.
7 Technology Park Drive
Westford, MA 01886-0033
[EMAIL
7;t? Specifically, I start up portsentry twice, once for
> tcp and once for udp. After a while, instead of ps showing the command I
> used to start it, it will display as "[portsentry]" and I can't figure
> out why.
pete peterson
GenRad, Inc.
7 Tec
n? Are the non-digest
messages being delayed also? Has RedHat switched to using Micro$oft
"Active Message Digest" for list distribution? :-)
Oh -- and if you reply, please send me a direct copy or I won't see it for
a long time! :-(
pete peterson
GenRad, Inc.
the file with vi, Emacs, or whatever your
favorite editor might be, insert the newline and that warning will go
away.
pete
pete peterson
GenRad, Inc.
7 Technology Park Drive
Westford, MA 01886-0033
[EMAIL PROTECTED] or [EMAIL PROTECTED]
Since I can set the Ethernet address to anything I like with 'ifconfig'
options (ifconfig eth0 hw ether 11:22:33:44:55:66), this seems to be an
unreliable way to control access.
pete
> Date: Thu, 11 May 2000 12:56:53 +0800
> From: Hugo Bouckaert <[EMAIL PROTECTED]>
> To: [EMAIL PROT
of it on the screen
disappear -- no icons or anything. I can get to the windows to
uniconify them only through the window-list brought up by the middle
mouse button. Is this a bug or some kind of installation problem?
pete peterson
GenRad, Inc.
7 Technolo
Are you thinking of "nohup"? Try "man nohup" for brief explanation or
"info nohup" for slightly more elaboration. Basically, you incant:
nohup COMMAND ARGS &
and any tty output goes to 'nohup.out'.
pete
> Date: Tue, 09 May 2000 11:28:00 -0500
> From: Barton Hodges <[EMAIL PROTECTE
Netscape understands standard X11 "geometry" parameters.
"netscape -geometry +0+50" will start netscape with the upper left corner
of its window at the left edge of the screen and 50 pixels down.
pete peterson
GenRad, Inc.
7 Technology Park Drive
]"
and 'someuser' is aliased to '[EMAIL PROTECTED]'.
Helpful suggestions or SPECIFIC references to Bat Book secions or moongroup
mailhelp archives would be appreciated. I haven't quite mastered the relay
vs. delivery processes. Sendmail is sendmail-8.9.3-20.
C set properly: 5 hours ahead of CDT? If not,
you can set the system clock properly and then do:
hwclock --systohc --utc
pete peterson
GenRad, Inc.
7 Technology Park Drive
Westford, MA 01886-0033
[EMAIL PROTECTED] or [EMAIL PROTECTED]
+1-978-589
iles, ...), so I can modify the 6.2 machines so they behave like all the
rest? It's much more important to me to have something that works like our
Suns and the other RedHat machines than something that works with Debian
machines (I don't interact with any Debian machines).
pete
Thanks!
I *THOUGHT* I remembered there was a simple way of doing it in Linux --
just couldn't remember what that way was! That should do PRECISELY what I
need. Another of the wonders of /proc!!
pete
> From [EMAIL PROTECTED] Thu Apr 6 10:52:21 2000
> To: Pete Peter
tscript2pdf" be a script that wrote STDIN to a
temp file, ran ps2pdf to create another temp file, output that to STDOUT,
and deleted the temp file, but I thought I remembered there was some less
ugly way to accomplish that with a wrapper that didn't involve creating
temporary files.
itial
installation, I never used the CD and forgot about the problem.
Anyhow, I put the CD on another machine and did a network (NFS) install and
6.2 installed fine. I'm going to glue stickers onto those CD drives so the
problem isn't forgotten again.
pete peterson
gt; 4 GB SCSI Disk partitioned
> /boot 16M
> / 256M
> swap 256M
> /usr 2000M
> /var~1600M (rest of disk)
>
> SCSI is AIC7xxx
>
>
> Any suggestions? It's very painful retrying this because I'm selecting
> individual
PS/2 mouse, SCSI CDROM, ...
>
>
> 4 GB SCSI Disk partitioned
> /boot 16M
> / 256M
> swap 256M
> /usr 2000M
> /var~1600M (rest of disk)
>
> SCSI is AIC7xxx
>
>
> Any suggestions? It's very painful retrying this because I'm sel
;s very painful retrying this because I'm selecting
individual packages, so package selection is tedious.
pete peterson
GenRad, Inc.
7 Technology Park Drive
Westford, MA 01886-0033
[EMAIL PROTECTED] or [EMAIL PROTECTED]
+1-978-589-7478 (GenRa
Hi Jack,
It's definitely possible and I've done it. Unfortunately, I'm at work on
my Solaris machine in my office and I've done StarOffice spreadsheets
mostly at home. I'll try to remember to check when I get home.
Ahh -- I remembered that I *did* install StarOffice for Solaris. Just
tried i
kground. Other
background colors are likely to have similar problems.
It also breaks scripts, putting rubbish escape sequences into the output.
I definitely agree that it should **NOT** be the default!
If you find out how to make this bad undesirable behavior go away, please
send me the solution.
> >
> >Do you know of any place that sells DSL modems? I don't have to order
> >one, but if I do, it's 99 bucks
> >
> > Anybody have experience/suggestions with DSL "modems" on Linux (RH 6.1)?
> >
> > pete peterson
> Anybody have experience/suggestions with DSL "modems" on Linux (RH 6.1)?
>
> pete peterson
> GenRad, Inc.
> 7 Technology Park Drive
> Westford, MA 01886-0033
>
> [EMAIL PROTECTED] or [EMAIL PROTECTED]
> +1-978-58
you know of any place that sells DSL modems? I don't have to order
one, but if I do, it's 99 bucks
Anybody have experience/suggestions with DSL "modems" on Linux (RH 6.1)?
pete peterson
GenRad, Inc.
7 Technology Park Drive
Westford, MA 01886
he xntpd daemon. I've attached a copy of the 6.1 version at
the end of this message.
pete peterson
> Date: Sat, 18 Mar 2000 10:02:33 -0600 (CST)
> From: Vidiot <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Do you use ntp to set your time?
>
he xntpd daemon. I've attached a copy of the 6.1 version at
the end of this message.
pete peterson
> Date: Sat, 18 Mar 2000 10:02:33 -0600 (CST)
> From: Vidiot <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Do you use ntp to set your time?
>
f I do CTRL-X CTRL-C while
still in text mode, the CTRL-C gets me out of CTRL-X mode and there's no
problem.
Has anyone else had this problem? Do you know what triggers it? Is there
a way to escape without killing the process?
pete peterson
GenRad, Inc.
7 Tech
make this a little fancier if you have bigger numbers
like 123,456,789.12)
It would be nicer with perl instead of sed since perl understands
"+" in regular expressions whereas some sed versions don't. Perl
also has, in general, much more powerful
-specific web pages should be avoided if
possible.
Disclaimer: I'm a left-brain person and have less appreciation for visual
subtleties than the majority of other people.
pete peterson
GenRad, Inc.
7 Technology Park Drive
Westford, MA 01886-0033
ident*", which would work in this case. :-)
Otherwise, if you're patient, you could do:
[root@redhat60 RPMS]# for rpm in *.rpm; do
> rpm -qlp $rpm | grep 'in\.identd' >/dev/null && echo $rpm
> done
pidentd-3.0.7-5.i386.rpm
[root@redhat6
the previously saved configuration.
Another thing that would be helpful would be to allow use of fdisk in
all installation modes -- or an option in Disk Druid to escape to fdisk.
It seems like dealing with Disk Druid is always a struggle and fdisk
is much simpler and does what you ask it to do.
t was processing the right
stuff and remembered the argument properly.
pete
pete peterson
GenRad, Inc.
7 Technology Park Drive
Westford, MA 01886-0033
[EMAIL PROTECTED] or [EMAIL PROTECTED]
+1-978-589-7478 (GenRad); +1-978-256-5829 (Home: Che
lly strange.
All the other machine I have contact with are either on a real LAN or
connected to a cable-modem, so I haven't had any occasion to mess with
PPP for a very long time. Any clues would be welcome.
pete peterson
GenRad, Inc.
7 Technology Park Drive
o myip.org? Are they dead, moribund, or
just temporarily offline?
pete peterson
GenRad, Inc.
7 Technology Park Drive
Westford, MA 01886-0033
[EMAIL PROTECTED] or [EMAIL PROTECTED]
+1-978-589-7478 (GenRad); +1-978-256-5829 (Home: Chelmsford, MA)
+
addir_long
messages are definitely smbfs messages, since they're referring to items
on the Micro$oft system.
Can anyone explain these messages and suggest what might be causing this
problem? Any insight would be appreciated.
pete peterson
GenRad, Inc.
7 Techno
t also worked fine in 4.2.
pete peterson
GenRad, Inc.
7 Technology Park Drive
Westford, MA 01886-0033
[EMAIL PROTECTED] or [EMAIL PROTECTED]
+1-978-589-7478 (GenRad); +1-978-256-5829 (Home: Chelmsford, MA)
+1-978-589-2088 (Closest FAX); +1-978-589-7007 (M
ith RH 4.2.
Note that the Solaris machine has a cgsix accelerated 8-bit-color frame
buffer if that is perhaps relevant to the problem. The problem
occurs with Solaris 2.5 or 2.51 as well as Solaris 2.6. I don't have any
problems with the Solaris X-display to machines *OTHER* than RH 5.0.
quot; and chose appropriate
menu entr(y|ies).
Alternatively, you can do it the easy way and just put the following in .emacs:
(custom-set-variables
'(scroll-bar-mode (quote right)))
pete peterson
GenRad, Inc.
7 Technology Park Drive
Westford,
> Date: Sat, 30 May 1998 23:44:16 -0700 (PDT)
> From: Ron Golan <[EMAIL PROTECTED]>
> To: Pete Peterson <[EMAIL PROTECTED]>
> Subject: Re: "." appears by default in PATH (was Re: Scripts...)
>
> After using your good advice to fix that path problem with
hat/redhat-5.0/updates/i386 at
ftp.redhat.com.
You really should install *ALL* the updates if your machine is exposed on
the Internet. There are a number of security-related patches. You can
read all the gory details on RedHat's web page in the "errata" section.
pete
osed to the Internet. On a second
home machine, I had a BIND breakin overnight between the time I installed
from the CD and the time I installed all the errata, including the BIND
fix for the well publicized security hole.
pete
pete peterson
GenRad, Inc.
7 Technology Par
om the PATH *AFTER* the fact, f'rinstance:
export PATH=`echo $PATH | sed -e 's/^\.://' -e 's/:\.$//' -e 's/:\.:/:/'`
For your particular case, you'd only need the last of the three
regexps: the other two deal with "." at the beginning
s to
other than your blocked site. :-)
pete peterson
GenRad, Inc.
7 Technology Park Drive
Westford, MA 01886-0033
[EMAIL PROTECTED] or [EMAIL PROTECTED]
+1-978-589-7478 (GenRad); +1-978-256-5829 (Home: Chelmsford, MA)
+1-978-589-2088 (Cl
/etc/hosts.new /etc/hosts
and invoke this from /etc/sysconfig/network-scripts/ifdhcpc-done or some
such place, but it strikes me that there must be a pre-canned solution
that I'm missiing here.
Can someone provide a clue?
pete peterson
GenRad, Inc.
7 Technology Pa
ble 'path'. Note the parentheses and the space instead of colon.
or
setenv PATH ${PATH}:your_addtion
If you added the command *AFTER* the shell you're using was started, you
need to do a "rehash" in csh or tcsh. These shells make a lookup table of
all the execu
e86-S3-3.3.1-14
Presumably, you would have the S3V instead of S3 on the last one.
I've never been able to make Metro-X work on either RH 4.x or RH 5.0 on any
system and friends have had the same experience.
pete peterson
GenRad, Inc.
7 Technology Park Drive
Wes
you can always say
"./fubar" instead of just "fubar". If you insist on having "." in your
PATH, put it at THE END.
pete peterson
GenRad, Inc.
7 Technology Park Drive
Westford, MA 01886-0033
[EMAIL PROTECTED] or [EMAIL PROTECTE
1998
[rep@ns1 ~]$ date --date '1 day ago'
Mon May 11 08:11:37 EDT 1998
[rep@ns1 ~]$ date --date '3 days'
Fri May 15 08:12:17 EDT 1998
[rep@ns1 ~]$ date --v
date (GNU sh-utils) 1.16
Is there something obvious that I'm missing here? This is in RH 5.0
s display to make
this work properly? As I mentioned, everything worked fine with RH 4.2.
Note that the Solaris machine has a cgsix accelerated 8-bit-color frame
buffer if that is perhaps relevant to the problem. The problem
occurs with Solaris 2.5 or 2.51 as well as Solaris 2.6. I don't ha
89 matches
Mail list logo