To remove the content of a file without deleting the file, type:
cat > filename.txtNow press the Enter Key and type Ctrl+D. This way only the file contents will be removed.
Thursday, July 17, 2008 at 3:11 AM Posted by rizq
To remove the content of a file without deleting the file, type:
cat > filename.txtNow press the Enter Key and type Ctrl+D. This way only the file contents will be removed.
Labels: Tips and Tricks
Minyx v2.0 template es un theme creado por Spiga. | Minyx Blogger Template distributed by eBlog Templates
0 comments:
Post a Comment