What is system() in linux
- by Satish Patel
I am an absolute beginner with Linux Operating system and just for fun in terminal I typed system() what happened next is as below:
satish@satish-Inspiron-N5010 ~ $ system()
>#include<iostream>
>int main()
bash: syntax error near unexpected token 'int'
satish@satish-Ispiron-N5010~ $
Here I want to know that what is system() ? what is it's role here? why I got error in int main() line? What can we do with C/C++ programming in terminal?