i have one column with data smith
john
michale
the o/p should be smith,john,michale how we do in unix

Answer Posted / supriya

save the names in the file in column wise,then give the
command as:
tr "\n" "," <filename>

Is This Answer Correct ?    7 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to stop an infinite loop in unix?

704


What is difference between unix and windows?

682


Is unix still relevant?

750


How do you delete a file in unix?

728


Does apple use unix?

695


What is a parent directory in unix?

691


What uses unix?

728


What is the difference between a single dot and double dot in unix?

951


What are the advantages and disadvantages of unix operating system?

771


What is alias mechanism?

674


What are the three main components of unix architecture?

743


What does the swapping system do if it identifies the illegal page for swapping?

835


What is source unix?

690


What methodology can be utilized to modify the password in unix?

687


What is hardlink and softlink in unix?

741