horizontal to vertical
Assume that i have following text in a text file
centos redhat fedora ubuntu
I want these to be arranged like this
Means that the text seperated by spaces needs to be ordered in the above manner.Is there any automatic way of doing so or using any single command.
Your suggestions please