CS-I Journal J1002: Shell

Name: Mukesh Kalikaya

Date: 28-Aug-2022

I received assistance from: Mr. Ben-Yaakov

I assisted: No One

Navigation

BACK TO JOURNALS

CSS File

Next Journal

Section 1

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

Two other services that I personally use that are implemend using a Client/Server Model is email, network printing, and the world wide web.

Section 2

Question 1: It appears that both Jack Williams and John Williams can have a directory of the same name. Do you think the ability to have two different users create a directory of the same name is important? Why?

The ability to have two different users create a directory of the same name is not really important unless the instructor needs to look over the directories. It makes life easier for the instructor to grade them. Even if there isn't an instructor grading these, it is still not that important to have two users use the same name for directories.

Section 3

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

The special symbols used to represent the home directory (~) is used to replace the current user's home directory

Section 4

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

The prompt did change. It changed from john-williams@codermerlin:~$ to john-williams@codermerlin:~/Merlin$. This is useful because now you can know which directory you are in and it can help you and make your life easier.

Section 5

Question 1: What happens each time you press the ⬆?

Every single time I press the ⬆, my cursor/pointer moves up one space.

Question 2: What happens each time you press the ⬇?

Every single time I press the ⬇, my cursor/pointer moves down one space.

Section 6

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

The text was put into a seperate file called out.txt as indicated in the command.

Section 7

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

The ls command shows all of the files in the directory you are in. The tree command also does the exact same thing but it shows the files in a more visual way. The tree command also shows sub files such as files inside the directores.

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

If you just want to look at the files quickly in your directory, it is more efficient that you use the ls command. If you want to look at all of the files, then it is more efficient to use the tree command as it also displays files in other directories.

Section 8

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

The sleep argument suspsends any comans from being given for the specified amount of time. There are also commands that allows you to run the job in the background.

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

If you type the command sleep 3, then the Connection String disappears. But if you use the same command but with an ampersand (&) at the end, the Connection String will still be there but the job will the running in the background. If you would like to check if it is actually running, then you can check it by using the jobs command.

Section 9

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

I expected for the Connection String to disappear and also something else to happen due to the ampersand (&) at the end.

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

I think of a background job as a job that runs without affecting the commands that are currently being given. The job can run in the background when there is an another job being done by you.

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

The number that displays in the brackets when you use the jobs command specifies the jobs in order. For example, if you have three jobs running, each of them will display in the order in which you used each command. If you used sleep 60 & first and you used sleep 50 & after sleep 60 &, sleep 60 & will have the number 1 in brackets and sleep 50 & will have the number 2 in brackets because it was ran after the first one and so on.

Section 10

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

As I execute the jobs command, I see all of the background jobs that were executed and also in the order they were executed.

Question 2: How do you explain your observations?

Using the jobs command displays all of the jobs that are currently in process.

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

I learned that CSS is really useful and easy to learn. It can be used to build such amazing websites.

What challenges did I encounter?

I encountered challenges when I started this class. I had no experience in programming and I had no clue what was going on. It was just absolutely confusing and I started panicking. It was hard but I got hang of it as I moved on and got help from Mr. Ben-Yaakov.

How could this experience be improved?

This experience could be improved by learning programming. If I learned programming and got introduced to CSS and HTMl, then my experience would have been a lot smoother and a lot easier.

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

I now realize that I can do a lot more now that I have learned the basics of CSS and HTML. I could quickly solve some problems when I am stuck and I can also look for accurate reference materials when I am stuck.