The last command executed in the function or script determines the exit status. Within a script, an. command may be used to deliver an nnn exit status to the shell (nnn must be an integer in the 0 - 255 range). When a script ends with an exit that has no parameter, the exit status of the script is the exit status of the last command executed in the script (previous to the exit).
Quick Answer. A beef roast is cooked in a 375 degrees Fahrenheit oven for 20 minutes per pound. The exact cooking time depends on the size of the roast. The roast is done when it reaches between 135 and 150 degrees Fahrenheit on a meat thermometer.
Place the roast in a roasting pan fat-side up and bake in a preheated oven for 15 minutes. Reduce the oven temperature to 325 degrees F and roast for 1 1/2 to 1 3/4 hours. Check the internal temperature of the roast.