In order to extract a column values from a text file where each line contains several words separated by space, following can be used;
cut -d' ' -f6 file.txt > result.txt
This would extract values from 6th column in a file named file.txt where each line contains words separated by white spaces.
cut -d' ' -f6 file.txt > result.txt
This would extract values from 6th column in a file named file.txt where each line contains words separated by white spaces.
Comments