How do u identify or filter out a 0 byte file available in a
folder by using UNIX command?



How do u identify or filter out a 0 byte file available in a folder by using UNIX command?..

Answer / raj

Most files of the following command output will be lock-files and place holders created by other applications.

# find ~ -empty

List all the empty files only in your home directory.

# find . -maxdepth 1 -empty

List only the non-hidden empty files only in the current directory.

# find . -maxdepth 1 -empty -not -name ".*"

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More Informatica Interview Questions

I have source like this year account month amount ----- --------- ------ -------- 1999 salaries jan 9600 1999 salaries feb 2000 1999 salaries mar 2500 2001 benfits jan 3000 2001 benfits feb 3500 2001 benfits mar 4000 -->i need target like this year account month1 month2 month3 ----- --------- -------- -------- -------- 1999 salaries 9600 2000 2500 2001 benfits 3000 3500 4000

4 Answers   HCL,


tell me the push down optimization

2 Answers   Wipro,


scenario

1 Answers  


Explain about HLD and LLD ?

16 Answers   Accenture,


How can we trouble shoot the commas in a column of a comma delimited flat file in Informatica

1 Answers  






What is an aggregator transformation?

0 Answers  


performance wise which one is better in joiner and lookup transformation

2 Answers  


Define Pmrep command?

0 Answers  


Which kind of index is preferred in DWH?

3 Answers  


i hav a scenario like this i want load data from source to target as follows frist it counts the num of deptno and display with that with count and how many times it reapts along with all the records in source

1 Answers  


How to load duplicate records in to a target table which has a primary key?

2 Answers  


i have a source of n records.i have to load n+5 records to my target.What is the procedure??????plz tell me.....

1 Answers  


Categories