Smythotech
November 29th, 2012, 10:27 PM
Hey everyone,
I just got back into shell scripting and am just making a program for fun. I'm using the terminal in Ubuntu 12.10 and am making a shell script.
Now what I want to do is open a file that is the Documents directory. It's a video file that I want to pop up at the end of the script.
So how would i declare that in the script?
I was thinking something as simple as:
sudo open Sample.Avi /documents
But that didn't work. Any ideas, or is this even possible?
I just got back into shell scripting and am just making a program for fun. I'm using the terminal in Ubuntu 12.10 and am making a shell script.
Now what I want to do is open a file that is the Documents directory. It's a video file that I want to pop up at the end of the script.
So how would i declare that in the script?
I was thinking something as simple as:
sudo open Sample.Avi /documents
But that didn't work. Any ideas, or is this even possible?