#!/bin/bash cd "$(dirname "$0")/.." FILE=${1:-'/etc/passwd'} grep -E '^\w+::.*' "$FILE"