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 / raja

sed 's/110 aab/110 xxl/' file a
sed 's/330 xxl/330 aab/' file b

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give a brief idea about representation of devices in unix.

596


How to change the password in unix operating system?

568


Name the key features of the bourne shell.

570


What is regular file in unix?

542


What do you mean by unix operating system?

559






How many types of files are there in unix?

632


What is grep|sort give example?

594


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.

4481


How to find out what processes are running in the background in unix?

638


What is the command to connect to remote terminals

610


What are the main features of unix?

562


What is a shell?

605


Is a directory unix?

535


Explain the term filter.

620


Does unix still exist?

715