Skip to main content

Posts

Showing posts with the label Scripting

What is Linux Shell scripting ? and Why Shell Scripts?

What is Shell Script? Bunch of commands in a computer program which is run by the Unix Shell by the command line interpreter is called as Shell script. A shell script usually has comments that describe the steps. The different operations performed by shell scripts are program execution, file manipulation and text printing. A wrapper is also a kind of shell script that creates the program environment, runs the program etc. Shell scripts are reduces the efforts required by the end use. Follow below steps to create a shell script: Create a file   using  a  vi  editor (or any other editor).  Name script file with  extension .sh Start  the script with  #! /bin/sh Write some code. Save the script file as filename.sh For  executing  the script type  bash filename.sh Why Shell Scripts? As being set of Linux commands, a shell script can be used to achieve one or more ta...

Top Basic Power-Shell commands which are useful in daily basis

Top Basic Power-Shell commands which are useful in daily basis. Basic PowerShell commands knowledge is really necessary if you are using windows OS, before that let me guide you with some knowledge of PowerShell. What is PowerShell? Windows PowerShell is basically shell framework which is developed by Microsoft and the main purpose is for configuration management and task automation on administrator level. PowerShell is an open source project and it includes a command-line shell and a scripting language. PowerShell combines the speed of the command line with the flexibility of a scripting language, making it a valuable Windows administration tool. Below are the few basic commands you should have knowledge about it. Since last several years, Microsoft has been trying to make PowerShell the management tool of choice. As a Windows administrator, you should be familiar with the basics of using PowerShell. Get-Help The first PowerShell cmdlet every administrator...