How to display a file name which has zero bytes in size.

Answer Posted / likhitha

#try this
#this will give you the answer

find /home/itsme -type f size 0

#this will display all 0 size "files" in /home/itsme
directory
#

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I use grep to search for a file?

576


What command is used to switching between users in unix?

556


What is awk used for?

611


Explain command to view process running?

609


What do chmod, chown, chgrp commands do?

624






Explain mount and unmount command.

607


What is grep command in unix with examples?

604


What is the command to find hidden files in the current directory?

570


What are the differences among a system call, a library function, and a unix command?

562


What is the difference between cat command and more command?

595


How do I open a port?

581


Differentiate cmp command from diff command.

583


Explain how to use grep command to list find the records of a file containing 10 different strings?

587


What is the command to view process running?

567


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

1752