Send a request to the URL "https://icanhazdadjoke.com/" and use the "cut" command to separate the response by periods, then use the "head" command to remove the last line of the response.
curl https://icanhazdadjoke.com/ | cut -d'.' -f1 | head -n-1