You may also create new empty files by saying `touch filename`. This saves three keystrokes (which includes an annoying `>` symbol, requiring the shift key) as compared to the aforementioned `cat` method!
>foo
also works to create file "foo". :>foo
(the happy file creation operator) does.Also ":>" is not an operator, it's ":" (a built-in command that does nothing and returns true) and a redirection.
echo -n > file