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
Is it possible to restrict incoming message?
What is the full form unix?
What is source unix?
What are the essential features of the unix operating system?
What is unix orphan process?
Does windows use unix?
Differentiate swapping and paging.
How to remove files in unix?
I have one flat file,in this file how many columns are there i don't know,but one ename column is there , just i want to cut the surname, so how to cut the surname, any one know the answer please guide me ? ename ----- tapan kumar nayak bala murugan kutal chkrobarthy biswo My output is like that OUTPUT ------ nayak murugan chakrobarthy biswo
Where is unix used today?
Describe file systems in unix?
What are the types of unix operating system?
How to know the ip address of user system?
Is it possible to see information about a process while it is being executed?
You have a file called tonky in the directory honky. Later you add new material to tonky. What changes take place in the directory, inode, and file?