If I wrote a script in a new Terminal. Then after I want to see the output of
that script in an another terminal. How Can I See that?
I have solution but if any one have direct command for it pl suggest me
You can find the name of the other terminal
i.e by
tty command you can see the name of the terminal
now you redirect the output to that terminal
tty
/dev/pts/0
tty
/dev/pts/1
echo "amit khatri">/dev/pts/1
you see the result on New terminal
Wednesday, July 29, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment