Tags » Shell Script

Save with Encoding in Visual Studio


This post shows how you can save files while retaining their encoding and line endings format. For example, if you’re writing a shell script that will be run on a UNIX operating system, the script is supposed to have line endings as… 144 more words


SSH Connection Manager in Linux - Perl Auto Connector

Hello everyone,

Recently I found an awesome piece of software that can save you tons of time if you connect to several hosts through SSH from Linux. 148 more words


Automating Manual Deployment

Who doesn’t love automating tasks, especially the tedious deployment tasks? And yes there are tons of tools to help you make your life easier, after all who needs manual deployment in the age of Continuous Delivery? 738 more words


Software Development in… Bash

Truly good ideas tend to apply in all situations. The phrase is “never run with scissors”, not “don’t run with scissors unless you are just going into the next room.” Software development methodology is a good idea and most of us have our choice of tools. 66 more words

Linux Hacks

How to Create a Shell Script?

What is Shell Script?
  • Shell scripts are short programs that are written in a shell programming language and interpreted by a shell process.
  • They are extremely useful for automating tasks on Linux and other Unix-like operating systems.
How To Create A Shell Script?


– You need 2 options 

if [ $# -ne 2 ]; then
echo “Num of input option is $# ” 1>&2
echo “Need 2 options” 1>&2… 24 more words

Shell Script