Tags: Shell Scripting

Shell Scripting and Security

Basic ways you can use shell scripts to monitor password strength and secret accounts. Whether you have Linux running on your laptop or ancient PC file server or whether you're managing a data center, your system is also vulnerable to malicious users. I can't offer any sort of robust solution in...
Read 0 Comments

ShellCheck – A Tool That Shows Warnings and Suggestions for Shell Scripts

ShellCheck is a static analysis tool that shows warnings and suggestions concerning bad code in bash/sh shell scripts. It can be used in several ways: from the web by pasting your shell script in an online editor (Ace – a standalone code editor written in JavaScript) in https://www.shellcheck.net (...
Read 0 Comments

Shell Scripting: An Introduction to the Shift Method and Custom Functions

In Getting started with shell scripting, I covered the basics of shell scripting by creating a pretty handy "despacer" script to remove bothersome spaces from file names. Now I'll expand that idea to an application that can swap out other characters, too. This introduces the shift method of parsing...
Read 0 Comments

How To Enable Shell Script Debugging Mode in Linux

A script is simply a list of commands stored in a file. Instead of running a sequence of commands by typing them one by one all the time on the terminal, a system user can store all of them (commands) in a file and repeatedly invokes the file to re-execute the commands several times. While learning...
Read 0 Comments

ShellCheck: Code Check For Shell Scripts

Shell scripting is a must-have skill for DevOps. I used to be very very confident at Shell. But when I first tried ShellCheck , I realized that I'm just too proud and arrogant.ShellCheck is a powerful code analysis tool for shell scripts. Like Pylint for Python or Rubocop for Ruby. Give it a try!...
Read 0 Comments
Click Here!