Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
12 lines (9 sloc) 189 Bytes
from fabric.api import local, run, env, hosts
#env.hosts = ['localhost']
@hosts('192.168.1.219')
def uname():
#local('ifconfig')
run('uname -a')
@hosts('localhost')
def w():
run('w')
You can’t perform that action at this time.