Skip to content

Instantly share code, notes, and snippets.

@binford2k
Last active December 31, 2015 02:39
Show Gist options
  • Save binford2k/7922621 to your computer and use it in GitHub Desktop.
Save binford2k/7922621 to your computer and use it in GitHub Desktop.
#! /usr/bin/env ruby
require 'augeas'
Augeas::open do |aug|
puts aug.get('/files/etc/krb5.conf/libdefaults/default_realm')
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment