Table of Contents

Daniel's spring2016 Opus

Unix/Linux

Introduction

My name is Daniel, as can be implied by the title. I am going to graduate this spring. I am from a family of ten children, being the third oldest. I was home schooled from first grade through high school.

UNIX/Linux Fundamentals Journal

MONTH Day, YEAR

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?

January 22, 2016

I have started a screen session, started on this blog, and read the mage book. Additionally, I joined the mailing list for this course.

January 25, 2016

The Harley Hahn's Guide to Unix and Linux is a rather long read. I may need to go back to the book the first few times I use each command. The UNIX for the Beginning Mage book was interesting, but will also be referenced later. The Learning the UNIX Operating System, 5th Edition book has not been read yet. The first project is done, although I am still working on the labs. I do not see the unix folder next to my data folder, or anywhere else, for that matter. I will talk to Matt tomorrow, or this afternoon, if he is still there.

January 27, 2016

Project uxi0 is done, and project arc0 is pretty much done as well. The labs are coming along nicely.

January 28, 2016

I used the ~ (tilde) character today. I found a directory that I could access remotely, changed it to my working directory, and looked around in there.

January 29, 2016

I am finished with project arc0. The commands used will have to be reviewed next time I have to use them, however.

February 1, 2016

This is for project pbx0. The file.txt file appears to be a simple ASCII file. The text inside seems to confirm the fact. It is just plain text, and says “This is a simple text file. It contains ASCII text.” After compressing with gzip using the default compression, file says “gzip compressed data, was “file.txt”, last modified: Mon Feb 1 16:47:32 2016, from Unix”. After decompressing, file says “gzip compressed data, was “file.txt”, last modified: Mon Feb 1 16:47:32 2016, max speed, from Unix”.

February 3, 2016

I am working on pbx0. I found riddle.html and copied it to my home directory. I then changed its name to riddle.gz and unzipped it. I found a file inside called making.waves, which was a uuencoded ASCII text. I decoded it and found a file called leaf_on_the_wind.wav, which was a zip file. Inside was a file called dinosaurs_with_hats.mp4, from which I extracted a file I called result. I decoded the file and the decoded message was put in a file called results. I then did what the instructions said.

February 9, 2016

I have started on pbx1. I am using unzip on pbx1.zip, and getting the text inside of README, a prompt for enigmatic.file, the text inside of octal2ascii.c, and a prompt for a password for part1. I do not know that password. When file is run on enigmatic.file, it says it is uuencoded. I tried running uudecode on enigmatic.file, and a file called stage2. Whats wrong, is that stage2 has no read, write, or execute privileges with anyone.

February 10, 2016

I finally realized that the octal code 000 in enigmatic.file was the problem with stage2. I changed it to 644, which gave user read and write permissions, and others read permissions on stage2. Stage2 is a hexadecimal file. I tried to write a program for extracting the message, but kept coming up empty. I finally used the command “xxd -r -p stage2 returned.txt” on the file stage2 from enigmatic.file, and sending the result to returned.txt. The message was clear, I followed it, but the password I put in first was wrong, since I left out the space at the end.

February 22, 2016

I have been on break since February 16, 2016, so there is not much to tell about the past week. Over break, my goats kidded. Three bucks and a doe.

February 23, 2016

I have started on the wpa0 project. I am thinking I will do a deciphering game. The homepage is done, and the map is started. The Revolutionary War part is done, as far as I am concerned, and the Civil War part is coming along.

February 24, 2016

I have only done a little with the WWI section of the game, since I was studying for some tests tomorrow.

February 25, 2016

WWI is kind of difficult, since I do not know whether to put it in German, and in code, or in English in code. I have it in German right now.

February 26, 2016

WWI is probably done now. I put the message in English, and encoded it. WWII is coming along. I only have two pages done for it, though. WWII is going to be the main part of my game.

February 29, 2016

