Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

NO COPY AND PASTE PLEASE!! 1- Suppose a CIS255 student was experimenting with sh

ID: 664976 • Letter: N

Question

NO COPY AND PASTE PLEASE!!

1- Suppose a CIS255 student was experimenting with shell variables and accidentally deleted his / her PATH variable. The student decided he / she does not need the PATH variable. Discuss at least three (3) of the problems that the student could soon encounter and explain the primary reasons for such problems. Explain how the student could easily return the PATH to its original value.

2- Determine whether or not you would advise students to experiment with system settings. Provide a rationale for your response.

Explanation / Answer

1- For any environment variables are mosr important element.In shell programming path varibale is is just a list of directories.If any variable student deleted shell searches command through these directories in order.

2- If delete shell path variable it will impossible to autmatically run some programs who ruun by scripts.Suppose you want daily reports for inventory make script for that .If deleted path variables scripts not exist on that location.

3- Shell variable are useful for executing the command on the line.These variable pass information to all processes .If variables are not exist then shell doesn't know where to look for commands.

How student could easily return the PATH to its original value.

2- Why student want to change that variable unless you knew what was going to happen. they will not change back on it's own.Any syestem made by different stting and every setting effect on system functionality.There are many functions going on if student experiment with system setting any functionality will not work and system will go down.