Dale Scheetz <[EMAIL PROTECTED]> writes:

[snip]

> Well, if I understand the question your command line should look like:
> 
>       cp /dev/console <file-name>

[snip]

> If you know which Virtual Console you are on, they are accessed through
> the ttyN devices, so from console 1 the line would look like:
> 
>       cp /dev/tty1 <file-name>

/dev/tty will automatically give you the appropriate /dev/tty*.

The best way to do this would be to just use cat:

    cat > filename

-- 
                Carey Evans  <*>  [EMAIL PROTECTED]

                 "Double, double, toil and trouble, /
                   Fire burn and cauldron bubble."

Reply via email to