Skip to main content

Thread: Where to place a custom script to run from console


where in file hierarchy should put script want access terminal @ times? in case, it's shell script, should place myscript.sh in /usr/bin directory? work users? if myscript.py instead, same procedure still apply? sorry numerous questions. thanks!

yes, put it. work users if give execute permissions. belieeve py script work same. sure include #!/usr/bin/python or #!/bin/bash line shell knows it.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] Where to place a custom script to run from console


Ubuntu

Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums