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


Please Help Members By Posting Answers For Below Questions

Is unix still around?

462


What are the links and symbolic links in a unix file system?

494


How is unix different from windows?

497


Which are typical system directories below the root directory?

528


Describe file systems in unix?

553






What are data structures that are used for Demand Paging?

564


How to list directories in unix?

545


How does unix work?

477


What is unix portability?

507


What is unix and why is it important?

512


How do I search for a grep file in unix?

478


How do you go to a directory in unix?

480


What are the hidden files in unix?

543


What is af_unix?

463


How do I find the port number of pid in unix?

467