mplayer installed and I want to create a simple shell script that runs in
bash and executes
mplayer * in the current directory. So, how to call upon
mplayer in the shell script?
You should use
mplayer command in your script in the same way as you use it in terminal. For example:
#!/bin/bash # some bash code here cd /path/to/where/you/want/to/start/mplayer mplayer * # more bash code here