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 ?


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

Is unix os free?

860


What do you understand by the term single user system?

898


What are system variables in unix?

1080


What is Thread dump in unix?

950


What does a pipe(|) do?

848


I have one flat file,in this file how many columns are there i don't know,but one ename column is there , just i want to cut the surname, so how to cut the surname, any one know the answer please guide me ? ename ----- tapan kumar nayak bala murugan kutal chkrobarthy biswo My output is like that OUTPUT ------ nayak murugan chakrobarthy biswo

3431


What are links and symbolic links in UNIX file system?

924


What are the essential features of the unix operating system?

879


What are the main features of unix operating system?

905


What is directory unix?

882


What do you understand by the term wild-card interpretation?

853


What is piping?

892


How to remove the last line/trailer from a file in Unix script?

968


What are the hidden files in unix?

1023


How do I show hidden files in unix?

862