stty

stty

The stty command by itself will return the current settings of the terminal (baud rate,line discipline number, line settings) .


Example:

mike@ub:~$ stty

speed 38400 baud; line = 0;

eol = M-^?; eol2 = M-^?;

ixany