#!/bin/sh if [ "$1" == "-h" ]; then currentFile=$(basename "$0") echo "Usage: ./$currentFile" exit 0 fi cat /etc/resolv.conf | grep "nameserver"