How can I add the machine name to the output. For instance... This command writes to the log file that a file is in use and was not backed up.
cp --preserve --recursive --update "$source"/* $dest 2>> $log So if I have a variable called $machine and it equals the workstations name how can I have it written before the log entry. Example Myworkstation: output from errors out. Thanks in advance, Paul Kraus - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
