Tags: Shell Scripting

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!