drop the verbose output on the command line, unless you are specifcially debugging.
Just put the line into a file. Make sure you set the executable flag (chmod 755 name-of-scriptfile) User commands get ran as root, so no need to use sudo. It's also good practice to put the required interpreter as the first line of the script file #!/bin/sh /home/tc/spbd-script piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) if you like the piCorePlayer ------------------------------------------------------------------------ paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858 View this thread: http://forums.slimdevices.com/showthread.php?t=110727 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix