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.
1 Place roast, fat-side up, in a roasting pan. 2  Roast in the preheated oven for 20 minutes, reduce heat to 325 degrees F (165 degrees C), and continue cooking until roast is reddish-pink and juicy in the center, 1 1/2 to 2 hours. 3  An instant-read thermometer inserted into the center should read 145 degrees F (63 degrees C). Roast in the preheated oven for 20 minutes, reduce heat to 325 degrees F (165 degrees C), and continue cooking until roast is reddish-pink and juicy in the center, 1 1/2 to 2 hours.