Delete Azure Devops agent cache to clear disk space on Ubuntu

If your disk on Ubuntu is getting full due to large cache of Azure Devops agent cache then you can run the following command to delete the cache from there:

rm -r -f ./azure-pipelines-agent/_work/*

Above “./azure-pipelines-agent” is the path where Azure Devops agent was installed on Ubuntu. Replace it with your installed location to clear the disk space with the above command.