Hi have this line of code in a C program that I must understand as a whole, I understand everything except for the line below. I have been looking into the documentation at it seems to me that it is just as if user introduced the ls
command in Ubuntu. However I am not sure about it and I do not know why there is a second ls
, the -l
option and the NULL
. Any help is very much appreciated!
execlp ("ls","ls","-l", NULL);