0 votes
in Linux by

cat File_name | cut -d ',' -f1

File-name- full path and file name as well

-f1- choose 1, 2 or any other index

1 Answer

0 votes
by
cut -f1 -d "," file_name

-f1 - is the part you want to save here first is chosen

-d - is delimiter here , is chosen
Welcome to My QtoA, where you can ask questions and receive answers from other members of the community.
...