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
How to null a file in unix?
What is the difference between soft link and hard link in Unix operating system ?
What does a pipe(|) do?
What are internal and external commands in unix?
How do I grep recursively in unix?
What does unix .profile contains?
How do I run a unix script?
How to restrict NULL value in UNIX
What is grep family in unix?
How do I delete files older than 2 days unix?
Describe the term inode?
Who is founder of unix?
In unix, what is echo used for?
What is positional parameters in unix?
How to check the date in unix?