# File lib/net/ssh/session_helpers.rb, line 52 def file_exists?(path) run("test -f #{path}").success? end