![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| echo and then cp the missing files | tushar_tus | Shell Programming and Scripting | 3 | 11-16-2008 02:37 AM |
| echo missing files. | tushar_tus | Shell Programming and Scripting | 1 | 11-15-2008 08:13 AM |
| how to check missing files? | gholdbhurg | Shell Programming and Scripting | 7 | 04-28-2008 01:13 AM |
| Script to check and report database file sizes... | marconi | Shell Programming and Scripting | 2 | 04-02-2008 06:50 AM |
| files missing | cubicle^dweller | UNIX for Dummies Questions & Answers | 4 | 09-22-2003 04:10 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi,
I need a shell program that will prompt the user to input a dept name to the script. The script should then check a specific directory called ‘report’ in the home directory of each member of that dept. If the report directory does not exist, or there are no contents in the directory, that user's name should be stored in a file called ‘logfile’ in the current directory. The first line in logfile should contain a header ‘List of users with no reports on ‘today’s date and time’ ‘ Otherwise the contents of the directory should be copied to a sub directory called ‘reporting’ in the current directory. The script should repeat the process until all users in the dept have been checked. Thanks, Johnny Last edited by johnnyvlme; 11-19-2008 at 12:56 PM.. |
| Bookmarks |
| Tags |
| shell script, shell scripting, unix scripting, unix scripting basics |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|