hosting - How to Execute a cmd or sh file in the ssh -
i have got domain hosting , wondering how execute cmd or .sh
file.
i attempting make game server software requires me execute file. file managers rubbish , have nexus 7 can ftp. think missed let me know if need more information.
you must set executable permission .sh file in order execute in console.
first of not sure if execute cli ftp connection hosting.
you must connnect via ssh, cd directory .sh file is, change permission. if want execute file, , don't care code, give execute permission file user with: chmod 100 file.sh
execute ./file.sh
if want read code, chmod 500
, , if want full perms user chmod 700
make combination give or deny perms users in own group, or others.
Comments
Post a Comment