Background jobs

Hi there,

I'm quite new to UNIX for programming. I have a script that does this:

Shows on screen real-time results taken from phone calls and logs them in a file.

However, when I start my script, I want my script to start logging in the file in the background, so I can continue working on the terminal. How can you make a script working in the background and not disabling me from working with the unix terminal?

Thanks,

You can run your script like this:

your_script > /path/to/logfile 2>/dev/null&

This will print valid output to your logfile and send all errors to /dev/null

Moderators,
Please move this to the dummies/scripting forums.