How to check the number of terminals open from inside a shell script

sumatheja sumatheja at gmail.com
Fri Oct 29 11:26:27 UTC 2010


Hi All,
        I'm can anyone let me know if there's some variable holding
the value of the total number of terminals open. I have a requirement
where i need to execute some script only first time a terminal is
opened. I feel this is not the right place to post this but will be
glad if someone can help me out.

--
cheers
Sumatheja Dasararaju


More information about the users mailing list