Linux for Programmers and Users
4.15. Identifying Terminals: tty
The tty utility identifies the name of your terminal (Figure 4-31).
In the following example, my login terminal was the special file "/dev/pts/1": $ tty ...display the pathname of my terminal. /dev/pts/1 $ _
|
Категории