======Part 1====== =====Entries===== ====Entry 1: September 7, 2012==== Just added this class, so I'm a little behind, but here goes! In class today we covered the rest of the directories and began looking at Vi (pronounced "vee eye"). My number one complaint thus far is that I cannot stand the directional keys being hjkl. I could understand wasd, but no...I must now retrain my brain. I think this is a sign of things to come with Vi... ====Entry 2: September 12, 2012==== A bit more practice with Vi today! Here's a quick summary of some of the commands we learned along with what they do: 1G - goes tot he 1st line of an entire file, any number can be substituted for 1 to go to that specific line. $G will take you to the last line of the entire file. U - Undo O - Inserts a new line above your current line o - inserts a new line below your current line W - like w, but skips over punctuation I - inserts at the beginning of the current line A - inserts at the end of the current line a - inserts at the current location X - works as backspace x - deletes the current character. This can be prefaced with a number as well dw - delete character forward dW - delete word forward db/dB - delete character back, delete word back dd - deletes an entire line (cuts it) p - pastes below P - pastes above cw/cb/cW/cB - changes characters/words fowards and back yy - copies an entire line into a buffer (yw, yb) ~ - capitalizes lower case characters, and changes capital to lower case s - substitute: deletes and goes into insert mode . - will repeat the last used command, but it must be a modification command! /{letter/word} - searches for a letter or word n/N - n will give you the next match, N will give you the previous match. These can be used with numbers as well. pressing the shift key and : will enter you into extended command mode here you can m = move or co = copy :w will save a file to its current name :w filename will save the file to a desired filename :q will exit :q! will exit without saving :wq will save and quit Right now, I think that remembering all of these commands is a bit difficult. However, with some practice I think it will start to sink in more. ====Entry 3: September 14, 2012==== We went over quite a bit today. Some of the things I still feel a bit shaky on are data streams and I/O redirection, but that just means I need to practice more (I'm sensing a theme in this class regarding practice). We were introduced to touch file, echo, cat file, here strings, and pipes (|). We also learned about grep, which means globally search for a regular expression and print. This searches for a pattern and then displays any matches. The example we used in class was /usr/bin/who | grep $USER ($ is a variable expansion operator). This showed us our login sessions. * What action or concept of significance, as related to the course, did you experience on this date? * Why was this significant? * What concepts are you dealing with that may not make perfect sense? * What challenges are you facing with respect to the course? Remember that 4 is just the minimum number of entries. Feel free to have more. ====Entry 4: September Day, 2012==== This is a sample format for a dated entry. Please substitute the actual date for "Month Day, Year", and duplicate the level 4 heading to make additional entries. As an aid, feel free to use the following questions to help you generate content for your entries: * What action or concept of significance, as related to the course, did you experience on this date? * Why was this significant? * What concepts are you dealing with that may not make perfect sense? * What challenges are you facing with respect to the course? Remember that 4 is just the minimum number of entries. Feel free to have more. =====Keywords===== {{page>unixpart1&nofooter}} =====Experiment 1===== ====Question==== What is the question you'd like to pose for experimentation? State it here. ====Resources==== Collect information and resources (such as URLs of web resources), and comment on knowledge obtained that you think will provide useful background information to aid in performing the experiment. ====Hypothesis==== Based on what you've read with respect to your original posed question, what do you think will be the result of your experiment (ie an educated guess based on the facts known). This is done before actually performing the experiment. State your rationale. ====Experiment==== How are you going to test your hypothesis? What is the structure of your experiment? ====Data==== Perform your experiment, and collect/document the results here. ====Analysis==== Based on the data collected: * Was your hypothesis correct? * Was your hypothesis not applicable? * Is there more going on than you originally thought? (shortcomings in hypothesis) * What shortcomings might there be in your experiment? * What shortcomings might there be in your data? ====Conclusions==== What can you ascertain based on the experiment performed and data collected? Document your findings here; make a statement as to any discoveries you've made.