Write a program that moves a group of ordinary files to a


Problem

1. Write a program that moves a group of ordinary files to a directory. The filenames are provided as arguments, and the last argument is a directory. Provide adequate checks to ensure that the files exist as ordinary files and the directory is created if it doesn't exist.

2. Write a program that does the following:

(i) creates a file foo with permissions 644,

(ii) assigns write permission to the group,

(iii) removes the read permission from others. Look up the system library function, and use it to display the listing at each stage.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a program that moves a group of ordinary files to a
Reference No:- TGS02672072

Expected delivery within 24 Hours