Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. mzak94

    help with choosing a file

    i need a command that lists the first few lines of files, i want to list the files first and then ask for a file to view so far i have #! /bin/bash cd $1 ls if [ "$(ls -A $1)" ]; then read -p "show first few lines of files [y/n] " show if [[ $show == [y] ]]; then head -3...

Part and Inventory Search

Back
Top