": > file" VS "> file"

Posted by Vladimir Bezugliy on Stack Overflow See other posts from Stack Overflow or by Vladimir Bezugliy
Published on 2010-03-18T19:09:12Z Indexed on 2010/03/18 19:11 UTC
Read the original article Hit count: 239

Filed under:
|

Is there any differences between ": > file" and "> file"?

> : > file.out
>ls -l file.out
-rw-rw----   1 user    user             0 Mar 18 21:08 file.out
> > file.out
>ls -l  file.out
-rw-rw----   1 user    user             0 Mar 18 21:08 file.out

© Stack Overflow or respective owner

Related posts about shell

Related posts about shell-scripting