(s2)+1);//+1 for the null-terminator 21. //in real code you would check for errors in malloc here 22. strcpy(result, s1); 23. strcat(result, s2); 24. return result; 25. } 26. 27. void execute(char *user_input) 28. { 29. pid_t pid; 30. int state_loc; 31. if( (...