Change or hide os and browser info

Hello pentesters,
curl ifconfig.me/u gives information about OS and browser -> Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.75 Safari/537.36
How to hide r change these info from finding them during pentest or hacking??

It is called User Agent :slight_smile: you can google it

I found only for browsers but what if i use the terminal?