I'm able to successfully run the script below from a terminal in ubuntu 14.04. However, when I close the terminal the vlc process also terminates which I don't want. I've tried using "&" so that it runs in the background, but to no avail (script.sh &). Any suggestions on how to run the script below so that if the terminal is closed, the vlc process does not terminate? Any suggestions would be appreciated.
#!/bin/bash
vlc --extraintf telnet localhost 4212 --vlm-conf /home/test/Videos/temp.vlm