Question: I am being asked to code the following. Redirect the output of the ls command to a file named file-list.txt in the ~/workspace/project-log directory I
I am being asked to code the following. Redirect the output of the ls command to a file named file-list.txt in the ~/workspace/project-log directory I code this as echo "$(ls)" > file-list.txt I then get an error message saying 'ls' ~/workspace/content to match file named ~/workspace/project-log/file-list.txt content. What am I doing wrong
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
