i have one column with data smith
john
michale
the o/p should be smith,john,michale how we do in unix
Answer Posted / madhusudhanan.s
Inside a file save 3 names column wise
then type the below command
tr "\n" "," < <filename>
| Is This Answer Correct ? | 22 Yes | 7 No |
Post New Answer View All Answers
How to create a blank file in unix?
What is path variable in unix?
What is meant by u-area?
Explain the terms links and symbolic links with respect to unix?
How do I delete files older than 2 days unix?
What is unix and its features?
What a pipe?
Differentiate multiuser from multitask.
Explain file system in unix.
How to move a background job to forward?
What are the three major components of any unix system?
What are the essential features of the unix operating system?
Does apple run unix?
Is darwin unix?
What are directories in unix?