#!/bin/sh echo "cd'ing to root directory" cd / ls -lah | grep bin echo "searching for file 'cpp' only one dir deep and displaying its file type.." find . -maxdepth 1 -type f -name cpp -exec file {} \; echo "printing the first 160 bytes of it in hex.." find . -maxdepth 1 -type f -name cpp -exec xd {} \; | head -c 160