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

Answer Posted / narendra chenna

cat <filename with data> | while read filename
do
tem=$filename" "$filename
echo $tem >><onther file name>
done

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How zip the file in unix?

531


Is unix a network operating system?

496


What are the phases of swapping a page from the memory?

548


What is umask in unix?

484


What do you understand by the term single user system?

541






Can you explain the method of changing file access permission?

523


What is unix operating system explain various components of unix operating system?

472


Explain kernal and shell?

555


How to null a file in unix?

627


What is meant by the term super user?

498


Is windows built on unix?

508


What is directory unix?

505


Explain how and when a DNS request is solved when a user tries to surf to the site www.abcdeg.in .Assume the user machine uses a local name server and sits on another network other than www.abcdef.in.

4335


How many root directories exist in unix?

509


How to remove files in unix?

566