bash - What does 'echo 0 > foo' mean? -
i know code mean?
echo 0 > foo
completely new unix , bash commands. lots of stuff learn, need quick answer question.
it echoes 0
file named foo
. in other words, redirects output, 0, file named "foo", instead of showing on screen.
from basic wikipedia example on redirection:
command1 > file1
executes command1, placing output in file1, opposed displaying @ terminal, usual destination standard output.
Comments
Post a Comment