Quote:
Originally Posted by Carpetsmoker
Maybe using an alias is simpler/faster, for example:
% alias mp 'mplayer -playlist r1live.ram'
|
I dont think it would be faster because everytime you start a new shell session, the shell have to read through the startup script file (perhaps alias file as well) again
Quote:
Originally Posted by ocicat
- 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
|
You can just put
mplayer -playlist r1live.ram
into the file playlist and do
bash/sh playlist
Im sure you recognize it raises a fairly serious security issue here