I did not do much for the project over the weekend. I have made a story, and done a considerable portion of the game.

March 1, 2016

My game is almost done now. I just have to finish up a few things.

March 2, 2016

I have finished the game and submitted it. After that, I took a peek at the next project, cus0, and started on it. I have figured out how to change .hgrc.

March 3, 2016

I have looked at cus0 a bit more, and I have figured out how to change .hgrc.

March 7 2016

I have now made changes to .Xsession, .bashrc, and .viminfo

March 8, 2016

I made some customization changes to .bashrc which allowed me to run programs at start-up and personalize the welcome page.

March 9, 2016

I submitted the cus0 project, and got started on the udr0 project. It is slightly confusing right now. I realized that part of the memdump.ram data file is a uuencoded file, so I took that out, and decoded it. It turned out to be a data file.

March 10, 2016

Still trying to figure out udr0.

March 11, 2016

So I finally found out that the dectohex.c file can be used by changing a few lines and compiling several times to create hextodec and octodec. These can be used to find the numbers given. After that, I was able to find the various parts of the puzzle.

March 14, 2016

I finally found the right way and stages to combine the parts.

March 15, 2016

Getting started on udr1. Got right ahead and obtained the file. However, I did get confused soon.

March 16, 2016

I found out how to get the four parts out of the disk.image. However, I am hung up on how to put files into F:

March 18, 2016

Found out that the mcopy is useful for moving files. Cannot figure out how to put part 4 (F:) back into disk.image.

March 21, 2016

Holy Week I learned that the way I was trying to stick part 4 back in disk.image was not correct. I just needed to use dd with conv=notrunc.

March 22, 2016

I am starting udr2 now. This is slightly more difficult than udr1. I am still figuring it out. More later

March 23, 2016

I had to ask Mr. Haas about the project, and have now started on it. The first half seems easy.

March 25, 2016

Well, easy-ish. I have gotten in a roll, and have done quite a bit.

March 31, 2016

I have almost finished udr2, I can finish it this week and next.

April 6, 2016

I forgot about the second half of udr2. I will most likely not have it finished in time.

April 8, 2016

I finished upr0 now, after having found a way to hack it and not wait the two hours. I wonder if that was part of the test.

April 14, 2016

I have started on the next project. This is pretty straight-forward, although I have barely written any shell script before. I am trying to finish before this weekend.

April 15, 2016

Well. I will not be finished before this weekend, although I am rather far into it.

April 18, 2016

After a weekend of thinking, I have started again on the gfo0 project. I have finished the project component, but messed up the other two sections.

April 19, 2016

I have been working on gfo0, but am no closer to finishing.

April 20, 2016

I finally realized that for the Journal component, I just needed the outputs of the commands cat thing | grep 1:opus | wc -l, and cat thing | grep :opus | wc -l.

April 21, 2016

I am starting on the eoce. first part, huh?

April 22, 2016

I have unraveled the first part of the puzzle-box, still trying to figure out the rest of it.

April 25, 2016

I started on the next part, leaving the puzzle-box for later.

April 26, 2016

The next part is the palindrome. I did the first way, and I am trying to figure out a completely different way to do it.

April 27, 2016

I figured out another way to check for a palindrome. I am now going to start on the pom project.

April 28, 2016

Pom is giving me trouble. I figured out how to find the next full moon. I am having trouble finding how far to skip after the first full moon.

April 29, 2016

I finally realized that the I can make a loop to skip through 27 days. This gave me a day cushion to make sure I did not over-step the next full moon.

May 2, 2016

The counter, apparently cannot use bc. I will have to make counters for binary, octal, and hexadecimal. The counters were really rather easy.

May 3, 2016

The last two parts, except for the in person knowledge assessment should be easy, aside from needing to think a bit.

May 4, 2016

The pom thing apparently does not work for single digit days. I had to fix a few things to make sure it would work for any day numbers.

Portfolio

data