Bash Tips and Pitfalls

From miki
Revision as of 02:12, 8 November 2008 by Mip (talk | contribs) (New page: Empty a file named <tt>filename</tt>, keeping the same permission and user/group: <source lang="bash"> >filename </source>)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Empty a file named filename, keeping the same permission and user/group:

>filename