i want to compile a c program to run it in my command line.
but i am unable to do this i am facing many errors. main thing i want to do is running this command in linux like :
here mycommand is a C compiled file and yum upgrade are arguments. if it's detected argument yum then it will check next argument which is upgrade then it will execute a linux command yum update anybody can do this for me ?Code:mycommand yum upgrade