Friday, 11 September 2015

Linux Shell Script Scenario #3

Design a Shell Script which have to work for below scenario :-

We are having two files, File1 is having a 20,000 lines of data and File2 is having few lines, Now the requirement is - Read the File2 and remove the line from File1 which is having those word.

Suppose -  

File1 ---
TCS, Tata Consultancy Services
IBM, International Business Machine
TD, Teradata
IM, Information Management
WM, WareHouse Management
WC, Work Center


Output :
TD, Teradata
IM, Information Management
WC, Work Center

For more scenario -  CLICK HERE