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 ?


Answers were Sorted based on User's Feedback



following two file are file a file b 110 aab 330 xxl i want the output like file a ..

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

following two file are file a file b 110 aab 330 xxl i want the output like file a ..

Answer / asif

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

Is This Answer Correct ?    3 Yes 1 No

following two file are file a file b 110 aab 330 xxl i want the output like file a ..

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

More Unix General Interview Questions

Is unix the first operating system?

0 Answers  


What is a "parameter card" and what is useful for?

1 Answers   Accenture,


What are links and symbolic links in UNIX file system?

0 Answers  


Is unix a kernel or os?

0 Answers  


Explain different types of Unix systems.

0 Answers  






Which is a form of interprocess communication in unix?

0 Answers  


command to display different lines that are found when compare two files?

2 Answers   HP,


briefly describe the shell's responsibilities?

0 Answers  


What is Process id in unix?

0 Answers  


How old is unix?

0 Answers  


What are three main elements of unix operating system?

0 Answers  


What is the core of unix operating system?

0 Answers  


Categories