The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous and doesn't include command-line arguments. The data is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell. Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry**
How can I disable the telemetry from collecting data?
Try using this. This should disable the telemetry data collection.
export DOTNET_CLI_TELEMETRY_OPTOUT=1
Update: I agree with XPhyro. One can add this to the ~/.bash_profile as well.