I want to put the output data from unix command to a csv file. Suppose the output which I am getting is :
A B C
I want to put this data in .csv
just use xargs.
eg:
less filename| xargs >> filename.csv