Category Archives: Bash

Azure PowerShell: Deploy Linux Custom Script Extension

Here’s how you can deploy an Azure VM Extension via PowerShell: # Before running this, upload your bash script to an Azure storage account container, grab its name and key via PowerShell or the Azure portal   Login-AzureRmAccount   $Subscription … Continue reading

Posted in Azure, Bash, PowerShell | Leave a comment

DOS to Linux line endings in VIM

Switching between Windows and Linux machines every day, you’ll undoubtedly end up with files in the Linux system with DOS line endings. You can easily change the line endings in the editor VIM using the following commands: :w ++ff=dos :w … Continue reading

Posted in Bash, Linux | Leave a comment