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 biv343 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. abarad

    Test For Value in a File

    > cat host.txt text1 text2 text3 > cat z cnt=`grep -ic "text5" host.txt` if [ $cnt -eq 0 ]; then echo "text5" >> host.txt fi > z > cat host.txt text1 text2 text3 text5

Part and Inventory Search

Back
Top