#!/bin/bash echo make sure to set static IP of 192.168.1.100 on ethernet interface! if [ -z "$1" ]; then echo specify file >&2; exit 1; fi cd $(dirname "$1") cat <