#!/bin/ruby #This script is written in Ruby. #ENV is an object that takes the same [ ] as a hash. home = ENV['HOME'] if home.nil? exit 1 end puts home exit 0