Lint for Shell Scripters

It used to be one of the joys of writing embedded software was never having to deploy shell scripts. But now with platforms like the Raspberry Pi becoming very common, Linux shell scripts can be a big part of a system–even the whole system, in some cases. How do you know your shell script is error-free before you deploy it? Of course, nothing can catch all errors, but you might try ShellCheck.

When you compile a C program, the compiler usually catches most of your gross errors. The shell, though, doesn’t look at everything until it runs which means you …read more

Continue reading Lint for Shell Scripters

Lint for Shell Scripters

It used to be one of the joys of writing embedded software was never having to deploy shell scripts. But now with platforms like the Raspberry Pi becoming very common, Linux shell scripts can be a big part of a system–even the whole system, in some cases. How do you know your shell script is error-free before you deploy it? Of course, nothing can catch all errors, but you might try ShellCheck.

When you compile a C program, the compiler usually catches most of your gross errors. The shell, though, doesn’t look at everything until it runs which means you …read more

Continue reading Lint for Shell Scripters

PowerShell Problem Solver: Finding Empty Organizational Units in Active Directory

powershell-hero-img

PowerShell MVP Jeff Hicks demonstrates how to find and remove empty Active Directory organizational units with simple PowerShell scripts.

The post PowerShell Problem Solver: Finding Empty Organizational Units in Active Directory appeared first on Petri.

Continue reading PowerShell Problem Solver: Finding Empty Organizational Units in Active Directory