Please see this


Contents

- INDEX
- HP-UX Index
- Solaris
- Linux Index
- Other Unix types
- General Unix
- Unix Networking
- Unix Scripts
- Unix databases

Associated Information

- Unix Scripts Tips

Useful Links

- Bash shell HOWTO
- Bourne Shell Man Page
- C Shell Guide
- Korn Shell Resources

mx.sh

#!/usr/bin/ksh # Name: # Genlist # # Purpose: # To generate a list of files in the root volume group # # History: # # Date Author Comment # ====== ============== =============================================== # 990216 TD Created. # TMP=/tmp # Work directory # find filesystems in root volume group echo "Creating list of files in /dev/vg00" for i in `cat /etc/fstab | grep vg00 | \ awk '{ if ( substr($2,1,1) == "/" ) print $2 }'` do find $i -xdev >> $TMP/file1.$$ # find files not crossing mount points done #### END OF SCRIPT

Copyright 2000 Intronet Computers Ltd
Email: Intronet Computers for enquiries