Rewrite the journal script of Chapter 9 (exercise 5, page 416) by adding commands to verify that the user has write permission for a file named journal-file in the user’s home directory, if such a file exists. The script should take appropriate actions if journal-file exists and the user does not have write permission to the file. Verify that the modified script works.

What will be an ideal response?


Computer Science & Information Technology

You might also like to view...

The SQL AS clause includes the Name of the table(s) from which the information is retrieved

Indicate whether the statement is true or false

Computer Science & Information Technology

A ________ is a chart that displays comparisons among related numbers

A) pie chart B) line chart C) scatter chart D) column chart

Computer Science & Information Technology

Windows _____ is a Microsoft closed source operating system

Fill in the blank(s) with correct word

Computer Science & Information Technology

The incidence of multiple sites appearing in a web browser in just a few seconds as the result of clicking on a single link is a phenomenon called __________________

a. Recalcitrance b. A popup bomb c. A rootkit d. A URL harvest

Computer Science & Information Technology