Feedback from program’s lauch

If wanting to know the messages from some program, the output can redirect to an file. An example:

firefox > firefox.log 2>&1 &

Now the messages can read from firefox.log file.

If wanting to make a script, it is like (

#! /bin/bash
firefox > firefox.log 2>&1 &

To make the script executable

chmod +x