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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are ETL Tools?

850


Design a mapping to load the cumulative sum of salaries of employees into target table?

1188


Can we use procedural logic inside infromatica? If yes how, if now how can we use external procedural logic in informatica?

802


Explain transaction control transformation in informatica

1029


Please let me know how to make Data masking in informatica..

1470


How does a rank transform differ from aggregator transform functions max and min?

917


To import the flat file definition into the designer where should the flat file be placed?

841


r u done any partitions in ur project?

1567


Explain how many types of dimensions are available in informatica?

775


What do you mean by blocking transformation?

779


What is intricate mapping?

798


What are roles and groups and benefits of using them?

773


complex mapping ur project u r invlve can u explain and give real time example give me ?

2066


Explain what transformation and how many are there in informatica?

703


What are the tuning techniques you applied during your last project

1783