To write the name of the current console device to standard output (usually your screen), use the lscons command.
For example, at the prompt, type:
lscons
Press Enter.
The system displays output similar to the following:
/dev/lft0
See the lscons command in the AIX 5L Version 5.2 Commands Reference for the complete syntax.