If the difference was that in one case you typed:
./tmptube.sh and in another you typed: tmptube.sh
The response makes sense because your home directory is not in your PATH
variable by default. Notice what I wrote in step 7.
Check your PATH variable with: echo $PATH
Before changing your PATH variable, back it up first with:
echo $PATH >> old_path
Then you simply append the new directory:
PATH=$PATH:/home/yourName/bin
now type: echo $PATH
It should be the original path with your home bin directory added at the end.
If things get screwed up just restore the old path by cutting and pasting
the contents of the old_path file after PATH=
or type PATH=`cat old_path` (just make sure you use the right quote symbol,
it is the one next to the '1' key on most keyboards, so: ` NOT '
Or, just precede the command with ./ in the script
If you used the script I put in my OP then of course the video is deleted
after you exit vlc. The commands are executed sequentially. When one ends,
the next starts.
I don't know anything about the trash can.