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

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!

Comments

No comments. Be first!

Leave a comment

Ask Your question

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS