Well-Known Member
May 28, 2020
cPanel Access Level
Root Administrator
Hello i know it's a cpanel related forum.
but i want to ask a C related question because i am beginner and i want to create a auto installer tool in c so that i can compile that easily.
like some one run :
mycommand cpanel install
mycommand cpanel update
mycommand csf install

here mycommand is a C compiled file and cpanel and install are arguments.
if arguments is detected as cpanel then it read next argument which is install then it run cpanel install command.
if argument detected as cpanel update then it run /scripts/upcp command. and if argument detected as csf install then it install csf.

please someone can tell me how can i do this?


Jurassic Moderator
Staff member
Oct 19, 2014
cPanel Access Level
Root Administrator
Hey there! I moved this over to the development forum for some additional visibility for more uses that do dev work. I will say the cPanel installation does also perform an update by default, so you may not need that additional step, but that's about as useful as I can be with C programming questions ;)