======Part 2====== =====Entries===== ====Entry 1: October 10th, 2012==== Today we learned a shortcut in Lab46, begin typing file or directory and press tab and it will appear. Learned AND, OR are binary functions and NOT is a unary function. Also learned a little on regular expressions. ====Entry 2: October 12th, 2012==== Learned a little about C programming, programming paradigms: Paradigm includes structured; Functional; Logical; object - oriented. Discussed Source code portable and Binary Portability Source code --- syntax checking,syntax evaluation, pre-processor --- compile/interpret --- assembly --- assembler --- linker --- binary ====Entry 3: October 17, 2012==== We talked about processes (programs in action) ps - process status top - show currently active processes pid - process id We talked about signals, and killed many cats in various odd yet specific ways. We used: kill-1 kill-2 kill-3 kill-4 kill-7 ====Entry 4: October 19th, 2012==== Played with grep, sed, and cut ps aux | grep irssi | wc -l -counts how many irrssi ps aux | grep irssi | grep -v grep | wc -l -counts how many irssi with out grep in it ps aux | grep irrssi | grep -v grep | sed 's/ */ /g' - removes all spaces ps aux | grep irrssi | grep -v grep | sed 's/ */ /g' | cut -d' ' -f1,5 -cuts out lines except 1 and 5 =====Keywords===== {{page>unixpart2&nofooter}} =====Experiment 2===== ====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.