CS-I Journal J1002: Shell

Name: Anish Choudhury

Date: 28-Aug-2022

I received assistance from: Mrs. Jang

I assisted: NO ONE

Section 1

Question 1: Name at least two other services that you personally use which are implemented using a Client/Server Model

Discord and Youtube

Section 2

Question 1: Do you think the ability to have two different users create a directory of the same name is important? Why?

Yes, I think it is important because having two users using one directory would be chaos. One would be changing the other person's code and the other person wouldn’t know.

Section 3

Question 1: Why do you think the ime directory has a special symbol to represent it?

I think that the home directory is the most important directory because it is the 'home' for all the other directories.

Section 4

Question 1: Did the prompt change? If so, how? Why is this useful?

The prompt changed. It added 'Merlin' to my directory response. This is useful because know I can know where I am in the humongous directory.

Section 5

Question 1: What happens each time when you press the up arrow?

When I press the up arrow, it repeats the last command I typed.

Question 2: What happens each time when you press the down arrow?

When I press the down arrow, it removes the command that came from the up arrow.

Section 6

Question 1: Was "Hello, World!" printed to the screen before? If not, why not? What do you think happened to the text?

I think the “Hello, World” was redirected to another location named out.txt

Section 7

Question 1: How does the ls command differ from the tree command?

The tree command shows us a digram to where we are meanwhile, the ls command just shows what directory you're in.

Question 2: How do you choose to use one over the other?

Tree if you are genuinely confused about where you are meanwhile, ls to quickly remember where you are.

Section 8

Question 1: What do you think the argument to sleep specifies?

The argument is the number of seconds your second line goes blank.

Question 2: Are you able to prove your hypthesis? How?

Yes, I am able to prove my hypothesis by actually experimenting with the shell.

Section 9

Question 1: How is the behavior different from what you expected?

This is different to what I expected because it’s running in the background.

Question 2: What do you think it means to run a job in the background?

I am not sure yet but, I will continue to experiment.

Question 3: What do you think the number displayed in brackets specifies?

I also don’t know about this one. I need to figure it out.

Section 10

Question 1: What do you observe as you execute the jobs command

It shows the jobs running in the background.

Question 2: How do you explain your observations?

For example, [2]- Done Sleep 60

What did I learn? What is the "big idea"?

I learned how to navigate through the shell.

What challenges did I encounter?

I encountered challlenges when I tried Section 7

How could this experience be improved?

This experience could be improved by studying

Free Reflection: How has what I've learned affected my thinking?

I now realize that you need to study to succeed.