bash question

hcs

Active member
what's this line do?

> /dev/tty$i

put nothing to the device?
<P ID="signature"></P>
 
> what's this line do?
>
> > /dev/tty$i
>
> put nothing to the device?

Outputs to the device ttyX. $i should be in input string, so you'd specify which TTY device you wanted to use with a number somewhere after the command.

NOTE: That was from memory. I'm not sure it's right, and if it's hard to understand, let me know and I will clarify.

<P ID="signature"><hr noshade><pre>IT'S DANGEROUS TO GO ALONE! TAKE THIS.</pre>
dangerous.gif
</P>
 
yeah, you're right, I came back to delete the post after I found that out

looks like it's generally used to clear files.<P ID="edit"><FONT class="small">Edited by hcs on 03/14/06 04:15 PM.</FONT></P>
 
> yeah, you're right, I came back to delete the post after I
> found that out
>

Lemme know if you want me to nuke the thread, and I will. It might be good to leave it here in case someone has the same question, though. :)
<P ID="signature">--

http://www.oddigy.com
beadsprites and PSFs, oh my!</P>
 
> It might be good to leave it here in case someone has the
> same question, though. :)

right, wouldn't have deleted it with a response.
<P ID="signature"></P>
 
Back
Top Bottom