"> /dev/tty$i" commands in /etc/rc.sysinit?

John Summerfield debian at herakles.homelinux.org
Tue Nov 30 12:37:23 UTC 2004


On Tuesday 30 November 2004 20:18, Andrei Nestor wrote:
> "> file" is equivalent to "cp /dev/null file", which means the
> contents of the file is cleared
> probably those lines are there to clear the ttys before spawning a
> login prompt on them.

I don't think that writting nothing on the ttys actually does that.

clear >/dev/tty$i possibly would (if TERM was set properly).

-- 

Cheers
John Summerfield
tourist pics: http://environmental.disaster.cds.merseine.nu/




More information about the fedora-list mailing list