Archive for the tag 'Separating'

Separating standard output from standard error

Constructs like these are often used by programmers, so that output is displayed in one terminal window, and errors in another. Find out which pseudo terminal you are using issuing the tty command first:

#make all 2> /dev/pts/7

To find the tty type

root@dell:~# tty
/dev/pts/1