cut awk
print nth field using awk / cut
echo 'This is a test' | awk '{print substr($0, index($0,$3))}'
awk '{print substr($0, index($0,$3))}' <<< 'This is a test'
echo 'This is a test' | cut -d ' ' -f3-
echo 'This is a test' | cut -d ' ' -f3-
print nth field using awk / cut
echo 'This is a test' | awk '{print substr($0, index($0,$3))}'
awk '{print substr($0, index($0,$3))}' <<< 'This is a test'
echo 'This is a test' | cut -d ' ' -f3-
echo 'This is a test' | cut -d ' ' -f3-