Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: technett
Forum: Bash / Shell Scripting Apr 26th, 2005, 1:38 PM
Replies: 2
Views: 337
Posted By technett
THank you for your help. I have gotten my script...

THank you for your help.
I have gotten my script to look like this:

#!/bin/bash
cd /home
for user in `ls`
do
cd "$user"/mail
for dir in `ls`
do
Forum: Bash / Shell Scripting Apr 26th, 2005, 10:08 AM
Replies: 2
Views: 337
Posted By technett
help writing script to read files names

Hi there,
I am trying to do somehting similar, but on a wider scale.
I am trying to write a script that would open the home directory, open the first (of 650) user's folder
open the ?mail directory,...
Showing results 1 to 2 of 2

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:27 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC