# Read: 02 - The Coder's Computer

## Answers

1. What are four important features to look for in a text editor?

- code completion
- syntax highlighting
- a nice variety of themes
- the ability to choose from a healthy selection of extensions available when you need them

2. What do the following commands do?

- pwd - stands for print working directory. It prints the complete path of the current working directory.
- ls - lists all files in the current directory except for hidden files.
- cd - stands for change directory. Does what it says on the tin.
- mkdir - creates directories.
- touch - creates a file with a specified name (by typing that name in quotes after the command) in the current directory

3. Can you explain what is happening in the following scenario if these commands and arguments are entered into the command line? (Arguments are extra instructions given to a command.)

- cd projects - changes directory to a directory called projects.
- mkdir new-project - will create a new directory called 'new-project'
- touch new-project/newfile.md - will create a new file called 'newfile.md' in the new-project directory
- cd .. - will go back up a level in the directory tree
- ls projects/new-project - will list all the files in the projects/new-project directory
