Get last line of shell output as a variable Get last line of shell output as a variable shell shell