I have a .sh script running, nvidia-bug-report.sh and it works. But I don't see it in my directory anywhere. How can I copy it to my usb? I do ls and it's not there. But if I just type nvidia-bug-report.sh in my terminal it runs.
do 'locate nvidia' and it will list all the nvidia* files on the system. Your script should be in the /usr/bin/nvidia-bug-report.sh. Now to copy it, just do 'cp /user/bin/nvidia-bug-report.sh /mnt/USB' where /mnt/USB is the location you mount your USB to.