tried running the command cat < /dev/tty7
which caused the terminal to execute an inifinite loop. On closing the window and opeing the new one the infinite loop didn't terminate. it did only when i pressed ctrl+d.
Can anyone provide some logic behind this behaviour????
Well I am not sure whether it is infinite loop maybe cat is just waiting to the end of file.
In UNIX an end-of-file indication can be sent from an interactive shell (console)
by typing Ctrl+D (conventional standard).