Skip to content

Instantly share code, notes, and snippets.

@bfabry
Created November 7, 2011 23:54
Show Gist options
  • Save bfabry/1346592 to your computer and use it in GitHub Desktop.
Save bfabry/1346592 to your computer and use it in GitHub Desktop.
def sudo
""
end
def run(command)
puts command
end
def set(opt,setting)
if opt == :user
puts "su #{setting}"
end
end
def put(content,file)
puts "tee #{file} <<EOF\n#{content}\nEOF"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment