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
Is unix still around?
What are the links and symbolic links in a unix file system?
How is unix different from windows?
Which are typical system directories below the root directory?
Describe file systems in unix?
What are data structures that are used for Demand Paging?
How to list directories in unix?
How does unix work?
What is unix portability?
What is unix and why is it important?
How do I search for a grep file in unix?
How do you go to a directory in unix?
What are the hidden files in unix?
What is af_unix?
How do I find the port number of pid in unix?