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

64. The file assign4.html has permissions set as r w x r w x r w x. This means t

ID: 3663845 • Letter: 6

Question

64. The file assign4.html has permissions set as    r w x r w x r w x. This means that:

a. The file is really a directory and was named incorrectly.

b. It is impossible for an html file to have permissions set that way.

c. Everyone can read, write, and execute the file.

d. The file can not be viewed on the WWW.

e. All of the above are true.

65.     Which command is used to create the directory abc in the previous (parent) directory?

a.    mkdir abc

b.   mkdir ./abc

c.    mkdir ../abc

d.    mkdir ././abc

e.   None of the above will work.

70. To rename the file a.html to b.html, which command do you use?

a. cp -i b.html a.html

b. mv -i b.html a.html

c. cp -i a.html b.html

d. rename -i a.html b.html

e. mv -i a.html b.html

Explanation / Answer

64

The correct option is c. All the permissions are given to the file so everyone can read/write and execute the file

65

The correct option is c. mkdir ../abc will create the directory abc in the previous directory.

70

The correct option is e. Move command can be used to rename the file. So after this a.html will become b.html.