cut

remove sections from each line of files

Cut 3 fields and use | as a delimiter.
copy
6
1
echo "a|b|c|d|e" | cut -f 3- -d \|Cut 3 fields and use | as a delimiter.

details |

Result:

c|d|e

Options:

  • cut -f, cut --fields
    -f, --fields=LIST select only these fields; also print any line that contains no delimiter character, unless
  • cut -d, cut --delimiter
    -d, --delimiter=DELIM use DELIM instead of TAB for field delimiter