nul

Andrew Schulman andrex@alumni.utexas.net
Tue Oct 26 09:18:00 GMT 2004


> Once when I felt particulary stupid, I've added redirection to 'nul'
> instead of '/dev/null' to a program run from cygwin cron. Now I've got a
> file called 'nul' on NTFS disk and can do nothing about it neither with
> windows tools nor from cygwin shell. Not a big problem, but annoying. Any
> ideas on how to get rid of it?

If you can't remove it, then its ownership or permissions probably aren't
set to allow that.  Take ownership of it, give yourself all permissions,
and then delete it.

If that doesn't work, try booting into the 2K/XP repair console, where you
should be able to delete it.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list