I found
ls / > output.txt
creates output.txt
which contains names of folders inside rootfs.
But I can't understand what does ls / >
exactly mean.
I know command ls
is used to list all files in the location but what does ls / >
do?
I did man ls
to read definition of ls / >
but I couldn't find that there.