What will this unix command do?

what will this command do?
cat file1 > file 2

if cat file exists it will overwrite if not it will create a new one from the contents of file1. Since file and 2 are after >, it should return error such as ‘no such file’.


Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki