{"action":"created","issue":{"url":"https://api.github.com/repos/Marie-ClaireBeaulieu/Marie-ClaireBeaulieu.github.io/issues/5","repository_url":"https://api.github.com/repos/Marie-ClaireBeaulieu/Marie-ClaireBeaulieu.github.io","labels_url":"https://api.github.com/repos/Marie-ClaireBeaulieu/Marie-ClaireBeaulieu.github.io/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/Marie-ClaireBeaulieu/Marie-ClaireBeaulieu.github.io/issues/5/comments","events_url":"https://api.github.com/repos/Marie-ClaireBeaulieu/Marie-ClaireBeaulieu.github.io/issues/5/events","html_url":"https://github.com/Marie-ClaireBeaulieu/Marie-ClaireBeaulieu.github.io/issues/5","id":145264965,"number":5,"title":"Command Line Exercise","user":{"login":"balmas","id":644870,"avatar_url":"https://avatars.githubusercontent.com/u/644870?v=3","gravatar_id":"","url":"https://api.github.com/users/balmas","html_url":"https://github.com/balmas","followers_url":"https://api.github.com/users/balmas/followers","following_url":"https://api.github.com/users/balmas/following{/other_user}","gists_url":"https://api.github.com/users/balmas/gists{/gist_id}","starred_url":"https://api.github.com/users/balmas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balmas/subscriptions","organizations_url":"https://api.github.com/users/balmas/orgs","repos_url":"https://api.github.com/users/balmas/repos","events_url":"https://api.github.com/users/balmas/events{/privacy}","received_events_url":"https://api.github.com/users/balmas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-04-01T19:28:45Z","updated_at":"2016-06-02T18:17:03Z","closed_at":null,"body":"Let's use the Vagrant box that we setup for Nemo and Nautilus for this (https://github.com/Capitains/vagrant-capitains-dev/blob/master/README.md)\r\n\r\nYou need to have a shell session open on the Vagrant box to start the exercises\r\n\r\n( On your windows box, open a command prompt and `CD` to the directory that contains your vagrant-capitains-dev clone. type `vagrant up` and then when it starts successfully, launch Putty and start a session on localhost port 2222 )\r\n\r\nThe following exercises use these linux shell commands:\r\n\r\n`ls` (get a directory listing)\r\n`pwd` (find out your present working directory)\r\n`cd` (change into a directory)\r\n`cat` (view/print the contents of a file)\r\n`rm` (remove a file)\r\n\r\nAnd the following concepts:\r\n\r\n*\"full path\"*\r\n*\"relative path\"*\r\n\r\n(See https://en.wikibooks.org/wiki/Linux_For_Newbies/Command_Line for help)\r\n\r\n1. What directory you are in when you start the ssh session ? (Note this is referred to as your \"home\" directory)\r\n1. What is in that directory? Are they files or other directories?\r\n1. Change into the `/vagrant` directory (this is the directory that contains the run-all.sh file to that starts Nemo and Nautilus) \r\n1. What else is in that directory?\r\n1. Return to your \"home\" directory.  Verify that that it contains 2 directories.\r\n1. Change into the `flask-capitains-nemo` directory  (this is the Nemo source directory)\r\n1. What is the *full path* to this directory?\r\n1. Look at the contents of the directory to find out whether there is a `nemo.log` file there\r\n1. Remove the nemo.log file.\r\n1. Verify that the file is no longer there by listing the contents of the directory.\r\n1. Change back into your home directory.  \r\n1. Change into the Nautilus directory (this is the Nautilus source directory)\r\n1. What is the *full path* to this directory?\r\n1. Look at the contents of the directory to find out whether there is a `nautilus.log` file there\r\n1. Remove the nautilus.log file.\r\n1. Verify that the file is no longer there by listing the contents of the directory.\r\n1. Change back into the `/vagrant` directory that contains the run files for Nemo and Nautilus.  Start Nemo and Nautilus by executing the `run-all.sh` file there using the *relative path* to the file.\r\n1. Change back into the Nemo source directory directly from the `/vagrant` directory by using its *full path*\r\n1. Verify that Nemo started successfully by printing the contents of the `nemo.log` file. What are the contents of this file?\r\n1. Change into the Nautilus source directory by using its *full path*\r\n1. Verify that Nautilus started successfully by printing the contents of the `nautilus.log` file. What are the contents of this file?\r\n1. Stop Nemo and Nautilus by executing the `kill-all.sh` script while you are in the Nautilus directory.\r\n\r\nExtra Credit:\r\n1. The TEI XML files are in /vagrant_data.  Go into to the sub directory of `canonical-greekLit` there that contains the TEI XML file for Homer's *Odyssey* (tlg0012.tlg002). Make a change in the text of book 1 line 1 for the Odyssey and restart Nemo and Nautilus by rerunning the `run-all.sh` script.  Load Nemo in your browser (at http://localhost:8100/) and confirm that your change is loaded.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Marie-ClaireBeaulieu/Marie-ClaireBeaulieu.github.io/issues/comments/223376658","html_url":"https://github.com/Marie-ClaireBeaulieu/Marie-ClaireBeaulieu.github.io/issues/5#issuecomment-223376658","issue_url":"https://api.github.com/repos/Marie-ClaireBeaulieu/Marie-ClaireBeaulieu.github.io/issues/5","id":223376658,"user":{"login":"Marie-ClaireBeaulieu","id":6853606,"avatar_url":"https://avatars.githubusercontent.com/u/6853606?v=3","gravatar_id":"","url":"https://api.github.com/users/Marie-ClaireBeaulieu","html_url":"https://github.com/Marie-ClaireBeaulieu","followers_url":"https://api.github.com/users/Marie-ClaireBeaulieu/followers","following_url":"https://api.github.com/users/Marie-ClaireBeaulieu/following{/other_user}","gists_url":"https://api.github.com/users/Marie-ClaireBeaulieu/gists{/gist_id}","starred_url":"https://api.github.com/users/Marie-ClaireBeaulieu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marie-ClaireBeaulieu/subscriptions","organizations_url":"https://api.github.com/users/Marie-ClaireBeaulieu/orgs","repos_url":"https://api.github.com/users/Marie-ClaireBeaulieu/repos","events_url":"https://api.github.com/users/Marie-ClaireBeaulieu/events{/privacy}","received_events_url":"https://api.github.com/users/Marie-ClaireBeaulieu/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T18:17:03Z","updated_at":"2016-06-02T18:17:03Z","body":"ah sorry, pwd did the trick"}}
{"actor":{"display_login":"Marie-ClaireBeaulieu"}}