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 unix portability?
What is architecture of unix operating system?
What is unix and shell scripting?
How to print/display the last line of a file in Unix?
What is the symbol in unix?
Define a process group.
Give a brief idea about representation of devices in unix.
How to list directories in unix?
Is unix the first operating system?
What is the difference between nfs 3 and nfs 4?
What is the home directory in unix?
How to calculate the number of words in a file?
Explain about shell aritmetic operators and functions?
What does ls lrt in unix?
How to know the ip address of user system?