start new:
tmux
start new with session name:
tmux new -s myname
>>> dev | |
Device(srx210) | |
# import the filesystem library and bind it to the device (dev) | |
>>> from jnpr.junos.utils.fs import * | |
>>> fs = FS(dev) | |
# use the 'cat' function to dump the content of the file | |
>>> print fs.cat('/var/log/dcd') |
IT'S SHOWTIME | |
HEY CHRISTMAS TREE isLessThan100 | |
YOU SET US UP @NO PROBLEMO | |
HEY CHRISTMAS TREE n | |
YOU SET US UP 0 | |
HEY CHRISTMAS TREE multiple | |
YOU SET US UP @NO PROBLEMO | |
STICK AROUND isLessThan100 |