I am trying to print the path of the current directory using 
this
execl ("/bin/pwd", "pwd", NULL);
output:  /home/user/Ubuntu
and want to print a desired text before the current path.
for example:
          my name /home/user/ubntu
how this will be done?
#include <stdio.h>
#include <iostream>
#include <string.h>
#include <unistd.h>
#include <dirent.h>
using namespace std;
int main(){
    string command;
    while(command != "exit"){
    cout<< "B-17235"<<return execl ("/bin/pwd", "pwd", NULL);
    cin>> command;
}
return 0;
}