Answered step by step
Verified Expert Solution
Question
1 Approved Answer
General Instructions: How to Submit Your Work You must submit your assignment answers electronically: Change into your subversion directory on bluenose: cd /csci2132/svn/CSID Create a
General Instructions: How to Submit Your Work You must submit your assignment answers electronically: Change into your subversion directory on bluenose: cd /csci2132/svn/CSID Create a directory to hold your assignment answers: mkdir al Change into your assignment directory: cd a1 Create files inside the al directory as instructed in the questions below and put them under Subversion control using svn add . Only add the files you are asked to add! Once you are done answering all questions in the assignment (or the ones that you are able to answer-hopefully all), the contents of your a1 directory should look something like this: alql.txt a1q2.log a1q3.log Submit your work using svn commit -m"Submit Assignment 1" (Q1) Theory: File permissions, special characters, programs, and processes (8 marks) Answer each of the following questions. Collect your answers in a plain text file a1q1.txt and put this file under Subversion control using svn add alq1.txt. The answer to each part of this question should be marked with the part it belongs to, like this alq1.txt (a) A fox has a red fur and sharp teeth (b) It said to install Windows 7 or better, so I installed Linux. (a) User joe is the member of a development team joesteam of the company UnixGurus Inc. All members of Joe's team are members of the user group joesteam. As part of his team's project NewSpiffyApp, Joe creates a source file clever_hack.c in the directory NewSpiffyApp. Joe wants to make sure that everybody in his group, including Joe himself, can see the contents of the file clever_hack.c, while only Joe should be allowed to modify the file and people not in Joe's team should have no access to the file whatsoever. Similarly, everybody on Joe's team, including Joe, should be able to see the files in NewSpiffyApp, but people not on Joe's team should have no access to the directory whatsoever. Only Joe should be able to modify the contenst of the NewSpiffyApp directory. What are the permissions Joe needs to set for the file clever_hack.c and for the directory NewSpiffyApp. Express them both in symbolic form (us. . . , g- ,o-. . .) and in octal form (e.g., 533). What command does Joe use to change the permissions of clever_hack.c and NewSpiffyApp? What command does Joe use to check the new permissions of clever_hack.c and NewSpiffyApp? (b) You accidentally wrote a program that has an endless loop in it and you started to run it. What key combination can you press to terminate this program and return to the shell prompt? The program littered your screen with lots of nonsensical output. You would like to remove this distracting output from your screen. What key combination do you press to clear your screen? (c) Explain the difference between a program and a process
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started