Pages

Showing posts with label remove a column. Show all posts
Showing posts with label remove a column. Show all posts

How to remove a coloumn from multiple coloumn in Linux

I have a list of coordinates (x,y,z). In addition to that, there are additional columns which are necessary.  How to remove this?

AWK can be used in a simple manner.

USE:

awk '{print $2, $3, $4}' inFile.txt > coordinates.xyz

This will create the file coordinates.xyz with the necessary coordinates.


You may be interested in these posts

Error in image file conversion: convert-im6.q16: not authorized `test.eps' @ error/constitute.c/WriteImage/1037.

This error is because of the vulnerability. This allows remote execution of code using image formats. So, some Linux distributions by defaul...