What's going on here?

$ ls                                                                                                                     
2014  2015  hardware.txt
  1. In the terminal, first you see $. This is called a shell prompt. It appears when the terminal is ready to accept a command.
  2. When you type ls, the command line looks at the folder you are in, and then "lists" the files and folders inside it. The directories 2014, 2015, and the file hardware.txt are the contents of the current directory.

ls is an example of a command, a directive to the computer to perform a specific task.


When using the command line, we refer to folders as directories. Files and directories on your computer are organized into a filesystem.

Click Next to find out how the filesystem works.

Community Forums
Get help and ask questions in the Codecademy Forums
Report a Bug
If you see a bug or any other issue with this page, please report it here.