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
What is a superuser?
Explain the following statement, “it is not advisable to use root as the default login.”
How can you edit a large file without opening it in unix?
How would you identify daemons in unix?
What are conditions for a machine to support Demand Paging?
What are the main features of korn shell?
Where is unix used?
What is the difference between unix and windows operating system?
What is the significance of the superuser?
How to get the nth word of a line in Unix?
Explain the terms links and symbolic links with respect to unix?
What is the best free unix based os?
How many types of files are there in unix?
Explain the term filter.
What are the features of unix operating system?