Dauerhaftes cat /dev/ttyS0 > datei.txt?

Dietmar Goldbeck dietmar.goldbeck at e-trend.de
Sun Jan 9 21:03:23 CET 2005


On Sun, Jan 09, 2005 at 04:09:54PM +0100, Jan 'Red Bully' Seiffert wrote:

> ich mich dann nur frage, brauch man fuer die inittab auch noch das
> nohup-Gebastel und kann die inittab auch mit shell-Scripten was anfangen?
> 

das nohup Gebastel entfällt. 

Aus der inittab lassen sich nur "normale Programme" starten.
Ein (shell) Skript ist unter Linux
ein normales Programm, wenn das passende x bit gesetzt ist und es
mit #!/bin/sh (bzw. #!/usr/bin/perl etc...) anfängt.

Nach einem chmod 755 gibt es keinen praktischen Unterschied zwischen
einem Perl skript, einem shell skript oder einer ELF binary.
Wichtig sind nur das x-bit und die erste Zeile. 

-- 
 Alles Gute / best wishes  
     Dietmar Goldbeck         E-Mail: dietmar.goldbeck at acm.org
Reporter (to Mahatma Gandhi): Mr Gandhi, what do you think of Western
Civilization?  Gandhi: I think it would be a good idea.



More information about the Linux mailing list