Re: What editors are in base?
Dale Scheetz <firstname.lastname@example.org> writes:
> Well, if I understand the question your command line should look like:
> cp /dev/console <file-name>
> 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@example.com
"Double, double, toil and trouble, /
Fire burn and cauldron bubble."