User Tools

Site Tools


Sidebar

projects

ntr0 (due 20210203)
pct1 (bonus; due 20210203)
wcp1 (due 20210203)
ngf0 (due 20210210)
pct2 (due 20210210)
wcp2 (due 20210210)
adm0 (due 20210217)
pct3 (bonus; due 20210217)
wcp3 (due 20210217)
ngf1 (due 20210224)
pct4 (bonus; due 20210224)
wcp4 (due 20210224)
pbx0 (due 20210303)
pct5 (bonus; due 20210303)
wcp5 (due 20210303)
ngf2 (due 20210310)
gfo0 (due 20210310)
pct6 (due 20210310)
wcp6 (due 20210310)
pbx1 (due 20210317)
pct7 (bonus; due 20210317)
wcp7 (due 20210317)
ngf3 (due 20210324)
pct8 (due 20210324)
wcp8 (due 20210324)
pbx2 (due 20210331)
gfo1 (due 20210331)
pct9 (bonus; due 20210331)
wcp9 (due 20210331)
ngf4 (due 20210407)
pctA (due 20210407)
wcpA (due 20210407)
ldg0 (due 20210414)
pctB (bonus; due 20210414)
wcpB (due 20210414)
ngf5 (due 20210421)
pctC (due 20210421)
wcpC (due 20210421)
gfo2 (due 20210428)
pctD (bonus; due 20210428)
wcpD (bonus; due 20210428)
pctE (bonus; due 20210505)
wcpE (bonus; due 20210505)
EoCE (due 20210512)
haas:spring2021:unix:projects:pbx2

Corning Community College

CSCS1730 UNIX/Linux Fundamentals

Project: ANOTHER PUZZLEBOX (pbx2)

Errata

  • any bugfixes or project updates will be posted here

Objective

To continue to cultivate your problem solving skills, and to demonstrate your basic scripting skills for task automation.

Commentary

We're now onto our third glorious puzzlebox of the semester; each one commanding the respect of more and more of your observational, critical thinking, and abstraction skills.

Be sure you stop and reflect upon the particular actions you go through, as well as realizations you have while accomplishing the puzzle: it is insights like these that lead to explosive growth in your abilities.

I've gotten a few more questions directed my way. Still perhaps a bit on the timid side. Please: I love questions- the more you ask and explore and realize, the happier that makes me. Even if you think it is an obvious or stupid question. What's the worst that can happen? I don't reply? Seriously- don't struggle thinking you have to figure it out on your own. I mean, you are to do all your own work, but please include asking questions in the discord as baseline aspects of helping you to figure this stuff out.

NOT doing that is actually quite limiting for your progress.

Obtain the file

This week's project is located in the pbx2/ sub-directory of the UNIX Public Directory, under a directory by the name of your username.

Make a copy into your home directory somewhere and set to work.

NOTE: Hopefully it has been standard practice to locate project files in their own unique subdirectory, such as under ~/src/SEMESTER/unix/, where you can then add/commit/push the results to your repository (you ARE regularly putting stuff in your repository, aren't you?)

Process

As with the first puzzle box, you are on your own. Use your skills, your observations, and your experiences gained to unravel this new puzzle.

Be observant, explore ideas, read about and learn how to use various tools (both familiar, but in potentially new/different ways, as well as entirely new tools).

Your pbx2steps file is expected to be an operational script that will fully automate the project (from initial copy/creation of local project data directories right up until, but not including, the final submit line).

As such, you are expected to make use of various shell features, such as:

  • absolute, relative paths
  • wildcards
  • variables
  • I/O redirection
  • any applicable pipes
  • comments

These features will also serve to simplify your script, allowing it to be cleaner and less error-prone.

Verification

The final file, when correctly unscrambled and assembled, can be verified by generating its sha384sum hash.

This hash should match the hash stored inside the MANIFEST file located in the project directory (in the public directory).

Submission

In addition to the file produced during the completion of this project, I would also like for you to create a detailed step-by-step text file called pbx2steps which includes the valid command-lines that will document for me the steps you took from project commencement through completion. You will submit this file at the end in accordance with the instructions.

When you have a file with a visually consistent, possibly familiar visage made up of ASCII art, you have reached the conclusion of the unraveling (provided it jives with the hash in MANIFEST).

To submit this program to me using the submit tool, run the following command at your lab46 prompt:

$ submit unix pbx2 pbx2.results pbx2steps
Submitting unix project "pbx2":
    -> pbx2.results(OK)
    -> pbx2steps(OK)

SUCCESSFULLY SUBMITTED

You should get some sort of confirmation indicating successful submission if all went according to plan. If not, check for typos and or locational mismatches.

I'll be evaluating the project based on the following criteria:

65:pbx2:final tally of results (65/65)
*:pbx2:pbx2steps contains, generates no errors [11/11]
*:pbx2:pbx2steps successfully unravels the given puzzlebox file [11/11]
*:pbx2:pbx2steps automates solving in non-interactive fashion [11/11]
*:pbx2:project updates committed/pushed to lab46 semester repo [11/11]
*:pbx2:project is submitted with viable pbx2steps and pbx2.results [10/10]
*:pbx2:pbx2.results matches with hash [11/11]
haas/spring2021/unix/projects/pbx2.txt · Last modified: 2021/03/14 20:53 by wedge