Class 02 Reading Assignment
What are four important features to look for in a text editor?
- Code completion which will display possible suggestions based on what you are currently typing.
- Syntax highlighting which will colorize your text based on attributes.
- A nice variety of themes which will allow you to change the overall color of the text editor. (Instead of the text, this effects the background of the editor)
- Variety of extensions which act as plugins for your text editor, allowing different capabilities and tools.
What do the following commands do?
- pwd “Print Working Directory”- displays which directory(folder) you are currently in
- ls “List”- Lists the contents of the current directory
- cd “Change Directory”- Changes the current directory to whatever you specify
- mkdir “Make Directory” - Makes a new directory inside the folder you’re currently in
- touch - Makes a new file inside the folder you’re currently in
Can you explain what is happening in the following scenario if these commands and arguments are entered into the command line?
- cd projects Changes current directory to the projects folder
- mkdir new-project Makes a new directory called new-project (In the projects folder)
- touch new-project/newfile.md Makes a new markdown file called newfile (In the new-project folder)
- cd.. Goes back to the cd projects directory
- ls projects/new-project Lists the content of the new-project folder which should be newfile.md