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 Rhinorhino 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: *

  • Users: akaKul
  • Content: Threads
  • Order by date
  1. akaKul

    BASH detaching from tty when run in background with '&'

    Hi I have a bash script that I need to run both interactivly and non-interactivly (ie via crond or using '&'). This script echo's my lovely junk to the terminal if run interactivly, or to a file if run via crond. I use: (Which works fine!!) if [ -z $(tty) ]; then exec > the_file 2>&1...

Part and Inventory Search

Back
Top