def tail(self, fname, filt=None):
        if filt:
            cmd = "tail -f %s | grep %s\r" % (fname, filt)
        else:
            cmd = "tail -f %s\r" % (fname, )
        self._intf.send(cmd)
        self._intf.readline() # eat command that was just sent
        fo = self._intf.fileobject()
        return fo
Tail a log. return the contained file object so user can call readline() on it.
dataset/ETHPy150Open kdart/pycopia/QA/pycopia/QA/ssh_controller.py/ShellController.tail