Thread: Shell Script.
View Single Post
  #2   (View Single Post)  
Old 10th July 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,319
Default

Quote:
Originally Posted by bsdnewbie999 View Post
How do I create a shell script that run the following command.?

Code:
mplayer -playlist r1live.ram
  • Place the following into a file:
    Code:
    #!/bin/sh
    
    mplayer -playlist r1live.ram
    Assume the filename is playlist. Also note that "#!/bin/sh" must begin on line 1, column 1.
  • Add executable rights to the file:

    $ chmod +x playlist
Reply With Quote