77 375
Assignments Done
Successfully Done
In July 2019

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?
Expert's answer

Not answered

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!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions