From: Stephen Isard (S.IsardDeleteThis@ed.ac.uk)
Date: Mon Jun 12 2000 - 14:16:44 CEST
Alfie Costa wrote:
> For just a terminal speed change, a short script would do...
>
> tmpfile=/tmp/TempInittab$$
> sed '/agetty 38400 tty/agetty 115200 tty/g' /etc/inittab > $tmpfile
> mv -i $tmpfile /etc/inittab
>
> (Note: this is typed from a Win95 e-mail system, and the code above hasn't
> actually been tested -- I looked up the 'sed' command in a book. I think it
> ought to work though.)
I think there is a typo in your sed command, a missing 's'. Try
sed 's/agetty 38400 tty/agetty 115200 tty/g' /etc/inittab > $tmpfile
^
Regards,
Stephen Isard
---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.auc.dk
For additional commands, e-mail: mulinux-help@sunsite.auc.dk
This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:14 CET