#!/bin/bash cat <&3 udevadm info --export-db >$DIR/udev-database.txt echo "$DIR/udev-database.txt" >&3 echo "-- END ATTACHMENTS --" >&3