The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Filesystems, Disks and Memory
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 07-06-2007
james_falco james_falco is offline
Registered User
 

Join Date: Sep 2005
Posts: 10
killing nohup commands delete files?

Hello,

I just want to ask if killing a specific procees might delete files being read of that process?

Here is the scenario: I execute nohup find . -type f |xargs ls -lrt > nohup1.out &

I noticed that it is taking so much space, I check that there are files so huge
.nfs* and keep on growing, I use fuser command to check what processes using that file and kill them all. The free space increases. I'm suspecting that it also checked other mountpoints so it runs forever.

I am not sure that killing those processes and removing those .nfs* has the possibility that it also delete files as well as directories. The command is just ls -lrt. Let me know if that is a possiblity.
Reply With Quote
Forum Sponsor