The Unix Shell Adventure

Introducing the Shell Adventure

Overview

Teaching: 5 min
Exercises: 0 min
Questions
  • What is a command shell and why would I use one?

Objectives
  • Explain how the shell relates to the keyboard, the screen, the operating system, and users’ programs.

  • Explain when and why command-line interfaces should be used instead of graphical interfaces.

A computer program does three main things:

Today, we’re going to learn about the unix shell. To many, it’s the classic image of older computers. There are no images or icons, just text on a black screen.

Unix Shell Example

The unix shell is just another program. It is used to run other programs. The input it takes is what program to run, and the output it gives is the results of the program. One of the advantages of the shell is that typing the commands is much faster than clicking through various menus (that is once you know the commands).

The Story Begins

You are all digital forensics specialists and have been given a new high profile case. The acclaimed scientist, Richard Gill, has gone missing. You have been tasked with investigating his laptop contents and research files to find any clues that may explain his disappearance.

Police Line Image Source

Details

Dr Gill was last seen leaving for work on the morning of April 2nd. His wife reported him missing after he didn’t come home that night. No activity has been found on his bank accounts since his disappearance.

Who is Richard Gill?

Dr Gill is director of research at Sandford Biotechnologies. After a distinguished research career in academia, he moved into industry and has been leading the drug development team at Sandford. He was known to be working on a project codenamed Gibson. He often works late into the night.

What is Sandford Biotechnologies?

Sandford Biotechnologies is a research company that focuses on developing therapeutics for a variety of human diseases.

What files do we have?

We have his emails, his bank statements and his research files.

Key Points