User Tools

Site Tools


opus:fall2012:csimon1:part1

Part 1

Entries

Entry 1: September 28, 2012

While doing the puzzlebox project I came up with the question, is there a type of file that the command file can't recognize?

Entry 2: August Day, 2012

Today was also the day that the class realized that, it was in fact the last Friday of September that we had class. I believe that everyone in the class had their minds blown at this fact, and I believe I may have died a little inside. I will never get to experience another September Friday in this class again.

Entry 3: September 30, 2012

I'm not going to lie, this post is only a post to be a post. I'm probably not going to get graded positively for this post, but oh well. Instead, I will put an ASCII art of Mickey mouse from Chris.com.

                          _____
                      .d88888888bo.
                    .d8888888888888b.
                    8888888888888888b
                    888888888888888888
                    888888888888888888
                     Y8888888888888888
               ,od888888888888888888P
            .'`Y8P'```'Y8888888888P'
          .'_   `  _     'Y88888888b
         /  _`    _ `      Y88888888b   ____
      _  | /  \  /  \      8888888888.d888888b.
     d8b | | /|  | /|      8888888888d8888888888b
    8888_\ \_|/  \_|/      d888888888888888888888b
    .Y8P  `'-.            d88888888888888888888888
   /          `          `      `Y8888888888888888
   |                        __    888888888888888P
    \                       / `   dPY8888888888P'
     '._                  .'     .'  `Y888888P`
        `"'-.,__    ___.-'    .-'
       jgs  `-._````  __..--'`
                       
                        

Entry 4: September, 30, 2012

Today was a wake up call for me. I realized how stupid I was for not doing my Opus entries earlier and I need to get my act together and start doing them in a timely manner from now on.

Keywords

unix Keyword 1

Identification of chosen keyword.

Definition

Definition (in your own words) of the chosen keyword.

References

List any sites, books, or sources utilized when researching information on this topic. (Remove any filler text).

  • Reference 1
  • Reference 2
  • Reference 3

unix Keyword 1 Phase 2

Identification of chosen keyword: Current working directory

Definition

Definition (in your own words) of the chosen keyword:

THE WORD(S) OF THE DAY IS(ARE): CURRENT WORKING DIRECTORY. *Note: If you haven't read Unix for the Beginning Mage yet, some of the terminology might seem odd.

COMMENCE

The current working directory refers to the absolute path of where you are “standing”. To find out where, exactly, you are standing, type “pwd” into the terminal. You should get an output; if you don't, I'm sorry. This output will change as you change your position in the file system. The prompt will also change as you move around. To illustrate a few concepts, I have made a directory in my home directory called “cwd” (current working directory) and a few directories therein.

lab46:~$ mkdir cwd
lab46:~$ cd cwd
lab46:~/cwd$ mkdir file
lab46:~/cwd$ cd file
lab46:~/cwd/file$ mkdir music
lab46:~/cwd/file$ cd music
lab46:~/cwd/file/music$ pwd
/home/dsherbur/cwd/file/music

In the prompt, lab46 refers to the system's name (as far as this entry is concerned). Then there is a colon (:), and, if you are standing in or past your home, there is a tilde (~). The prompt can help you identify your current working directory without having to type pwd. The tilde refers to the path of your home directory, which is usually /home/username. Everything after the tilde and between the dollar sign is your current directory. If you are not in the home directory, or you are in a directory contained within the home directory, the prompt will not have a tilde in it.

lab46:~$ cd /
lab46:/$ pwd
/

I changed directories from my home directory to the root directory. The prompt no longer uses a tilde because root is not part of home, but rather home is a part of root.

References

List any sites, books, or sources utilized when researching information on this topic. (Remove any filler text).

  • Reference 1: Play

Demonstration

Demonstration of the indicated keyword.

If you wish to aid your definition with a code sample, you can do so by using a wiki code block, an example follows:

/*
 * Sample code block
 */
#include <stdio.h>
 
int main()
{
    return(0);
}

Alternatively (or additionally), if you want to demonstrate something on the command-line, you can do so as follows:

lab46:~$ cd src
lab46:~/src$ gcc -o hello hello.c
lab46:~/src$ ./hello
Hello, World!
lab46:~/src$ 

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.

opus/fall2012/csimon1/part1.txt · Last modified: 2012/10/01 01:47 by csimon1