Reading-Notes

Reading Notes-Class 2

  1. What are four important features to look for in a text editor? Code Completion, syntax highlighting, variety of themes, and a healthy variety of 3rd party options or extensions are available.
  2. What do the following commands do?
    • pwd Print Working Directory, tells you what your current or present working directory is.
    • ls List, this will list what information (html, files, folders etc.) exist within your current directory.
    • cd Change Directory, this changes your working directory.
    • mkdir Make Diretory, this creates a directory for you to create and navigate within.
    • touch is used to create blank files.
  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 This is having us change from our current directory to “projects” directory.
    • mkdir new-project We are creating a new directory labled “new projects”.
    • touch new-project/newfile.md This command allows us to create a filed named “newfile.md” within the directory “new-projects”.
    • cd .. This is changing which directory we are going to, however the “..” indicates that we are going back up the directory hierarchy.
    • ls projects/new-project This is is listing all the files and materials within the “new-project” file/directory.

True or False/ Short Answer Section