How do i get the output of a specific category to write on separate lines rather than in one line? For example, if I want to get the name of all the configuration profiles on the mobile devices it will display each device on the same line but i would like it on individual lines. Heres is what I have tried:
curl -H "Accept: application/xml" -su "username:password" https://your.jamf.pro.url:8443/JSSResource/mobiledeviceconfigurationprofiles" -H "accept: application/xml" | xmllint --xpath "/configuration_profiles/configuration_profile/name/text()" -
I'm pretty new working in shell and posting to the forum so I apologize if I didn't follow rules or post correctly. I appreciate any help that anyone can provide. Thank you.