Preparation

From Coder Merlin
Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder

Preparation[edit]

In this exercise, you'll be generating graphic files by using Octave. To view these files, you'll save them in a special directory called "~www", which must be created in your home directory. To create this directory, follow the below instructions.

Create a directory to be served by the web server. If the directory already exists, no error will occur.

amrit-gupta@codermerlin:~$ mkdir --parents ~/www


Enter the directory.

amrit-gupta@codermerlin:~$ cd ~/www


Set the permissions so that the files can be accessed by the web server. If permission errors are encountered, re-execute this command.

amrit-gupta@codermerlin:~$ chmod -R a+rX ~/www