bash get field from line

Shell
echo 'The Code Doctor' | cut -d ' ' -f2echo 'The Code Doctor' | awk '{print $2}'
Source

Also in Shell: