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.
Put the roast directly onto the oven rack once the oven has finished heating. Place a tray beneath the roast to catch the drippings. The fat side of the roast must face upward so that the flavor of the meat drips down as the roast is cooking. Let the roast cook for 20 minutes or until browned. Lower the heat of the oven to 200 degrees (conventional ovens would use 225 degrees). Cook for an hour and a half, then check the temperature of the middle of the roast. It should be at 135 to 140 degrees.