Learn Command Line


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are asking about.>
https://www.codecademy.com/courses/learn-the-command-line/lessons/navigation/exercises/pwd?action=lesson_resume

<Below this line, describe in what way does your code behave incorrectly? Include ALL error messages.>

Error message:

bash: home/ccuser/workspace/blog: No such file or directory

How do I list all files and directories in the working directory?

<Below this line, add a screenshot of your whole web browser so that we can see what you see.>


#2

os.listdir() looks like python syntax, why not simply use the list program which we can use with ls command?


#3

I see what you mean. Thank you!


#4