0

I am running a bunch of shell scripts on an Ubuntu server (as part of Azure DevOps Pipelines, on an Ubuntu AZ agent) and I was wondering whether it's possible to save the diagnostics logs I'm logging in the process.

In PowerShell, we do something like the following, and I'm trying to understand if I can do the same on the shell scripts.

Start-Transcript -Path validate_users.log -Append
Write-Host "I am doing something important"
Stop-Transcript
Selim Balci
  • 940
  • 2
  • 11
  • 26

0 Answers0