following two file are

file a file b
110 aab 330 xxl
i want the output like

file a fileb
110 xxl 330 aab
give solution ?


Answer Posted / satyaranjan samal

sed 's/aab/xxl' file a ; sed 's/xxl/aab' file b ; cat file
a ; cat file b

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you switch from any user type to a super user type?

647


Explain what is a fifo?

642


What is a filter in unix? Give an example.

609


Name the key features of the korn shell.

644


What is unix kernel explain it?

592






Why was unix created?

574


Does mac use unix?

592


How do you kill a job in unix?

591


Is unix the first operating system?

592


Which data structure is used to maintain the file identification?

588


Why is unix better than windows?

572


Explain piping.

578


How do I find my unix os version?

580


What are the pros of executing processes in the background?

553


What is unix structure?

575