Usually personal scripts and programs are installed in
/usr/local/bin. You did right by creating it in gedit and saving it. I hope you saved it as
copy-raw-cd.sh instead of just ".sh".
The last thing you have to do is make it an executable script. You do that by
chmod +x copy-raw-cd.sh as the owner of the file (or as root). Then to execute it, you do like you did above:
Code:
/usr/local/bin/copy-raw-cd.sh /dev/dvd | md5sum
You might be able to just type
copy-raw-cd.sh /dev/dvd | md5sum, but I don't know if /usr/local/bin is in your path. Oh, and you'll probably have to run as root, but I'm not sure....