======Part 2====== =====Entries===== ====Entry 5: March 2nd, 2012==== Today I tried my first time doing scripting. I liked doing the scripting a lot and I believe it strengthened my decision in learning more in the programming field. At first i did have trouble starting with the logic and syntax that needed to be used to have the scripting work, but once I got used to it it was fairly easy. ====Entry 6: March 9th, 2012==== Today I learned how to make a bot. I really liked the bot in several irc's that i've been in before by their interaction knowing it was just me talking to a computer. After figuring out how to download the phenny file to PuTTY and not my computer I felt comfortable using some scripting to give the bot more functionality. ====Entry 7: March 16th, 2012==== Today I attempted to use the command "find" I had a lot of trouble using this command because i forgot about the STDERR (2>) and the path "/dev/null". after wedge mentioned to me that it should help get rid of the errors from the output of "find" the command was very easy to use. This command along with grep work very nicely in finding files and words in those files. ====Entry 8: March 23rd, 2012==== Today in Unix Fundamentals I learned how to construct a website from using the PuTTY public.html directory. This interested me a lot in web design because I've always liked tinkering with websites even in my years at the Boces camput in Hornell. Maybe is programming isn't the thing for me I may take a direction in web design. =====Keywords===== {{page>unixpart2&nofooter}} =====Experiments===== ====Experiment 4==== ===Question=== Can I run more then 1 command at a time? ===Resources=== None ===Hypothesis=== I believe I should be able to run more than one command through the use of ";" ===Experiment=== I am going to show what is in the current home directory, make a file, show the file made in the home directory, then remove the directory all at the same time, without using a script. ===Data=== lab46:~$ ls;touch file;ls;rm file;ls Maildir devel messaround phenny public_html scripts compat labwork multifile phenny.tar.bz2 restart.sh src Maildir devel labwork multifile phenny.tar.bz2 restart.sh src compat file messaround phenny public_html scripts rm: remove regular empty file `file'? yes Maildir devel messaround phenny public_html scripts compat labwork multifile phenny.tar.bz2 restart.sh src lab46:~$ ===Analysis=== My hypothesis was correct and my hypothesis was applicable. There isn't more than I originally thought. ===Conclusions=== I discovered that if a user wants to run more than one command at a time, the use of ";" is needed to accomplish such task. ====Experiment 5==== ===Question=== Can I access any other users home directory? And if not can I change those permissions? ===Resources=== None ===Hypothesis=== I believe I won't be able to access any other users home directory because I am not the system administrator or the creator of that directory. Files that I don't have access to I won't have the permission to change the permissions. ===Experiment=== I am going to use a random student's directory, besides my own, and see if i can access it through using the "cd" command. If I can not I will try to change that students permissions to 755 using "chmod" ===Data=== lab46:/home$ cd mmatt -bash: cd: mmatt: Permission denied lab46:/home$ chmod -c 755 mmatt chmod: changing permissions of `mmatt': Operation not permitted lab46:/home$ ===Analysis=== My hypothesis was correct and applicable. ===Conclusions=== What I found out from the experiment is that because I do not have rights to open the directory I don't have rights to change my rights/permissions that doesn't belong to me using chmod. ====Retest 2==== Perform the following steps: ===State Experiment=== Whose existing experiment are you going to retest? Provide the URL, note the author, and restate their question. ===Resources=== Evaluate their resources and commentary. Answer the following questions: * Do you feel the given resources are adequate in providing sufficient background information? * Are there additional resources you've found that you can add to the resources list? * Does the original experimenter appear to have obtained a necessary fundamental understanding of the concepts leading up to their stated experiment? * If you find a deviation in opinion, state why you think this might exist. ===Hypothesis=== State their experiment's hypothesis. Answer the following questions: * Do you feel their hypothesis is adequate in capturing the essence of what they're trying to discover? * What improvements could you make to their hypothesis, if any? ===Experiment=== Follow the steps given to recreate the original experiment. Answer the following questions: * Are the instructions correct in successfully achieving the results? * Is there room for improvement in the experiment instructions/description? What suggestions would you make? * Would you make any alterations to the structure of the experiment to yield better results? What, and why? ===Data=== Publish the data you have gained from your performing of the experiment here. ===Analysis=== Answer the following: * Does the data seem in-line with the published data from the original author? * Can you explain any deviations? * How about any sources of error? * Is the stated hypothesis adequate? ===Conclusions=== Answer the following: * What conclusions can you make based on performing the experiment? * Do you feel the experiment was adequate in obtaining a further understanding of a concept? * Does the original author appear to have gotten some value out of performing the experiment? * Any suggestions or observations that could improve this particular process (in general, or specifically you, or specifically for the original author).