[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What editors are in base?

Dale Scheetz <dwarf@polaris.net> 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  <*>  c.evans@clear.net.nz

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

Reply to: