I am new to shell scripting
I keyed in the Command
$ ls -l >out.txt
then I see the output
$ vi out.txt
the contents of the file were
total 8
-rw-rw-r-- 1 arun arun 0 May 5 19:55 out.txt
i now do this
$ ls -l
total 12
-rw-rw-r-- 1 arun arun 54 May 5 19:55 out.txt
why is there a discrepancy in the output that i received on the terminal and the output that was saved on the file out.txt?