The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 04-20-2008
ace_face ace_face is offline
Registered User
 

Join Date: Apr 2008
Posts: 1
Unhappy noob help needed

i'm having trouble putting together a program any help would be much appreciated!

Write a Shell Program to automate the process of collecting assignments from the directories of students of any specified class.

The person running the program should be able to pass a parameter to the program specifying the group name of the class for which he/she wants to collect assignments.

The program should check to see if the assignment files are in a sub-directory called ‘assignment’ the home directory of each student in the specified group.

If no file is present in the subdirectory, or if the subdirectory does not exist, the program should print the userid of that student in a file called ‘logfile’ in the home directory of the person running the program. Logfile should have a first line with the following text ‘ List of users with no assignment on ‘todays date and time’

If files are present they should be copied to a subdirectory called ‘assignments’ in the home directory of the person running the program.
Forum Sponsor