Ls -1


#1

Let’s try out another option for the ls command.
Navigate to the comedy/ directory.

I am not sure what to do. Do i put ls -1 comedy/


#2

No. It will throw an error since there cannot be anything following a switch.

ls -l

Notice that this is el ess space minus el.

Type that in and enter it to see what the contents are of your current directory. Do you see comedy in that list? if so, type and enter the following command…

cd comedy

Then you can examine the contents of that directory.

ls -l

#3

Thank you a lot now i see why it wasn’t working forgot about the cd part


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.