Category Archives: Scripts
This is a very small article that will help system admins to use ssh using PHP and do system admin work as demands. Before we go details, please take all of your necessary security measures before using the scripts and web site. Make sure the site is protected enough to allow only legitimate users to get the script’s access. Also make sure you are not allowing all kind of command to issue using the PHP scripts.
In our last episode of “Perl Scripting Tutorial for Beginners” we have talked about variables scoping, condition statements, iteration statements and most of the general purposes Perl operators. It was the continuation of the first part where we discussed about Perl’s basic syntax and variable types. In this article we will talk about basic File handling, Perl procedures/functions and Regular expression. And that will end the introductory articles. Let’s start!
Hi guys! Hope you’ve enjoyed our 1st article on Perl Scripting Tutorial for Beginners and waiting for the 2nd part. Here it goes. In Part-1 we have shared about some idea of what Perl is, how to run a Perl program, what’s the basic Perl syntax and the type of Perl variables. Today we will discuss about more on Perl’s variable and basic programming commands. Let’s start with Perl variable scoping.
In our recent article http://isystemadmin.com/list-of-popular-scripting-languages-for-linux-and-windows we have shared that Perl is one of the best and mostly used scripting language for any kind Unix or Linux operating system which also supports Windows platform. Now we want to start a new series of articles to teach our readers how to use Perl as a scripting language. This tutorial will target for beginners to moderate system administrators or Perl programmers. Remember this site never targets programming but only system administration. So, we will keep our discussion limit only for System Administrators; but that doesn’t mean Perl programmer will not be benefited. They will also get their portion of benefit from here. This is the “Part 1″ of the series and we don’t know how much long this series will be. In this part we will set the tone as an introductory article.
A System Administrator with the knowledge of scripting can create the differences with those who don’t know scripting. Scripting is the art performed by the artist known as “System Administrator”. It requires knowledge and understanding of the system itself, syntax with commands and of system administration, programming and algorithm knowledge and, obviously, at least one scripting language knowledge. There are many scripting options for system administrators. All of them have their own syntax and benefits over others. Few have similarities and few may look completely coming from outside of the earth. Scripting language can be used for system administration or for web development. Few are service side scripting and few are client side scripting. Client side scripting are mostly used to support browser to render the content and interact with the users. And server side script are mostly used for system administration or web service. We will focus on the scripting languages those are used for System Administration only. Let’s begin!
As we mentioned in our some-bash-secrets-for-system-admins article that bash is the most popular shell in *nix world. In that article we’ve shared few secrets to faster the day-to-day system admin tasks. We have seen the demand of scripting using bash or similar kind of shells. Scripting is something which makes a normal System Administrator to a ‘true System Administrator’. It enables the automation of day-t0-day activities and saves a lot of hours only by a single commands. In this article we will try to show you few tips and tricks of shell scripting, very basics though. If you want to be a master of shell scripting, these basics are the base to help you to reach the highest level. Let’s start!!
The Shell script is a script where we are writing different types of commands and executing those commands from a single file. We can execute that command manually, by entering command one by one. But if we use shell script we have to write those commands into a text file for the first time and then we can run those commands as many times as required.
In this article first I will show you, Complete Script. Later on, you will get a description of that script. I assumed that you know about shell scripting, mysqldump and crontab.
Operating System: Any Linux or UNIX.