----------------------------------------------------------------------------
The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb
That "null" command only works in Bourne or Korn shell
In which case this is one byte shorter still:
Code:
>TheFile
Unless if Korn shell and the noclobber option is in use (set -o noclobber), then it won't erase existing files... But you can still erase a file by temporarily overriding the noclobber option:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.