Answer to Question #471 in C++ for Hassan Wajahat

Question #471
#include <unistd.h>
int main()
{
execl("/bin/bash", NULL, NULL, NULL);

return 0;
}

This code opens the bash file in the background which thus can't be viewed. How can I bring it in the foreground so that it can be viewed?
0
Expert's answer

Answer in progress...

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS