This was an exercise proposed to us in class' but I didn't get it. What exactly will these commands do?
cd / ls -al > $HOME/outputfile.log
I did try it (in Linux) but (apparently) nothing happened at least that I can see. I understand the commands
-al. I also know what
What I am struggling with is the following part:
As in, what is this supposed to do?
ls -al > outputfile.log first and got permission denied, which I also understand. So what is the difference here?