Finished! one question (possible bug/typo)

Wim Kerkhoff wim at netmaster.com
Sat Jun 10 00:18:20 PDT 2000


On 13-Jun-2000 Gerard Beekmans wrote:
> 
> 
>> Yo,
>> 
>> > It's an error which has a logical explanation:
>> > before 2.3.4 the rc script was simply copied from the sysvinit package.
>> > That file already had the correct permissions. But now the script
>> > doesn't come from a package anymore and is manually written (copy
>> > copy/pasted from the book) and now we have to set permissions ourselves.
>> > I'll fix this in 2.3.5
>> 
>> Would not, pidof work?
>> 
>> hijol:~$ /sbin/pidof licq
>> 17253 17252 17251 17250 17249
>> hijol:~$ /sbin/pidof netscape
>> 17385
>> hijol:~$ /sbin/pidof sshd    
>> 91
>> hijol:~$ 
> 
> Would it be so simple? Looks like that would do the trick
> btw, if you get multiple PID's like with licq, how do you kill 'm all
> (a for loop would be best?)

kill `pidof licq`

Regards,

Wim Kerkhoff, Software Engineer
NetMaster Networking Solutions
wim at netmaster.com
--
Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
News Reader access: news.pcrdallas.com
Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
"unsubscribe" (without the quotation marks) in the body of the message
(no subject is required)



More information about the lfs-dev mailing list