Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 is a programming language?

0 Answers  


What was unix originally written for?

0 Answers  


How to get the nth word of a line in Unix?

0 Answers  


Define a single-user system.

1 Answers  


Does unix still exist?

0 Answers  


Explain kernal and shell?

0 Answers  


Is windows unix based?

0 Answers  


Is mac a unix system?

0 Answers  


What is page fault? Its types?

0 Answers  


How to know the present working directory in unix?

1 Answers  


Is mac a unix?

0 Answers  


How to create a blank file in unix?

0 Answers  


Categories