Ubuntu Pastebin

Paste from aim at Wed, 28 Sep 2016 11:52:03 +0000

Download as text
1
2
3
4
5
(defun open-var-log-juju (hostname)
  "Open Juju log directory"
  (interactive "shost: ")
  (let ((filename (format "/ssh:%s|sudo:%s:/var/log/juju/" hostname hostname)))
    (find-file filename)))
Download as text